Skip to content

Commit

Permalink
use docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
xrsrke committed Jan 23, 2024
1 parent 05aa557 commit 0010cfa
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/test_3d_parallelism.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,17 @@ on:
jobs:
tests:
runs-on: [multi-gpu, nvidia-gpu, 8-t4, ci]
container:
image: nvcr.io/nvidia/pytorch:23.03-py3
ports:
- 80
options: --gpus all --shm-size "8G"
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
# - name: Set up Python 3.10
# uses: actions/setup-python@v2
# with:
# python-version: '3.10'

- name: Python environment
run: |
Expand All @@ -40,11 +45,12 @@ jobs:
python -m pip install --upgrade pip
pip install packaging
pip install wheel
pip install torch
pip install "flash-attn>=2.4.2" --no-build-isolation
git clone [email protected]:huggingface/nanotron.git
cd nanotron
pip install -e .
pip install -e [dev]
pip install -e [test]
- name: Install test dependencies
run: |
Expand Down

0 comments on commit 0010cfa

Please sign in to comment.