Skip to content

Commit

Permalink
Removed unused env variables and format
Browse files Browse the repository at this point in the history
  • Loading branch information
Sathwik Yanamaddi committed May 8, 2024
1 parent f3a5dfc commit 88176e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/nvidia-rtx-3090-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ jobs:
ginter: [ 1, 2 ]
memopt: [ '0', '1' ]

env:
SLURM_NTASKS: 0
SLURM_PROCID: 0

steps:
- uses: actions/checkout@v3
- name: Install AxoNN
Expand All @@ -44,10 +40,6 @@ jobs:
intra-layer:
runs-on: [ nvidia ]

env:
SLURM_NTASKS: 0
SLURM_PROCID: 0

steps:
- uses: actions/checkout@v3
- name: Install AxoNN
Expand Down
2 changes: 1 addition & 1 deletion axonn/axonn.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def init(
if device == "cpu":
assert (
G_intra_d == 1
), "G_intra_d > 1: Intra_d uses reduce-scatters which gloo for cpus doesn't support"
), "G_intra_d > 1: Intra_d uses reduce-scatters which gloo(cpu) doesn't support"

if mixed_precision:
computation_dtype = torch.float16
Expand Down

0 comments on commit 88176e9

Please sign in to comment.