Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements-jax-cuda.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ tf2onnx

# Torch cpu-only version (needed for testing).
--extra-index-url https://download.pytorch.org/whl/cpu
torch==2.8.0
torch==2.9.0+cpu

# Jax with cuda support.
--find-links https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
Expand Down
2 changes: 1 addition & 1 deletion requirements-tensorflow-cuda.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ tf2onnx

# Torch cpu-only version (needed for testing).
--extra-index-url https://download.pytorch.org/whl/cpu
torch==2.8.0
torch==2.9.0+cpu

# Jax cpu-only version (needed for testing).
jax[cpu]
Expand Down
2 changes: 1 addition & 1 deletion requirements-torch-cuda.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ tf2onnx
# Torch with cuda support.
# - torch is pinned to a version that is compatible with torch-xla.
--extra-index-url https://download.pytorch.org/whl/cu121
torch==2.8.0
torch==2.9.0
torch-xla==2.8.1;sys_platform != 'darwin'
Comment on lines +8 to 9
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

This change introduces a potential version incompatibility. torch-xla versions are tightly coupled with torch versions, and torch-xla==2.8.1 is designed for torch==2.8.x. Using it with torch==2.9.0 is likely to cause build or runtime errors.

The comment on line 6 (# - torch is pinned to a version that is compatible with torch-xla.) reinforces this concern.

Since a torch-xla version compatible with torch==2.9.0 does not appear to be publicly available yet, this torch version bump might be premature for the CUDA environment with XLA. It would be best to either update torch-xla to a compatible version if one is available, or revert the torch update in this file until a compatible torch-xla is released.


# Jax cpu-only version (needed for testing).
Expand Down