-
Notifications
You must be signed in to change notification settings - Fork 293
Update requirements-jax-cuda.txt #2252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
de1eee6
95e84d4
a2020ef
4c29130
f0fa3af
8fb5249
b00b3cc
0b09e45
55d7f92
e8feea9
78acc4b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,15 +16,16 @@ fi | |
set -x | ||
cd "${KOKORO_ROOT}/" | ||
|
||
PYTHON_BINARY="/usr/bin/python3.9" | ||
PYTHON_BINARY="/usr/bin/python3.10" | ||
|
||
"${PYTHON_BINARY}" -m venv venv | ||
source venv/bin/activate | ||
# Check the python version | ||
python --version | ||
python3 --version | ||
|
||
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64:" | ||
# setting the LD_LIBRARY_PATH manually is causing segmentation fault | ||
# export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64:" | ||
Comment on lines
-27
to
+28
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this the sole cause of the segmentation error? If yes, should we go without updating the JAX version? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updating jax causes installation of cuda drivers, and this was causing old cuda to be used. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. good to update the JAX version! |
||
# Check cuda | ||
nvidia-smi | ||
nvcc --version | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we do this because JAX 0.6 is not there with Python 3.9? And does this mean we won't support 3.9 going forward?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may continue using it, but for testing we can use 3.10
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah the new jax version will need python to be upgraded