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
e3d876af42
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
Revert PyTorch rolls to green version (#2053) This reverts commit 0bf31ae614cd387cc3bd5b33f87e61e39aa62113. This reverts commit f7a1a076fa58af56fae0493b152e902a0971065f. The last two PyTorch rolls have PyTorch versions that don't currently work on MacOS. This commit reverts to a PyTorch version that does work.
2023-04-25 05:17:34 +08:00
torch==2.1.0.dev20230422