Skip to content

Commit 9188ad5

Browse files
author
zhoujiamei
committed
use actions/checkout@v4
1 parent c9992f8 commit 9188ad5

1 file changed

Lines changed: 12 additions & 9 deletions

File tree

.github/workflows/unit_tests_common.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,12 @@ jobs:
9292
steps:
9393

9494

95-
# - name: Checkout source code
96-
# uses: actions/checkout@v4
97-
# with:
98-
# set-safe-directory: true
99-
# path: TransformerEngine-FL
95+
- name: Checkout source code
96+
uses: actions/checkout@v4
97+
with:
98+
repository: flagos-ai/TransformerEngine-FL
99+
path: TransformerEngine-FL
100+
submodules: recursive
100101

101102
- name: Create and Start Clean Container
102103
run: |
@@ -116,6 +117,8 @@ jobs:
116117
--device=/dev/mxcd \
117118
--device=/dev/infiniband \
118119
-v /nfs/metax_fs:/nfs/metax_fs \
120+
-v ${{ github.workspace }}/TransformerEngine-FL:/workspace/TransformerEngine-FL \
121+
-w /workspace/TransformerEngine-FL \
119122
${{ inputs.image }} \
120123
/bin/bash
121124
@@ -152,11 +155,11 @@ jobs:
152155
echo '===== 2. git clone ====='
153156
apt-get update
154157
apt-get install -y git
155-
#http1.1
156-
git config --global http.version HTTP/1.1
157-
git config --global http.postBuffer 524288000
158+
# #http1.1
159+
# git config --global http.version HTTP/1.1
160+
# git config --global http.postBuffer 524288000
158161
159-
git clone https://github.com/flagos-ai/TransformerEngine-FL.git
162+
# git clone https://github.com/flagos-ai/TransformerEngine-FL.git
160163
python3 -m pip install nvdlfw-inspect --no-deps || true
161164
python3 -m pip install --upgrade pip setuptools wheel --user
162165

0 commit comments

Comments
 (0)