mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-07-10 11:22:07 -05:00
TinyTorch educational deep learning framework now lives at tinytorch/
Structure:
- tinytorch/src/ - Source modules (single source of truth)
- tinytorch/tito/ - CLI tool
- tinytorch/tests/ - Test suite
- tinytorch/site/ - Jupyter Book website
- tinytorch/milestones/ - Historical ML implementations
- tinytorch/datasets/ - Educational datasets (tinydigits, tinytalks)
- tinytorch/assignments/ - NBGrader assignments
- tinytorch/instructor/ - Teaching materials
Workflows (with tinytorch- prefix):
- tinytorch-ci.yml - CI/CD pipeline
- tinytorch-publish-dev.yml - Dev site deployment
- tinytorch-publish-live.yml - Live site deployment
- tinytorch-build-pdf.yml - PDF generation
- tinytorch-release-check.yml - Release validation
Repository Variables added:
- TINYTORCH_ROOT = tinytorch
- TINYTORCH_SRC = tinytorch/src
- TINYTORCH_SITE = tinytorch/site
- TINYTORCH_TESTS = tinytorch/tests
All workflows use \${{ vars.TINYTORCH_* }} for path configuration.
Note: tinytorch/site/_static/favicon.svg kept as SVG (valid for favicons)
25 lines
696 B
Python
25 lines
696 B
Python
#!/usr/bin/env python3
|
|
"""
|
|
Integration tests for Module 16: Quantization
|
|
Tests INT8 quantization, dequantization, and quantized operations
|
|
"""
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
sys.path.insert(0, str(Path(__file__).parent.parent.parent))
|
|
|
|
def test_quantization_integration():
|
|
"""Test quantization system integration."""
|
|
# TODO: Implement integration tests
|
|
# - Test INT8 quantization of tensors
|
|
# - Test dequantization
|
|
# - Test quantized operations (matmul, etc.)
|
|
# - Test memory savings
|
|
# - Test accuracy preservation
|
|
pass
|
|
|
|
if __name__ == "__main__":
|
|
test_quantization_integration()
|
|
print("✅ Quantization integration tests (pending implementation)")
|
|
|