Skip to content

Commit

Permalink
build: manually update PyTorch version
Browse files Browse the repository at this point in the history
Set PyTorch and TorchVision version to nightly release 2023-02-07.
Fixes llvm#1792.

Signed-Off By: Vivek Khandelwal <[email protected]>
  • Loading branch information
vivekkhandelwal1 authored and gpetters94 committed May 8, 2023
1 parent bd75785 commit 7bd1051
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions e2e_testing/xfail_sets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion pytorch-hash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0a73b08b9f262bdf8c429d96a2af7d0024c1fa73
1530b798ceeff749a7cc5833d9d9627778bd998a
4 changes: 2 additions & 2 deletions pytorch-requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7bd1051

Please sign in to comment.