Skip to content

Commit

Permalink
fVDB PYTHONPATH test fix
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Swartz <[email protected]>
  • Loading branch information
swahtz committed Sep 18, 2024
1 parent 9afae37 commit 7876c8a
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/fvdb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Unset PYTHONPATH
run: |
unset PYTHONPATH
- name: Set up fvdb_build Conda env
uses: conda-incubator/setup-miniconda@v3
with:
Expand All @@ -77,7 +81,6 @@ jobs:

- name: Buid fvdb
run: |
conda activate fvdb_build &&
cd fvdb &&
TORCH_CUDA_ARCH_LIST="7.0;7.5;8.0;8.6+PTX" MAX_JOBS=$(($(nproc) < $(free -g | awk '/^Mem:/{jobs=int($7/2.5); if(jobs<1) jobs=1; print jobs}') ? $(nproc) : $(free -g | awk '/^Mem:/{jobs=int($7/2.5); if(jobs<1) jobs=1; print jobs}'))) python setup.py bdist_wheel --dist-dir=dist &&
tree
Expand Down Expand Up @@ -109,6 +112,11 @@ jobs:
shell: bash -el {0}
steps:
- uses: actions/checkout@v4

- name: Unset PYTHONPATH
run: |
unset PYTHONPATH
- name: Set up fvdb_test Conda env
uses: conda-incubator/setup-miniconda@v3
with:
Expand Down Expand Up @@ -153,6 +161,11 @@ jobs:
shell: bash -el {0}
steps:
- uses: actions/checkout@v4

- name: Unset PYTHONPATH
run: |
unset PYTHONPATH
- name: Set up fvdb_test Conda env
uses: conda-incubator/setup-miniconda@v3
with:
Expand Down

0 comments on commit 7876c8a

Please sign in to comment.