mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-05-02 10:56:07 -05:00
feat: update advanced modules (09-20) with latest improvements
- Update spatial, tokenization, embeddings, attention modules - Update transformers, kv-caching, profiling modules - Update acceleration, quantization, compression modules - Update benchmarking and capstone modules - Align with current TinyTorch standards and patterns
This commit is contained in:
@@ -47,14 +47,12 @@ Let's make models 4× smaller!
|
||||
"""
|
||||
## 📦 Where This Code Lives in the Final Package
|
||||
|
||||
**Learning Side:** You work in modules/17_quantization/quantization_dev.py
|
||||
**Building Side:** Code exports to tinytorch.optimization.quantization
|
||||
**Learning Side:** You work in `modules/17_quantization/quantization_dev.py`
|
||||
**Building Side:** Code exports to `tinytorch.optimization.quantization`
|
||||
|
||||
```python
|
||||
# Final package structure:
|
||||
# How to use this module:
|
||||
from tinytorch.optimization.quantization import quantize_int8, QuantizedLinear, quantize_model
|
||||
from tinytorch.core.tensor import Tensor
|
||||
from tinytorch.core.layers import Linear
|
||||
```
|
||||
|
||||
**Why this matters:**
|
||||
|
||||
Reference in New Issue
Block a user