This website requires JavaScript.
Explore
Help
Register
Sign In
llvm
/
torch-mlir
mirror of
https://github.com/llvm/torch-mlir
Watch
1
Star
0
Fork
You've already forked torch-mlir
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
dd5992514d
torch-mlir
/
pytorch-requirements.txt
4 lines
98 B
Plaintext
Raw
Normal View
History
Unescape
Escape
build: create RollPyTorch to update PyTorch version in Torch-MLIR (#1419) This patch fetches the most recent nightly (binary) build of PyTorch, before pinning it in pytorch-requirements.txt, which is referenced in the top-level requirements.txt file. This way, end users will continue to be able to run `pip -r requirements.txt` without worrying whether doing so will break their Torch-MLIR build. This patch also fetches the git commit hash that corresponds to the nightly release, and this hash is passed to the out-of-tree build so that it can build PyTorch from source. If we were to sort the torch versions as numbers (in the usual descending order), then 1.9 appears before 1.13. To fix this problem, we use the `--version-sort` flag (along with `--reverse` for specifying a descending order). We also filter out lines that don't contain version numbers by only considering lines that start with a digit. As a matter of slight clarity, this patch renames the variable `torch_from_src` to `torch_from_bin`, since that variable is initialized to `TM_USE_PYTORCH_BINARY`. Co-authored-by: powderluv <powderluv@users.noreply.github.com>
2022-09-29 04:38:30 +08:00
-f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
--pre
update PyTorch version to 2.1.0.dev20230612 (#2229) - torch version: 2.1.0.dev20230612 - torch commit hash: 8aee9489c907eeae8af1b6df6962f3a4414c984a - torchvision version: 0.16.0.dev20230612 Co-authored-by: Roll PyTorch Action <torch-mlir@users.noreply.github.com>
2023-06-12 22:40:35 +08:00
torch==2.1.0.dev20230612