diff --git a/docker/Dockerfile.ubuntu b/docker/Dockerfile.ubuntu index 2a7f96d8..71a6f8b1 100644 --- a/docker/Dockerfile.ubuntu +++ b/docker/Dockerfile.ubuntu @@ -65,7 +65,7 @@ RUN sh /tmp/install.sh {version_args} && \ cd / && rm -fr /tmp/modelscope && pip cache purge; \ cd /tmp && GIT_LFS_SKIP_SMUDGE=1 git clone -b {swift_branch} --single-branch https://github.com/modelscope/ms-swift.git && \ cd ms-swift && pip install .[llm] && \ - pip install .[eval] && pip install evalscope -U --no-dependencies && pip install xtuner --no-dependencies && \ + pip install .[eval] && pip install evalscope -U --no-dependencies && pip install ms-agent -U --no-dependencies && \ cd / && rm -fr /tmp/ms-swift && pip cache purge; \ pip install --no-cache-dir torch=={torch_version} torchvision=={torchvision_version} torchaudio=={torchaudio_version} {index_url} && \ pip install --no-cache-dir transformers diffusers timm>=0.9.0 && pip cache purge; \ @@ -90,7 +90,7 @@ fi # install nvm and set node version to 18 ENV NVM_DIR=/root/.nvm -RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash && \ +RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash && \ . $NVM_DIR/nvm.sh && \ nvm install 22 && \ nvm use 22 diff --git a/requirements/hub.txt b/requirements/hub.txt index d1967439..2b98c05c 100644 --- a/requirements/hub.txt +++ b/requirements/hub.txt @@ -1,5 +1,5 @@ +filelock requests>=2.25 setuptools tqdm>=4.64.0 urllib3>=1.26 -filelock