From 1c81cd93bf43f2ecfcfb6387afc1e833bf6833d6 Mon Sep 17 00:00:00 2001 From: jiahao su Date: Tue, 22 Oct 2024 10:34:13 +0800 Subject: [PATCH] Update deepspeed.yaml --- .github/workflows/deepspeed.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deepspeed.yaml b/.github/workflows/deepspeed.yaml index 78fcc08e6..8bbe4bd66 100644 --- a/.github/workflows/deepspeed.yaml +++ b/.github/workflows/deepspeed.yaml @@ -69,14 +69,14 @@ jobs: print(f"Device Available: {torch.npu.is_available()}") EOF - - name: Install transformers - run: | - source /root/.bashrc - echo "y" | apt-get install git - git clone https://github.com/huggingface/transformers - cd transformers - git rev-parse --short HEAD - pip install . -i https://pypi.tuna.tsinghua.edu.cn/simple + # - name: Install transformers + # run: | + # source /root/.bashrc + # echo "y" | apt-get install git + # git clone https://github.com/huggingface/transformers + # cd transformers + # git rev-parse --short HEAD + # pip install . - name: Install deepspeed run: | @@ -84,8 +84,8 @@ jobs: echo "y" | apt-get install git git clone --depth=1 https://github.com/microsoft/DeepSpeed.git cd DeepSpeed - pip install .[1bit,autotuning,inf] - pip install -r ../requirements/requirements_deepspeed.txt + pip install -r ../requirements/requirements_deepspeed.txt + pip install .[1bit,autotuning,inf] ds_report - name: Python environment