Skip to content

Do a PyPi release for cuda on arm#2866

Merged
awni merged 1 commit into
mainfrom
arm_cuda_release
Dec 4, 2025
Merged

Do a PyPi release for cuda on arm#2866
awni merged 1 commit into
mainfrom
arm_cuda_release

Conversation

@awni

@awni awni commented Dec 3, 2025

Copy link
Copy Markdown
Member

We already release the front-end package for Arm so this is a minimal change.

Comment thread .github/workflows/release.yml

@angeloskath angeloskath left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

with:
toolkit: 'cuda-12.9'
- name: Build Python package
uses: ./.github/actions/build-cuda-release

@zcbenz zcbenz Dec 4, 2025

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The arch is not passed.

        with:
            arch: ${{ matrix.arch }}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops! Good catch.

@awni

awni commented Dec 4, 2025

Copy link
Copy Markdown
Member Author

@madrob can you make an ubuntu-22-large-arm so we can use runners with more disk space?

@awni awni force-pushed the arm_cuda_release branch 2 times, most recently from 422ff34 to 80762fd Compare December 4, 2025 20:47
Comment on lines +133 to +134
arch: ['x86_64', 'aarch64']
runs-on: ${{ matrix.arch == 'x86_64' && 'ubuntu-22-large' || 'ubuntu-22-large-arm' }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would put the conditional logic in the matrix so it's easier to see:

Suggested change
arch: ['x86_64', 'aarch64']
runs-on: ${{ matrix.arch == 'x86_64' && 'ubuntu-22-large' || 'ubuntu-22-large-arm' }}
include:
- host: ubuntu-22-large
arch: x86_64
- host: ubuntu-22-large-arm
arch: aarch64
runs-on: ${{ matrix.host }}

@awni awni merged commit 1fa8dc5 into main Dec 4, 2025
19 of 28 checks passed
@awni awni deleted the arm_cuda_release branch December 4, 2025 23:28
using: "composite"
steps:
- name: Use ccache
if: ${{ runner.arch == 'x86_64' }}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@awni This disables ccache completely as x86_64 is not a valid value for runner.arch. Do you remember why it is disabled for arm build? Maybe we should add an input to just disable ccache for release builds?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think because it wasn't installed on the ubuntu-large-arm machine (the one we use for the release build).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants