mirror of https://github.com/llvm/torch-mlir
CI: install `unzip` before using it (#1893)
The RollPyTorch action needs the `unzip` command to peek into WHL files for fetching metadata. This patch makes sure that the command is installed before referencing it.pull/1894/head snapshot-20230220.755
parent
38ed559398
commit
268364e061
|
@ -36,6 +36,7 @@ jobs:
|
|||
|
||||
cd ${GITHUB_WORKSPACE}
|
||||
python -m pip install wheel
|
||||
sudo apt-get install unzip
|
||||
|
||||
# Fetch the most recent nightly torchvision release
|
||||
VISION_RELEASE=$(python -m pip index versions -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html --pre torchvision | grep "Available versions" | tr ' ' '\n' | grep "^[0-9]" | sort --version-sort --reverse | head -n1 | tr -d ',' | sed 's/\([^+]*\).*/\1/')
|
||||
|
|
Loading…
Reference in New Issue