From c69bbe2c71f2c2162b4ce1f189a29bd6cae9df87 Mon Sep 17 00:00:00 2001 From: hotwa Date: Fri, 21 Jun 2024 11:58:41 +0800 Subject: [PATCH] remove cmake --- finetune/Dockerfile.conda1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/finetune/Dockerfile.conda1 b/finetune/Dockerfile.conda1 index 6c01445..2ac311b 100644 --- a/finetune/Dockerfile.conda1 +++ b/finetune/Dockerfile.conda1 @@ -15,11 +15,11 @@ apt-get install -y wget curl htop jq vim bash libaio-dev build-essential openssh apt-get install -y --no-install-recommends software-properties-common build-essential autotools-dev nfs-common pdsh cmake g++ gcc curl wget vim tmux emacs less unzip htop iftop iotop ca-certificates openssh-client openssh-server rsync iputils-ping net-tools sudo llvm-dev re2c add-apt-repository ppa:git-core/ppa -y apt-get install -y git libnuma-dev wget -# install latest cmake -wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc | sudo apt-key add - -sudo apt-add-repository "deb https://apt.kitware.com/ubuntu/ $(lsb_release -cs) main" -sudo apt-get update -sudo apt-get install -y cmake +# # install latest cmake +# wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc | sudo apt-key add - +# sudo apt-add-repository "deb https://apt.kitware.com/ubuntu/ $(lsb_release -cs) main" +# sudo apt-get update +# sudo apt-get install -y cmake # Configure SSH for password and public key authentication sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config @@ -118,7 +118,7 @@ python3 -m pip install --no-cache-dir ./transformers[deepspeed-testing] # # (https://www.deepspeed.ai/tutorials/advanced-install/#pre-install-deepspeed-ops) python3 -m pip uninstall -y torch torchvision torchaudio # # install pytorch create conda env aleay exists -conda install cmake ninja +conda install -y cmake ninja git clone --recursive https://github.com/pytorch/pytorch ${STAGE_DIR}/pytorch cd ${STAGE_DIR}/pytorch git submodule sync