Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions .github/workflows/whl-build-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,28 +48,28 @@ jobs:
run: |
./build_scripts/build_wheel.sh python3.8
env:
CUDA_TAG: cu113
VERSION_CUDA_TAG: cu113
EXTRA_REQUIRES: nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99

- name: Build Python3.9 wheel
run: |
./build_scripts/build_wheel.sh python3.9
env:
CUDA_TAG: cu113
VERSION_CUDA_TAG: cu113
EXTRA_REQUIRES: nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99

- name: Build Python3.10 wheel
run: |
./build_scripts/build_wheel.sh python3.10
env:
CUDA_TAG: cu113
VERSION_CUDA_TAG: cu113
EXTRA_REQUIRES: nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99

- name: Build Python3.11 wheel
run: |
./build_scripts/build_wheel.sh python3.11
env:
CUDA_TAG: cu113
VERSION_CUDA_TAG: cu113
EXTRA_REQUIRES: nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99

- name: Upload wheels to S3
Expand Down Expand Up @@ -111,28 +111,28 @@ jobs:
run: |
./build_scripts/build_wheel.sh python3.8
env:
CUDA_TAG: cu116
VERSION_CUDA_TAG: cu116
EXTRA_REQUIRES: nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99

- name: Build Python3.9 wheel
run: |
./build_scripts/build_wheel.sh python3.9
env:
CUDA_TAG: cu116
VERSION_CUDA_TAG: cu116
EXTRA_REQUIRES: nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99

- name: Build Python3.10 wheel
run: |
./build_scripts/build_wheel.sh python3.10
env:
CUDA_TAG: cu116
VERSION_CUDA_TAG: cu116
EXTRA_REQUIRES: nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99

- name: Build Python3.11 wheel
run: |
./build_scripts/build_wheel.sh python3.11
env:
CUDA_TAG: cu116
VERSION_CUDA_TAG: cu116
EXTRA_REQUIRES: nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99

- name: Upload wheels to S3
Expand Down Expand Up @@ -174,28 +174,28 @@ jobs:
run: |
./build_scripts/build_wheel.sh python3.8
env:
CUDA_TAG: cu117
VERSION_CUDA_TAG: cu117
EXTRA_REQUIRES: nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99

- name: Build Python3.9 wheel
run: |
./build_scripts/build_wheel.sh python3.9
env:
CUDA_TAG: cu117
VERSION_CUDA_TAG: cu117
EXTRA_REQUIRES: nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99

- name: Build Python3.10 wheel
run: |
./build_scripts/build_wheel.sh python3.10
env:
CUDA_TAG: cu117
VERSION_CUDA_TAG: cu117
EXTRA_REQUIRES: nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99

- name: Build Python3.11 wheel
run: |
./build_scripts/build_wheel.sh python3.11
env:
CUDA_TAG: cu117
VERSION_CUDA_TAG: cu117
EXTRA_REQUIRES: nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99

- name: Upload wheels to S3
Expand Down Expand Up @@ -237,28 +237,28 @@ jobs:
run: |
./build_scripts/build_wheel.sh python3.8
env:
CUDA_TAG: cu118
VERSION_CUDA_TAG: cu118
EXTRA_REQUIRES: nvidia-cuda-cupti-cu11==11.8.87,nvidia-cuda-runtime-cu11==11.8.89

- name: Build Python3.9 wheel
run: |
./build_scripts/build_wheel.sh python3.9
env:
CUDA_TAG: cu118
VERSION_CUDA_TAG: cu118
EXTRA_REQUIRES: nvidia-cuda-cupti-cu11==11.8.87,nvidia-cuda-runtime-cu11==11.8.89

- name: Build Python3.10 wheel
run: |
./build_scripts/build_wheel.sh python3.10
env:
CUDA_TAG: cu118
VERSION_CUDA_TAG: cu118
EXTRA_REQUIRES: nvidia-cuda-cupti-cu11==11.8.87,nvidia-cuda-runtime-cu11==11.8.89

- name: Build Python3.11 wheel
run: |
./build_scripts/build_wheel.sh python3.11
env:
CUDA_TAG: cu118
VERSION_CUDA_TAG: cu118
EXTRA_REQUIRES: nvidia-cuda-cupti-cu11==11.8.87,nvidia-cuda-runtime-cu11==11.8.89

- name: Upload wheels to S3
Expand Down Expand Up @@ -300,25 +300,25 @@ jobs:
run: |
./build_scripts/build_wheel.sh python3.8
env:
CUDA_TAG: cu121
VERSION_CUDA_TAG: cu121

- name: Build Python3.9 wheel
run: |
./build_scripts/build_wheel.sh python3.9
env:
CUDA_TAG: cu121
VERSION_CUDA_TAG: cu121

- name: Build Python3.10 wheel
run: |
./build_scripts/build_wheel.sh python3.10
env:
CUDA_TAG: cu121
VERSION_CUDA_TAG: cu121

- name: Build Python3.11 wheel
run: |
./build_scripts/build_wheel.sh python3.11
env:
CUDA_TAG: cu121
VERSION_CUDA_TAG: cu121

- name: Upload wheels to S3
run: |
Expand Down
8 changes: 4 additions & 4 deletions analyzer/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
We define two additional environment arguments during build to include dependencies for
different versions of CUDA we're targeting.

1. CUDA_TAG : This follows the "version number". For example, if version="1.0" and CUDA_TAG =cu121, then the
1. VERSION_CUDA_TAG : This follows the "version number". For example, if version="1.0" and VERSION_CUDA_TAG =cu121, then the
version we pass into setuptools.setup would be "1.0+cu121"

2. EXTRA_REQUIRES: Depends on the CUDA version, we need additional pip libraries to provide CUPTI (among other things).
Expand All @@ -44,8 +44,8 @@
"incremental"
]

CUDA_TAG = os.getenv("CUDA_TAG", default="")
if CUDA_TAG : CUDA_TAG = "+" + CUDA_TAG
VERSION_CUDA_TAG = os.getenv("VERSION_CUDA_TAG", default="")
if VERSION_CUDA_TAG : VERSION_CUDA_TAG = "+" + VERSION_CUDA_TAG
EXTRA_REQUIRES = os.getenv("EXTRA_REQUIRES", default="nvidia-cuda-cupti-cu12,nvidia-cuda-runtime-cu12").split(",")

PACKAGE_DATA = {
Expand Down Expand Up @@ -149,7 +149,7 @@ def find_meta(meta):
if __name__ == "__main__":
setup(
name=NAME,
version=VERSION + CUDA_TAG ,
version=VERSION + VERSION_CUDA_TAG ,
description=find_meta("description"),
license=find_meta("license"),
author=find_meta("author"),
Expand Down