File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,10 @@ sudo apt-get install -y pandoc
2121
2222# Install PyTorch Nightly for test.
2323# Nightly - pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu102/torch_nightly.html
24- # Install 2.4 to merge all 2.4 PRs - uncomment to install nightly binaries (update the version as needed).
25- # pip uninstall -y torch torchvision torchaudio torchtext torchdata
26- # pip3 install torch==2.4.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu124
24+ # Install 2.5 to merge all 2.4 PRs - uncomment to install nightly binaries (update the version as needed).
25+ pip uninstall -y torch torchvision torchaudio torchtext torchdata
26+ pip3 install torch==2.5.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu124
27+ pip3 install fbgemm-gpu==1.0.0 torchrec==1.0.0 --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu124
2728
2829# Install two language tokenizers for Translation with TorchText tutorial
2930python -m spacy download en_core_web_sm
Original file line number Diff line number Diff line change 33============================================================================
44
55**Author:** `Animesh Jain <https://github.com/anijain2305>`_
6+
67As deep learning models get larger, the compilation time of these models also
78increases. This extended compilation time can result in a large startup time in
89inference services or wasted resources in large-scale training. This recipe
2324
2425 pip install torch
2526
26- .. note::
27+ .. note::
2728 This feature is available starting with the 2.5 release. If you are using version 2.4,
2829 you can enable the configuration flag ``torch._dynamo.config.inline_inbuilt_nn_modules=True``
2930 to prevent recompilations during regional compilation. In version 2.5, this flag is enabled by default.
You can’t perform that action at this time.
0 commit comments