Skip to content

Commit 339d1f0

Browse files
committed
up
1 parent 10ff69f commit 339d1f0

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

backends/mlx/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,21 @@ backends/mlx/
113113
│ ├── hf_attention.py # HuggingFace custom SDPA attention
114114
│ ├── quantization.py # TorchAO quantization helpers
115115
│ └── source_transformation.py # Source transforms for MLX export
116+
├── _generated_inspector.py # [GENERATED] Inspector utilities for .pte debugging
117+
├── _logging.py # Debug logging utilities (ET_MLX_DEBUG)
118+
├── builder/ # Core build infrastructure
119+
│ ├── op_registry.py # REGISTRY (op handler registration)
120+
│ ├── op_helpers.py # Helper utilities for op handlers
121+
│ ├── pattern_matcher.py # Pattern matching for multi-node fusions
122+
│ ├── program_builder.py # MLXProgramBuilder
123+
│ └── slot_manager.py # Tensor/value slot allocation
116124
├── ops.py # Op handlers (ATen target → MLX IR node)
117125
├── patterns.py # Pattern handlers (multi-node fusions)
118126
├── passes.py # Graph passes (RMSNorm fusion, CSE, etc.)
119127
├── pattern_utils.py # Pattern matching utilities for passes
120-
├── program_builder.py # MLXProgramBuilder + REGISTRY
121128
├── partitioner.py # Decides which ops to delegate to MLX
122129
├── preprocess.py # BackendDetails.preprocess() entry point
123130
├── custom_ops.py # Custom torch ops (kv_cache_update, custom_sdpa, rope)
124-
├── _logging.py # Debug logging utilities (ET_MLX_DEBUG)
125131
├── pte_inspector.py # .pte file inspection/debugging tool
126132
├── test/
127133
│ ├── test_ops.py # Op test definitions (models + configs)

0 commit comments

Comments
 (0)