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
193 changes: 2 additions & 191 deletions .github/workflows/whl-build-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
create-habitat-index-html:
needs: [whl-build-cu113, whl-build-cu116, whl-build-cu117, whl-build-cu118, whl-build-cu121]
needs: [whl-build-cu118, whl-build-cu121]
runs-on: [self-hosted]
steps:
- name: Configure AWS Credentials
Expand All @@ -17,201 +17,12 @@ jobs:

- name: Create index.html
run: |
python3 /home/builduser/create_index.py habitat -f wheels-cu113 wheels-cu116 wheels-cu117 wheels-cu118 wheels-cu121
python3 /home/builduser/create_index.py habitat -f wheels-cu118 wheels-cu121

- name: Upload to S3
run: |
aws s3 cp index.html s3://centml-releases/habitat/

whl-build-cu113:
runs-on: [self-hosted, cu113]
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.HABITAT_AWS_ACCESS_KEY }}
aws-region: ${{ secrets.HABITAT_AWS_REGION }}
aws-secret-access-key: ${{ secrets.HABITAT_AWS_SECRET_ACCESS_KEY }}

- name: Display host information
run: |
uname -a
hostname
pwd
id
ls -la

- name: Fetch repository
uses: actions/checkout@v4

- name: Build Python3.8 wheel
run: |
./build_scripts/build_wheel.sh python3.8
env:
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:
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:
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:
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
run: |
aws s3 cp analyzer/dist/ s3://centml-releases/habitat/wheels-cu113/ --recursive --exclude "*" --include "*.whl"

- name: Create index.html
run: |
file_list=(analyzer/dist/*.whl)
formatted_file_list=$(basename -a ${file_list[@]})
python3 /home/builduser/create_index.py habitat_cu113 -f $formatted_file_list

- name: Upload index.html to S3
run: |
aws s3 cp index.html s3://centml-releases/habitat/wheels-cu113/

whl-build-cu116:
runs-on: [self-hosted, cu116]
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.HABITAT_AWS_ACCESS_KEY }}
aws-region: ${{ secrets.HABITAT_AWS_REGION }}
aws-secret-access-key: ${{ secrets.HABITAT_AWS_SECRET_ACCESS_KEY }}

- name: Display host information
run: |
uname -a
hostname
pwd
id
ls -la

- name: Fetch repository
uses: actions/checkout@v4

- name: Build Python3.8 wheel
run: |
./build_scripts/build_wheel.sh python3.8
env:
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:
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:
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:
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
run: |
aws s3 cp analyzer/dist/ s3://centml-releases/habitat/wheels-cu116/ --recursive --exclude "*" --include "*.whl"

- name: Create index.html
run: |
file_list=(analyzer/dist/*.whl)
formatted_file_list=$(basename -a ${file_list[@]})
python3 /home/builduser/create_index.py habitat_cu116 -f $formatted_file_list

- name: Upload index.html to S3
run: |
aws s3 cp index.html s3://centml-releases/habitat/wheels-cu116/

whl-build-cu117:
runs-on: [self-hosted, cu117]
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.HABITAT_AWS_ACCESS_KEY }}
aws-region: ${{ secrets.HABITAT_AWS_REGION }}
aws-secret-access-key: ${{ secrets.HABITAT_AWS_SECRET_ACCESS_KEY }}

- name: Display host information
run: |
uname -a
hostname
pwd
id
ls -la

- name: Fetch repository
uses: actions/checkout@v4

- name: Build Python3.8 wheel
run: |
./build_scripts/build_wheel.sh python3.8
env:
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:
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:
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:
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
run: |
aws s3 cp analyzer/dist/ s3://centml-releases/habitat/wheels-cu117/ --recursive --exclude "*" --include "*.whl"

- name: Create index.html
run: |
file_list=(analyzer/dist/*.whl)
formatted_file_list=$(basename -a ${file_list[@]})
python3 /home/builduser/create_index.py habitat_cu117 -f $formatted_file_list

- name: Upload index.html to S3
run: |
aws s3 cp index.html s3://centml-releases/habitat/wheels-cu117/

whl-build-cu118:
runs-on: [self-hosted, cu118]
steps:
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/cuda/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ target_compile_options(
"$<$<COMPILE_LANGUAGE:CUDA>:SHELL:-gencode arch=compute_70,code=sm_70>"
"$<$<COMPILE_LANGUAGE:CUDA>:SHELL:-gencode arch=compute_75,code=sm_75>"
"$<$<COMPILE_LANGUAGE:CUDA>:SHELL:-gencode arch=compute_80,code=sm_80>"
#"$<$<COMPILE_LANGUAGE:CUDA>:SHELL:-gencode arch=compute_90,code=sm_90>"
"$<$<COMPILE_LANGUAGE:CUDA>:SHELL:-gencode arch=compute_90,code=sm_90>"
)