From 6d1c9f014ed58d29d2b8ee17840d117aeb3d613e Mon Sep 17 00:00:00 2001 From: Vivek Khandelwal Date: Wed, 8 Feb 2023 10:55:11 +0530 Subject: [PATCH] build: manually update PyTorch version Set PyTorch and TorchVision version to nightly release 2023-02-07. Fixes https://github.com/llvm/torch-mlir/issues/1792. Signed-Off By: Vivek Khandelwal --- e2e_testing/xfail_sets.py | 2 -- pytorch-hash.txt | 2 +- pytorch-requirements.txt | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/e2e_testing/xfail_sets.py b/e2e_testing/xfail_sets.py index 41f490dc45aa..94d476394ceb 100644 --- a/e2e_testing/xfail_sets.py +++ b/e2e_testing/xfail_sets.py @@ -86,8 +86,6 @@ # error: unsupported by backend contract: tensor with unknown rank # note: see current operation: %1 = "torch.tensor_static_info_cast"(%arg0) : (!torch.vtensor<[5,4,3,2,1],f32>) -> !torch.vtensor<*,f32> "ElementwisePreluModule_basic", - # error: op lowering missing. Issue: https://github.com/llvm/torch-mlir/issues/1792 - "StdCorrectionKeepDimModule_basic", #ERROR: value (Tensor with shape=[2, 3, 6, 10], dtype=torch.float32, min=-1.336e-32, max=+0.9152, mean=+0.4837) is not close to golden value (Tensor with shape=[2, 3, 6, 10], dtype=torch.float32, min=+0.02233, max=+0.9152, mean=+0.4777) "UpSampleNearest2dDynamicFactor_basic", diff --git a/pytorch-hash.txt b/pytorch-hash.txt index c2c6fbc583e7..236f88d5c3c0 100644 --- a/pytorch-hash.txt +++ b/pytorch-hash.txt @@ -1 +1 @@ -0a73b08b9f262bdf8c429d96a2af7d0024c1fa73 +1530b798ceeff749a7cc5833d9d9627778bd998a diff --git a/pytorch-requirements.txt b/pytorch-requirements.txt index 487f5f2a96ad..26a0f52d80d7 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==2.0.0.dev20230206 -torchvision==0.15.0.dev20230206 +torch==2.0.0.dev20230207 +torchvision==0.15.0.dev20230207