Skip to content

Commit 5888757

Browse files
authored
Fix FSDP venv creation (#720)
* Fix FSDP venv creation Close #717 * Fix venv path
1 parent ab9112a commit 5888757

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/fsdp-regression-test-venv.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ jobs:
5252
- name: Create virtual environment
5353
working-directory: ${{ env.FSDP_DIR }}
5454
run: |
55-
bash slurm/create_venv.sh
55+
cd slurm && bash ./create_venv.sh
5656
echo "Virtual environment created successfully!"
5757
5858
- name: Run regression test
5959
id: run_test
6060
working-directory: ${{ env.FSDP_DIR }}
6161
run: |
62-
source env/bin/activate
62+
source slurm/env/bin/activate
6363
SBATCH_FILE="slurm/${{ matrix.model_config }}-training.sbatch"
6464
TMP_SBATCH="slurm/regression_test_${{ matrix.model_config }}.sbatch"
6565

0 commit comments

Comments
 (0)