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
88d4c475d3
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.2.0.dev20231101 (#2538) torch version: 2.2.0.dev20231101 torch commit hash: e844d7ab047429425f117b1c566038713d2d7784 torchvision version: 0.17.0.dev20231101 Co-authored-by: Roll PyTorch Action <torch-mlir@users.noreply.github.com>
2023-11-01 23:17:40 +08:00
torch==2.2.0.dev20231101