forked from nv-morpheus/Morpheus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to PyTorch 1.12 (nv-morpheus#523)
- Update to PyTorch 1.12. - Latest PyTorch is v1.13 but is built for CUDA 11.6/11.7. Morpheus and RAPIDS officially support up to CUDA 11.5. - Fixes errors seen in training scripts/notebooks when using large batch sizes. - Updates `dfencoder` from `22.09` to `22.11` - Updated `phishing` and `root cause` inference scripts to move `cudf` imports before `torch` imports. Allows to get past this error which also occurs with PyTorch 1.10: ``` Traceback (most recent call last): File "root-cause-inference.py", line 33, in <module> import cudf File "/opt/conda/envs/morpheus/lib/python3.8/site-packages/cudf/__init__.py", line 5, in <module> validate_setup() File "/opt/conda/envs/morpheus/lib/python3.8/site-packages/cudf/utils/gpu_utils.py", line 18, in validate_setup from cuda.cudart import cudaDeviceAttr, cudaError_t ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /opt/conda/envs/morpheus/lib/python3.8/site-packages/cuda/cudart.cpython-38-x86_64-linux-gnu.so) ```` Close nv-morpheus#491 Authors: - Eli Fajardo (https://github.com/efajardo-nv) Approvers: - Michael Demoret (https://github.com/mdemoret-nv) URL: nv-morpheus#523
- Loading branch information
1 parent
7635d87
commit d3c54ff
Showing
6 changed files
with
20 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ matplotlib==3.4.2 | |
numpy==1.22.0 | ||
pandas==1.0.1 | ||
scikit_learn==1.0.2 | ||
torch==1.7.1 | ||
torch==1.12.0+cu113 |
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