Skip to content

Commit 8d8815d

Browse files
Disty0vladmandic
authored andcommitted
Lock tensordict to 0.2.1
1 parent 8e708e7 commit 8d8815d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

installer.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -461,11 +461,11 @@ def check_torch():
461461
install(os.environ.get('MKL_PACKAGE', 'mkl==2024.0.0'), 'mkl')
462462
install(os.environ.get('DPCPP_PACKAGE', 'mkl-dpcpp==2024.0.0'), 'mkl-dpcpp')
463463
else:
464-
if sys.version_info[1] == 11:
464+
if sys.version_info.minor == 11:
465465
pytorch_pip = 'https://github.com/Nuullll/intel-extension-for-pytorch/releases/download/v2.1.10%2Bxpu/torch-2.1.0a0+cxx11.abi-cp311-cp311-win_amd64.whl'
466466
torchvision_pip = 'https://github.com/Nuullll/intel-extension-for-pytorch/releases/download/v2.1.10%2Bxpu/torchvision-0.16.0a0+cxx11.abi-cp311-cp311-win_amd64.whl'
467467
ipex_pip = 'https://github.com/Nuullll/intel-extension-for-pytorch/releases/download/v2.1.10%2Bxpu/intel_extension_for_pytorch-2.1.10+xpu-cp311-cp311-win_amd64.whl'
468-
elif sys.version_info[1] == 10:
468+
elif sys.version_info.minor == 10:
469469
pytorch_pip = 'https://github.com/Nuullll/intel-extension-for-pytorch/releases/download/v2.1.10%2Bxpu/torch-2.1.0a0+cxx11.abi-cp310-cp310-win_amd64.whl'
470470
torchvision_pip = 'https://github.com/Nuullll/intel-extension-for-pytorch/releases/download/v2.1.10%2Bxpu/torchvision-0.16.0a0+cxx11.abi-cp310-cp310-win_amd64.whl'
471471
ipex_pip = 'https://github.com/Nuullll/intel-extension-for-pytorch/releases/download/v2.1.10%2Bxpu/intel_extension_for_pytorch-2.1.10+xpu-cp310-cp310-win_amd64.whl'

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ rich
3434
safetensors
3535
scipy
3636
tb_nightly
37-
tensordict
37+
tensordict==0.2.1
3838
toml
3939
torchdiffeq
4040
voluptuous

0 commit comments

Comments
 (0)