build: manually update PyTorch version (#3666)

Set PyTorch and TorchVision version to nightly release 2024-08-25.

Signed-Off By: Vivek Khandelwal <vivekkhandelwal1424@gmail.com>
pull/3675/head
Vivek Khandelwal 2024-08-27 21:58:30 +05:30 committed by GitHub
parent 6eba5bc9ee
commit b92e61832f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 4 deletions

View File

@ -505,6 +505,8 @@ FX_IMPORTER_XFAIL_SET = {
"ViewCollapseDynamicWithAtenSizeIntModule_basic",
"ViewSizeFromOtherTensor_basic",
"WeightNormInterfaceModule_basic",
"ScaledDotProductAttentionDifferentModule_basic",
"ScaledDotProductAttentionSameModule_basic",
}
FX_IMPORTER_CRASHING_SET = LINALG_CRASHING_SET | {
@ -2105,7 +2107,6 @@ MAKE_FX_TOSA_PASS_SET = (
"ViewSizeDimLedAndFollowedByCollapsedOnesModule_basic",
"ViewSizeDimLedByCollapsedOnesModule_basic",
"ViewSizeFromOtherTensor_basic",
"ScaledDotProductAttentionDifferentModule_basic",
"RenormModuleFloat32NegativeDim_basic",
"RenormModuleFloat32_basic",
}
@ -2148,6 +2149,11 @@ MAKE_FX_TOSA_PASS_SET = (
"AdaptiveAvgPool2dFixedKernelStrideSizeStaticModule_basic",
}
if torch_version_for_comparison() < version.parse("2.5.0.dev"):
MAKE_FX_TOSA_PASS_SET = MAKE_FX_TOSA_PASS_SET | {
"ScaledDotProductAttentionDifferentModule_basic",
}
LTC_CRASHING_SET = {
# TODO: update test to move all inputs to the lazy device. Otherwise test fails with:
# Check failed: lazy_tensor Input tensor is not a lazy tensor: CPUBoolType.

View File

@ -1 +1 @@
748db193d71a1c29471a87c7841da6a5a0a0dbae
aa1fc68d51488dab6cf353464ea320e2a0db18f8

View File

@ -1,3 +1,3 @@
-f https://download.pytorch.org/whl/nightly/cpu/torch/
--pre
torch==2.5.0.dev20240818
torch==2.5.0.dev20240825

View File

@ -1,3 +1,3 @@
-f https://download.pytorch.org/whl/nightly/cpu/torchvision/
--pre
torchvision==0.20.0.dev20240818
torchvision==0.20.0.dev20240825