mirror of https://github.com/llvm/torch-mlir
Relax the need for only CPU versions of PyTorch (#1505)
* Relax the need for only CPU versions of PyTorch This allows installing corresponding PyTorch CUDA / ROCM versions and using torch-mlir. * Remove obsolete commentspull/1524/head
parent
470a2f62f3
commit
3f883802e8
6
setup.py
6
setup.py
|
@ -155,11 +155,7 @@ setup(
|
||||||
],
|
],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"numpy",
|
"numpy",
|
||||||
# To avoid issues with drift for each nightly build, we pin to the
|
f"torch=={torch.__version__}".split("+", 1)[0],
|
||||||
# exact version we built against.
|
|
||||||
# TODO: This includes the +cpu specifier which is overly
|
|
||||||
# restrictive and a bit unfortunate.
|
|
||||||
f"torch=={torch.__version__}",
|
|
||||||
],
|
],
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue