-
Notifications
You must be signed in to change notification settings - Fork 155
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
torchdata not compatible with torch 2.3.0 #1244
Comments
dnanuti
pushed a commit
to awslabs/s3-connector-for-pytorch
that referenced
this issue
Apr 30, 2024
dnanuti
pushed a commit
to awslabs/s3-connector-for-pytorch
that referenced
this issue
Apr 30, 2024
dnanuti
added a commit
to awslabs/s3-connector-for-pytorch
that referenced
this issue
May 1, 2024
…press One Zone integration. (#206) * Update examples with Lightning integration, AWS credentials and S3 Express One Zone integration. * Restrict torch version to be different than 2.3.0 due to: pytorch/data#1244 * Align multiple parameters
I encountered the same issue. Is there any ETA to merge the fix into torch 2.3? |
We'd also need this as soon as feasible for rolling out pytorch 2.3 support in conda-forge. |
This is duplicate of pytorch/pytorch#124907 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 Describe the bug
Describe the bug
torchdata
does not work with torch 2.3.0 becauseDILL_AVAILABLE
is not available where expected:This was fixed in pytorch/pytorch#122616 but the fix did not make it into the torch 2.3.0 release
https://github.com/pytorch/pytorch/blob/v2.3.0/torch/utils/data/datapipes/utils/common.py
I would assume 2.3.1 will be ok because the fix is in
main
. For now though, a clean install oftorchdata
is broken.I would recommend adding a
torch>=2,!=2.3.0
to setup.pyTo Reproduce
pip install torchdata
import torchdata
Expected behavior
successful import
Environment
fresh install
Versions
Collecting environment information...
PyTorch version: 2.3.0
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A
OS: macOS 14.4.1 (arm64)
GCC version: Could not collect
Clang version: 15.0.0 (clang-1500.3.9.4)
CMake version: version 3.27.1
Libc version: N/A
Python version: 3.12.2 (main, Feb 6 2024, 20:19:44) [Clang 15.0.0 (clang-1500.1.0.2.5)] (64-bit runtime)
Python platform: macOS-14.4.1-arm64-arm-64bit
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Apple M1 Max
Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] torch==2.3.0
[pip3] torchdata==0.7.1
[conda] Could not collect
The text was updated successfully, but these errors were encountered: