mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-05-01 18:36:14 -05:00
Simplify module.yaml and enhance export command with real export targets
- Remove redundant fields from module.yaml files: exports_to, files, components - Keep only essential system metadata: name, title, description, dependencies - Export command now reads actual export targets from dev files (#| default_exp directive) - Status command updated to use dev files as source of truth for export targets - Export command shows detailed source → target mapping for better clarity - Dependencies field retained as it's useful for CLI module ordering and prerequisites - Eliminates duplication between YAML and dev files - dev files are the real truth
This commit is contained in:
@@ -2,25 +2,10 @@
|
||||
# Essential system information for CLI tools and build systems
|
||||
|
||||
name: "setup"
|
||||
title: "Setup"
|
||||
description: "Development environment setup and project configuration"
|
||||
title: "Setup & Environment"
|
||||
description: "Development environment setup and basic TinyTorch functionality"
|
||||
|
||||
# Dependencies
|
||||
# Dependencies - Used by CLI for module ordering and prerequisites
|
||||
dependencies:
|
||||
prerequisites: []
|
||||
enables: ["tensor", "activations", "layers"]
|
||||
|
||||
# Package Export
|
||||
exports_to: "tinytorch.core.utils"
|
||||
|
||||
# File Structure
|
||||
files:
|
||||
dev_file: "setup_dev.py"
|
||||
test_file: "tests/test_setup.py"
|
||||
readme: "README.md"
|
||||
|
||||
# Components
|
||||
components:
|
||||
- "hello_tinytorch"
|
||||
- "environment_check"
|
||||
- "project_structure"
|
||||
enables: ["tensor", "activations", "layers"]
|
||||
Reference in New Issue
Block a user