# CMU 10-423/623/723 生成式 AI 讲义代码的依赖（全部在 CPU 上运行，不需要 GPU）
# 第 1 讲 01_ngram_lm.py、第 3 讲 04_tokenization.py 只用 Python 标准库（Python 3.9 及以上）；其余脚本需要 numpy 和 torch。
numpy>=1.24
torch>=2.1        # CPU 版即可：pip install torch --index-url https://download.pytorch.org/whl/cpu
torchvision>=0.16 # 只有第 5 讲 02_cnn_architectures.py 用到：构造 AlexNet / VGG / ResNet 的结构来数参数（不下载权重）
