File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 runner :
1414 description : ' AMD runner to run workflow on'
1515 required : true
16- default : " amdgpu-mi300-x86-64 "
16+ default : " mia1-p02-g29 "
1717 type : string
1818 requirements :
1919 description : ' Contents for a requirements.txt file'
@@ -45,34 +45,14 @@ jobs:
4545 # Now write to file (won't be logged since it's masked)
4646 echo "$PAYLOAD" > payload.json
4747
48- - name : Set venv directory based on runner
49- run : |
50- if [[ "${{ github.event.inputs.runner }}" == "amdgpu-mi250-x86-64" ]]; then
51- echo "VENV_DIR=/groups/aig_sharks/pytorch_venv" >> $GITHUB_ENV
52- fi
53-
54- - name : Setup Virtual Environment and Install Dependencies
48+ - name : Install kernelbot
5549 shell : bash
5650 run : |
57- if [[ "${{ github.event.inputs.runner }}" == "amdgpu-mi250-x86-64" ]]; then
58- python -m venv ${VENV_DIR}
59- source ${VENV_DIR}/bin/activate
60- fi
61- pip install --upgrade pip
62- if [[ -n "${{ github.event.inputs.requirements }}" ]]; then
63- cat > "requirements.txt" <<'EOL'
64- ${{ github.event.inputs.requirements }}
65- EOL
66- pip install -r "requirements.txt"
67- fi
6851 pip install -e .
6952
7053 - name : Run script
7154 shell : bash
7255 run : |
73- if [[ "${{ github.event.inputs.runner }}" == "amdgpu-mi250-x86-64" ]]; then
74- source ${VENV_DIR}/bin/activate
75- fi
7656 python3 src/runners/github-runner.py
7757
7858 - name : Upload training artifacts
You can’t perform that action at this time.
0 commit comments