-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove conda copying from the deployment stage. * Add extra utilities and help on sorting yaml requirements files. * Remove deprecated Caffe2 build flags. * Fix comments concerning the build process. * Update PyTorch default versions to v2.0.0 and TorchVision to 0.15.1. * Update ruff version. * Update build requirements for PyTorch 2.x even though this is a breaking change. The README was updated to mention this. * Remove FFMPEG flags from the TorchVision build process. * Add SymPy as a PyTorch runtime dependency. * Make deployment stage build target configurable. * Add documentation on how to specify build target stages and how to get the wheel files. * Reformat code. * Updated deployment MKL version to 2023. Installing from pip still does not work. * Change train build settings to compile build tests to match the train and deployment build configurations by default. * Fix formatting.
- Loading branch information
1 parent
7568722
commit 34d5f8b
Showing
9 changed files
with
67 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,29 @@ | ||
# PyTorch 2.x build-time dependencies. Do not use for PyTorch 1.x compilation. | ||
|
||
# Do not edit this file (including comments) unless absolutely necessary. | ||
# Editing this file will invalidate the Docker build cache for all build layers. | ||
# Specify package versions if necessary for the build. | ||
# Also, do not add MKL or related packages in this file. | ||
astunparse | ||
autoconf | ||
ccache | ||
cffi | ||
cmake | ||
ffmpeg # Remove this if TorchVision fails to compile. | ||
future | ||
expecttest | ||
filelock | ||
fsspec | ||
git # Needed to get the `git` commit hash, etc. | ||
hypothesis | ||
jemalloc | ||
jinja2 | ||
libjpeg-turbo | ||
libpng | ||
lld | ||
networkx | ||
ninja | ||
numpy | ||
# pillow # Not necessary as Pillow-SIMD is used. | ||
pkgconfig | ||
psutil | ||
pyyaml | ||
requests | ||
rsync | ||
setuptools # ==59.5.0 # For older PyTorch versions that use `distutils.version`. | ||
six | ||
typing_extensions | ||
setuptools | ||
sympy | ||
types-dataclasses | ||
typing-extensions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Lower the MKL version to mkl==2021.4.0 if PyTorch cannot find `libmkl_intel_lp64.so.1`. | ||
# Raise the MKL version to mkl==2022.x.x if PyTorch cannot find `libmkl_intel_lp64.so.2`. | ||
# The MKL major version (year) used to build PyTorch must match the version to run it. | ||
# Include the appropriate version of the `mkl` package manually if `MKL_MODE=include`. | ||
mkl==2022.1.0 | ||
tqdm==4.64.0 | ||
# Lower the MKL version to mkl==2021.4.0 if PyTorch cannot find `libmkl_intel_lp64.so.1`. | ||
# Raise the MKL version to mkl==2022.x.x if PyTorch cannot find `libmkl_intel_lp64.so.2`. | ||
mkl==2023.0.0 | ||
tqdm==4.65.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters