"vscode:/vscode.git/clone" did not exist on "27777ee172ad48555efd67bd5be2a172eb658ce9"
Unverified Commit 36873ec8 authored by Tim Moon's avatar Tim Moon Committed by GitHub
Browse files

Stop creating pip wheels in GitHub build tests (#315)



* Stop creating pip wheels in GitHub build tests
Signed-off-by: default avatarTim Moon <tmoon@nvidia.com>

* Revert to 23.03 container in GitHub build tests
Signed-off-by: default avatarTim Moon <tmoon@nvidia.com>

---------
Signed-off-by: default avatarTim Moon <tmoon@nvidia.com>
Co-authored-by: default avatarKirthi Shankar Sivamani <ksivamani@nvidia.com>
parent f351191b
...@@ -20,17 +20,10 @@ jobs: ...@@ -20,17 +20,10 @@ jobs:
with: with:
submodules: recursive submodules: recursive
- name: 'Build' - name: 'Build'
run: | run: pip install . -v
mkdir -p wheelhouse && \ env:
NVTE_FRAMEWORK=pytorch MAX_JOBS=1 pip wheel -w wheelhouse . -v NVTE_FRAMEWORK: pytorch
- name: 'Upload wheel' MAX_JOBS: 1
uses: actions/upload-artifact@v3
with:
name: te_wheel_pyt
path: wheelhouse/transformer_engine*.whl
retention-days: 7
- name: 'Install'
run: pip install --no-cache-dir wheelhouse/transformer_engine*.whl
- name: 'Sanity check' - name: 'Sanity check'
run: python tests/pytorch/test_sanity_import.py run: python tests/pytorch/test_sanity_import.py
jax: jax:
...@@ -48,16 +41,9 @@ jobs: ...@@ -48,16 +41,9 @@ jobs:
- name: 'Build' - name: 'Build'
run: | run: |
pip install --upgrade "jax[cuda12_local]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html && \ pip install --upgrade "jax[cuda12_local]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html && \
mkdir -p wheelhouse && \ pip install . -v
NVTE_FRAMEWORK=jax pip wheel -w wheelhouse . -v env:
- name: 'Upload wheel' NVTE_FRAMEWORK: jax
uses: actions/upload-artifact@v3
with:
name: te_wheel_jax
path: wheelhouse/transformer_engine*.whl
retention-days: 7
- name: 'Install'
run: pip install --no-cache-dir wheelhouse/transformer_engine*.whl
- name: 'Sanity check' - name: 'Sanity check'
run: python tests/jax/test_sanity_import.py run: python tests/jax/test_sanity_import.py
tensorflow: tensorflow:
...@@ -72,16 +58,8 @@ jobs: ...@@ -72,16 +58,8 @@ jobs:
with: with:
submodules: recursive submodules: recursive
- name: 'Build' - name: 'Build'
run: | run: pip install . -v
mkdir -p wheelhouse && \ env:
NVTE_FRAMEWORK=tensorflow pip wheel -w wheelhouse . -v NVTE_FRAMEWORK: tensorflow
- name: 'Upload wheel'
uses: actions/upload-artifact@v3
with:
name: te_wheel_tf
path: wheelhouse/transformer_engine*.whl
retention-days: 7
- name: 'Install'
run: pip install --no-cache-dir wheelhouse/transformer_engine*.whl
- name: 'Sanity check' - name: 'Sanity check'
run: python tests/tensorflow/test_sanity_import.py run: python tests/tensorflow/test_sanity_import.py
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment