Skip to content

[CI] Enable parallel GitHub Actions wheel builds#19983

Closed
tlopex wants to merge 1 commit into
apache:mainfrom
tlopex:ci/github-actions-parallel-wheel-build
Closed

[CI] Enable parallel GitHub Actions wheel builds#19983
tlopex wants to merge 1 commit into
apache:mainfrom
tlopex:ci/github-actions-parallel-wheel-build

Conversation

@tlopex

@tlopex tlopex commented Jul 11, 2026

Copy link
Copy Markdown
Member

This PR enables parallel TVM wheel builds on macOS and Windows GitHub Actions by detecting the available CPU count and passing it to CMake through CMAKE_BUILD_PARALLEL_LEVEL.

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request introduces a new GitHub composite action, detect-env-vars, which runs a Python script to detect the system's CPU count and export it as an output. The review feedback suggests making the Python script more robust by using a with statement to ensure the output file is properly closed, checking for the existence of the GITHUB_OUTPUT environment variable to prevent a TypeError, and using os.cpu_count() with a fallback to avoid potential NotImplementedError exceptions.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread .github/actions/detect-env-vars/action.yml
@tlopex tlopex closed this Jul 11, 2026
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.

1 participant