Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
flash-attention
Commits
1848d000
"vscode:/vscode.git/clone" did not exist on "dff5ff35a9be8f2809134d08e7e41711cb9f34ed"
Commit
1848d000
authored
Jun 03, 2023
by
Pierce Freeman
Browse files
Exclude cuda erroring builds
parent
84009fcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
23 deletions
+27
-23
.github/workflows/publish.yml
.github/workflows/publish.yml
+27
-23
No files found.
.github/workflows/publish.yml
View file @
1848d000
...
@@ -57,6 +57,10 @@ jobs:
...
@@ -57,6 +57,10 @@ jobs:
# 1.13.0 drops support for cuda 11.3
# 1.13.0 drops support for cuda 11.3
-
cuda-version
:
'
113'
-
cuda-version
:
'
113'
torch-version
:
'
1.13.0'
torch-version
:
'
1.13.0'
# Fails with "Validation Error" on artifact upload
-
cuda-version
:
'
117'
torch-version
:
'
1.13.0'
os
:
ubuntu-20.04
steps
:
steps
:
-
name
:
Checkout
-
name
:
Checkout
...
@@ -144,32 +148,32 @@ jobs:
...
@@ -144,32 +148,32 @@ jobs:
asset_name
:
${{env.wheel_name}}
asset_name
:
${{env.wheel_name}}
asset_content_type
:
application/*
asset_content_type
:
application/*
#
publish_package:
publish_package
:
#
name: Publish package
name
:
Publish package
#
needs: [build_wheels]
needs
:
[
build_wheels
]
#
runs-on: ubuntu-latest
runs-on
:
ubuntu-latest
#
steps:
steps
:
#
- uses: actions/checkout@v3
-
uses
:
actions/checkout@v3
#
- uses: actions/setup-python@v4
-
uses
:
actions/setup-python@v4
#
with:
with
:
#
python-version: '3.10'
python-version
:
'
3.10'
#
- name: Install dependencies
-
name
:
Install dependencies
#
run: |
run
:
|
#
pip install ninja packaging setuptools wheel twine
pip install ninja packaging setuptools wheel twine
#
- name: Build core package
-
name
:
Build core package
#
env:
env
:
#
FLASH_ATTENTION_SKIP_CUDA_BUILD: "TRUE"
FLASH_ATTENTION_SKIP_CUDA_BUILD
:
"
TRUE"
#
run: |
run
:
|
#
python setup.py sdist --dist-dir=dist
python setup.py sdist --dist-dir=dist
#
- name: Deploy
-
name
:
Deploy
#
env:
env
:
#
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_USERNAME
:
${{ secrets.PYPI_USERNAME }}
#
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
TWINE_PASSWORD
:
${{ secrets.PYPI_TOKEN }}
#
run: |
run
:
|
#
python -m twine upload dist/*
python -m twine upload dist/*
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment