[NPU] fix CI (#26390)
This commit is contained in:
@@ -57,7 +57,6 @@ dependencies = [
|
|||||||
"tiktoken",
|
"tiktoken",
|
||||||
"timm==1.0.16",
|
"timm==1.0.16",
|
||||||
"torchao==0.9.0",
|
"torchao==0.9.0",
|
||||||
"torchaudio==2.8.0",
|
|
||||||
"tqdm",
|
"tqdm",
|
||||||
"mistral_common>=1.11.0",
|
"mistral_common>=1.11.0",
|
||||||
"transformers==5.8.1",
|
"transformers==5.8.1",
|
||||||
|
|||||||
@@ -57,7 +57,8 @@ if [ -n "$OPTIONAL_DEPS" ]; then
|
|||||||
else
|
else
|
||||||
PYTORCH_VERSION="2.8.0"
|
PYTORCH_VERSION="2.8.0"
|
||||||
TORCHVISION_VERSION="0.23.0"
|
TORCHVISION_VERSION="0.23.0"
|
||||||
${UV_PIP_INSTALL} torch==${PYTORCH_VERSION} torchvision==${TORCHVISION_VERSION} --index-url ${TORCH_CACHE_URL:="https://download.pytorch.org/whl/cpu"} --extra-index-url ${PYPI_CACHE_URL:="https://pypi.org/simple/"}
|
TORCHAUDIO_VERSION="2.8.0"
|
||||||
|
${UV_PIP_INSTALL} torch==${PYTORCH_VERSION} torchvision==${TORCHVISION_VERSION} torchaudio==${TORCHAUDIO_VERSION} --index-url ${TORCH_CACHE_URL:="https://download.pytorch.org/whl/cpu"} --extra-index-url ${PYPI_CACHE_URL:="https://pypi.org/simple/"}
|
||||||
PTA_URL="https://gitcode.com/Ascend/pytorch/releases/download/v7.3.0-pytorch2.8.0/torch_npu-2.8.0.post2-cp311-cp311-manylinux_2_28_aarch64.whl"
|
PTA_URL="https://gitcode.com/Ascend/pytorch/releases/download/v7.3.0-pytorch2.8.0/torch_npu-2.8.0.post2-cp311-cp311-manylinux_2_28_aarch64.whl"
|
||||||
${PIP_INSTALL} ${PTA_URL}
|
${PIP_INSTALL} ${PTA_URL}
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user