Add build support for RISCV (#160172)

In requirements.txt, do not install lintrunner on riscv64

Fixes #160170

Pull Request resolved: https://github.com/pytorch/pytorch/pull/160172
Approved by: https://github.com/malfet
This commit is contained in:
zhaoguoan
2025-08-18 05:29:34 +00:00
committed by PyTorch MergeBot
parent 3c6efd1380
commit d8d589bd3a

View File

@ -10,7 +10,7 @@ filelock
fsspec>=0.8.5
hypothesis
jinja2
lintrunner ; platform_machine != "s390x"
lintrunner ; platform_machine != "s390x" and platform_machine != "riscv64"
networkx>=2.5.1
optree>=0.13.0
psutil