Skip to content

Commit

Permalink
[ci] Update download-artifact
Browse files Browse the repository at this point in the history
ghstack-source-id: 3204616cecd297f658bda0cf31e82ba0edf491c6
Pull Request resolved: fairinternal/xformers#1215

__original_commit__ = fairinternal/xformers@adc8664
  • Loading branch information
danthe3rd authored and xFormers Bot committed Sep 11, 2024
1 parent 6f3b9db commit 0dd19df
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ jobs:
echo "Attempt $i"
anaconda upload --user xformers --label ${XFORMERS_CONDA_TAG} packages/* && break
done
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: linux-py${{ matrix.python }}-torch${{ matrix.config.torch_version }}
name: linux-py${{ matrix.python }}-torch${{ matrix.config.torch_version }}-cu${{ matrix.config.cuda_short_version }}
path: packages
# Note: it might be helpful to have additional steps that test if the built wheels actually work
2 changes: 1 addition & 1 deletion .github/workflows/wheels_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
PLAT_ARG: ${{ contains(inputs.os, 'ubuntu') && '--plat-name manylinux_2_28_x86_64' || '' }}

- run: du -h dist/*
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ inputs.os }}-py${{ inputs.python }}-torch${{ inputs.torch_version }}+${{ contains(inputs.toolkit_type, 'cuda') && 'cu' || 'rocm' }}${{ inputs.toolkit_short_version }}_${{ inputs.artifact_tag }}
path: dist/*.whl
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels_upload_pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
echo "${{ inputs.pypirc }}" > ~/.pypirc
cat ~/.pypirc
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: dist

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels_upload_s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
sudo rm -rf /usr/local/lib/android || true
sudo rm -rf /usr/share/dotnet || true
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: dist
# Filter builds (eg vN+cu118 for instance)
Expand Down

0 comments on commit 0dd19df

Please sign in to comment.