mirror of https://github.com/llvm/torch-mlir
a980130676
Without `--no-build-isolation` pip invokes `setup.py` in fresh environment, which doesn't have `torch` installed. But `setup.py` does `import torch` to check PyTorch version, so the build crashes. At the same time the script creates a disposable virtual environment with all required dependencies specifically to run wheel build. Note that Linux package build also runs with this option. |
||
---|---|---|
.. | ||
ci | ||
cmake | ||
docker | ||
python_deploy | ||
autogen_ltc_backend.py | ||
autogen_ltc_backend.yaml | ||
build_libtorch.sh | ||
build_python_wheels.sh | ||
build_standalone.sh | ||
e2eshark_build.sh | ||
scrape_releases.py | ||
update_abstract_interp_lib.sh | ||
update_torch_ods.sh | ||
write_env_file.sh |