From 143a8f378d8d35c0ea81c521c07db2a03be411a1 Mon Sep 17 00:00:00 2001 From: Vivek Khandelwal Date: Fri, 9 Dec 2022 19:29:46 +0530 Subject: [PATCH] build: manually update PyTorch version Set PyTorch and TorchVision version to nightly release 2022-12-11. Signed-Off By: Vivek Khandelwal --- e2e_testing/xfail_sets.py | 62 ++++++++++++++++++++++++++++++++++++--- pytorch-hash.txt | 2 +- pytorch-requirements.txt | 4 +-- 3 files changed, 61 insertions(+), 7 deletions(-) diff --git a/e2e_testing/xfail_sets.py b/e2e_testing/xfail_sets.py index 5336581bd..80ad37f6d 100644 --- a/e2e_testing/xfail_sets.py +++ b/e2e_testing/xfail_sets.py @@ -61,10 +61,6 @@ TORCHDYNAMO_XFAIL_SET = { # RuntimeError: Failed running call_function aten.uniform(... # https://github.com/pytorch/torchdynamo/issues/1954 "UniformNoCorrelationModule_basic", - # Decomposition assertion: - # assert device is not None or dtype is not None or memory_format is not None - # https://github.com/pytorch/pytorch/issues/89633 - "ToCopyModule_basic", # TypeError: expected np.ndarray (got float) # TODO: This is due to returning a scalar float as output from the test. # We should probably just standardize all tests to return tensors. @@ -106,6 +102,34 @@ TORCHDYNAMO_XFAIL_SET = { "UniformModule_basic", # error: failed to materialize conversion for result #0 of operation 'torch.aten.t' that remained live after conversion "TModuleRank1_basic", + # error: + "BatchMlpLayerModule_basic", + "BatchNorm1DModule_basic", + "BatchNorm1DWith2DInputModule_basic", + "BatchNorm2DModule_basic", + "BatchNorm3DModule_basic", + "Conv2dBiasNoPaddingModule_basic", + "Conv2dNoPaddingModule_basic", + "Conv2dWithPaddingDilationStrideModule_basic", + "Conv2dWithPaddingDilationStrideStaticModule_basic", + "Conv2dWithPaddingModule_basic", + "EmbeddingModule1DIndices_basic", + "EmbeddingModuleI32Static_basic", + "EmbeddingModuleI32_basic", + "EmbeddingModuleI64_basic", + "HBC_basic", + "LayerNormLastDimModule_basic", + "LayerNormModule_basic", + "LayerNormNormalizeOverAllDimsModule_basic", + "Mlp1LayerModule_basic", + "Mlp2LayerModuleNoBias_basic", + "Mlp2LayerModule_basic", + "MobilenetV3Module_basic", + "ResNet18Module_basic", + "ResNet18StaticModule_basic", + "SliceEndSleStartModule_basic", + "SliceOutOfUpperBoundIndexModule_basic", + "SliceStartEqEndModule_basic", } MHLO_PASS_SET = { @@ -757,4 +781,34 @@ LTC_XFAIL_SET = { "CopyWithDifferentDTypesAndSizesModule_basic", "CopyWithDifferentDTypesModule_basic", "CopyWithDifferentSizesModule_basic", + "Conv2dNoPaddingModule_basic", + "Conv2dWithPaddingDilationStrideModule_basic", + "Conv2dWithPaddingDilationStrideStaticModule_basic", + "Conv2dWithPaddingModule_basic", + "Conv_Transpose2dModule_basic", + "Convolution2DModule_basic", + "Convolution2DStaticModule_basic", + "Convolution2DStridedModule_basic", + "ConvolutionModule2DGroups_basic", + "ConvolutionModule2DTransposeStridedStatic_basic", + "ConvolutionModule2DTransposeStrided_basic", + "ConvolutionModule2DTranspose_basic", + "ElementwiseClampModule_basic", + "IouOfModule_basic", + "MobilenetV3Module_basic", + "NativeBatchNormNoneWeightModule_basic", + "NllLossModuleBackward1DMean_basic", + "NllLossModuleBackward1DSum_basic", + "NllLossModuleBackward1D_basic", + "NllLossModuleBackwardMean_basic", + "NllLossModuleBackwardSum_basic", + "NllLossModuleBackward_basic", + "NllLossModuleBackward_ignore_index", + "NllLossModule_1D_basic", + "NllLossModule_basic", + "NllLossModule_ignore_index_out_of_bounds_basic", + "NllLossModule_mean_basic", + "NllLossModule_sum_basic", + "ResNet18Module_basic", + "ResNet18StaticModule_basic", } diff --git a/pytorch-hash.txt b/pytorch-hash.txt index 0e202bcda..d375eeb76 100644 --- a/pytorch-hash.txt +++ b/pytorch-hash.txt @@ -1 +1 @@ -ba7543762bcbc5a823076af15a8ff41e0f14c113 +e22058171813aa6ab05f8550c91c268da7c715d7 diff --git a/pytorch-requirements.txt b/pytorch-requirements.txt index 681f1a25c..bfc286b17 100644 --- a/pytorch-requirements.txt +++ b/pytorch-requirements.txt @@ -1,4 +1,4 @@ -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html --pre -torch==1.14.0.dev20221205 -torchvision==0.15.0.dev20221205 +torch==2.0.0.dev20221211 +torchvision==0.15.0.dev20221211