Skip to content

Commit

Permalink
Rollback all unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lockshaw committed Jan 30, 2025
1 parent d10c3eb commit 9fa4c33
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 35 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/helpers/free_space_on_runner_gpu.sh

This file was deleted.

20 changes: 1 addition & 19 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,28 +79,10 @@ jobs:
with:
submodules: recursive

# - name: remove the module system
# run: |
# rm /etc/profile.d/modules.sh

- name: mount ephemeral drive to nix
run: |
sudo mkdir $HOME/_work/nix && sudo mkdir /nix && sudo mount --bind $HOME/_work/nix /nix
# Note that this step is not only necessary to make space for the nix-provided
# dependencies, but also to prevent contention between the nix-provided nccl and the
# system-provided ones in the DL AMI
- name: free additional space on runner
run: ./.github/workflows/helpers/free_space_on_runner_gpu.sh

- name: run nvidia-smi
run: |
nvidia-smi
- name: show disk usage
run: |
du --all --human-readable --threshold 1G .[^.]* /* || true
- name: install nix
uses: cachix/install-nix-action@v25
with:
Expand All @@ -113,7 +95,7 @@ jobs:
# authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'

- name: setup nix develop shell
uses: lockshaw/nix-develop@116f24a2996eb68cfadddb5657b4b923e5f69ec5
uses: nicknovitski/nix-develop@v1.1.0
env:
NIXPKGS_ALLOW_UNFREE: 1
with:
Expand Down
4 changes: 2 additions & 2 deletions .proj.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ test_targets = [
]

[cmake_flags_extra]
FF_CUDA_ARCH = "75"
CMAKE_CUDA_ARCHITECTURES = "75"
FF_CUDA_ARCH = "60"
CMAKE_CUDA_ARCHITECTURES = "60"

0 comments on commit 9fa4c33

Please sign in to comment.