[npu] update cann base image and torch 2.4 (#7061)

* Update base npu container image version:The Python version required for Hugging Face Transformers is >= python3.10

* Fix the bug: arg type of INSTALL_DEEPSPEED shoud been string now.

* Update Ascend CANN, CANN-Kernel and corresponding torch and torch-npu version

* Upgrade torch-npu needs packages' version: torch==2.1.0 and torch-npu==2.4.0.post2
This commit is contained in:
leo-pony
2025-02-25 23:32:01 +08:00
committed by GitHub
parent 96fd510e6a
commit acc52e0fe7
4 changed files with 11 additions and 11 deletions

View File

@@ -4,7 +4,7 @@ services:
dockerfile: ./docker/docker-npu/Dockerfile
context: ../..
args:
INSTALL_DEEPSPEED: false
INSTALL_DEEPSPEED: "false"
PIP_INDEX: https://pypi.org/simple
container_name: llamafactory
volumes: