借助 PyTorch 探索有趣之事。
需要安装 torch-book 包:
pip install torch-bookconda create -n ai python=3.14
conda activate ai
pip install -e .[doc,dev]安装 PyTorch GPU 版本(其他版本见 PyTorch 安装指南):
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu130pip install .[doc]
inv doc.clean
inv doc