mirror of https://github.com/llvm/torch-mlir
805d728194
This patch updates the build_linux_packages.sh script so that when PyTorch needs to be built from source, it is built _before_ building LLVM and before building Torch-MLIR. The rationale behind this change is that previously, when the PyTorch build was triggered through the Torch-MLIR build, the PyTorch compilation added more entries to the ccache artifacts. However, since we cache the PyTorch _binary_ (i.e. the WHL file), there is no need to add the PyTorch compilation to the ccache artifacts. By removing the PyTorch compilation files, we keep the ccache artifact size small, thus reducing the number of evictions when we exceed GitHub's allowed limit. |
||
---|---|---|
.. | ||
docker | ||
python_deploy | ||
autogen_ltc_backend.py | ||
autogen_ltc_backend.yaml | ||
build_libtorch.sh | ||
build_python_wheels.sh | ||
build_standalone.sh | ||
scrape_releases.py | ||
update_shape_lib.sh | ||
update_torch_ods.sh | ||
write_env_file.sh |