[PR #1] [MERGED] feat: spec-driven CUDA wheel build pipeline #5

Closed
opened 2026-10-26 22:02:13 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/wheels/pull/1
Author: @pollockjj
Created: 4/14/2026
Status: ✅ Merged
Merged: 4/14/2026
Merged by: @pollockjj

Base: develop ← Head: release/upstream-pr


📝 Commits (1)

  • c05c1e5 feat: spec-driven CUDA wheel build pipeline

📊 Changes

43 files changed (+3871 additions, -597 deletions)

View changed files

➕ .github/actions/build-wheel/action.yml (+253 -0)
➕ .github/actions/setup-build-env/action.yml (+114 -0)
➕ .github/actions/setup-cuda/action.yml (+219 -0)
➕ .github/dependabot.yml (+13 -0)
➖ .github/workflows/build-and-test-triton.yml (+0 -99)
➖ .github/workflows/build-sageattn.yml (+0 -135)
➖ .github/workflows/build-sageattn3.yml (+0 -122)
➖ .github/workflows/build-spargeattn.yml (+0 -135)
➖ .github/workflows/build-triton.yml (+0 -95)
➕ .github/workflows/build.yml (+488 -0)
➕ .github/workflows/get-sources.yml (+41 -0)
➕ .github/workflows/inspect-all-wheels.yml (+69 -0)
➕ .github/workflows/update-index.yml (+41 -0)
➕ .github/workflows/validate.yml (+95 -0)
➕ .gitignore (+8 -0)
➕ ATTRIBUTION.md (+29 -0)
➕ CODEOWNERS (+2 -0)
➕ CONTRIBUTING.md (+33 -0)
➕ LICENSE (+23 -0)
📝 README.md (+27 -11)

...and 23 more files

📄 Description

Summary

Replace per-package workflow scripts with a unified spec-driven pipeline.

  • Composite actions (build-wheel, setup-build-env, setup-cuda) from upstream PozzettiAndrea/cuda-wheels
  • Generic build.yml driven by YAML package specs — one workflow for all packages
  • Five package specs: cc_torch, flash_attn, sageattention, sageattn3, torch_generic_nms (with build patches for flash_attn, sageattention, sageattn3)
  • PEP 503 index generation (update-index.yml, generate_index.py)
  • Matrix generation, wheel version patching, torch matrix fetching
  • Validation workflow and spec linting (validate.yml, validate_package_specs.py)
  • Wheel audit workflows (inspect-all-wheels.yml, get-sources.yml)
  • Governance: LICENSE, CODEOWNERS, CONTRIBUTING, SECURITY, dependabot
  • Pinned all third-party GitHub Actions to commit SHAs
  • Script unit tests for generate_matrix, generate_index, patch_wheel_version, fetch_torch_matrix
  • Packages pinned to specific commit SHAs
  • Removed old per-package workflows (triton, sageattn, spargeattn)

Verification

  • Validation workflow passes on fork
  • cc_torch and torch_generic_nms wheels built and published on fork
  • flash_attn builds verified (~1-3 hours per platform)
  • Script unit tests pass

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/wheels/pull/1 **Author:** [@pollockjj](https://github.com/pollockjj) **Created:** 4/14/2026 **Status:** ✅ Merged **Merged:** 4/14/2026 **Merged by:** [@pollockjj](https://github.com/pollockjj) **Base:** `develop` ← **Head:** `release/upstream-pr` --- ### 📝 Commits (1) - [`c05c1e5`](https://github.com/Comfy-Org/wheels/commit/c05c1e59f5ec881dcfa197f5228fa90b9fc55be8) feat: spec-driven CUDA wheel build pipeline ### 📊 Changes **43 files changed** (+3871 additions, -597 deletions) <details> <summary>View changed files</summary> ➕ `.github/actions/build-wheel/action.yml` (+253 -0) ➕ `.github/actions/setup-build-env/action.yml` (+114 -0) ➕ `.github/actions/setup-cuda/action.yml` (+219 -0) ➕ `.github/dependabot.yml` (+13 -0) ➖ `.github/workflows/build-and-test-triton.yml` (+0 -99) ➖ `.github/workflows/build-sageattn.yml` (+0 -135) ➖ `.github/workflows/build-sageattn3.yml` (+0 -122) ➖ `.github/workflows/build-spargeattn.yml` (+0 -135) ➖ `.github/workflows/build-triton.yml` (+0 -95) ➕ `.github/workflows/build.yml` (+488 -0) ➕ `.github/workflows/get-sources.yml` (+41 -0) ➕ `.github/workflows/inspect-all-wheels.yml` (+69 -0) ➕ `.github/workflows/update-index.yml` (+41 -0) ➕ `.github/workflows/validate.yml` (+95 -0) ➕ `.gitignore` (+8 -0) ➕ `ATTRIBUTION.md` (+29 -0) ➕ `CODEOWNERS` (+2 -0) ➕ `CONTRIBUTING.md` (+33 -0) ➕ `LICENSE` (+23 -0) 📝 `README.md` (+27 -11) _...and 23 more files_ </details> ### 📄 Description ## Summary Replace per-package workflow scripts with a unified spec-driven pipeline. - **Composite actions** (`build-wheel`, `setup-build-env`, `setup-cuda`) from upstream PozzettiAndrea/cuda-wheels - **Generic `build.yml`** driven by YAML package specs — one workflow for all packages - **Five package specs:** cc_torch, flash_attn, sageattention, sageattn3, torch_generic_nms (with build patches for flash_attn, sageattention, sageattn3) - **PEP 503 index generation** (`update-index.yml`, `generate_index.py`) - **Matrix generation**, wheel version patching, torch matrix fetching - **Validation workflow** and spec linting (`validate.yml`, `validate_package_specs.py`) - **Wheel audit workflows** (`inspect-all-wheels.yml`, `get-sources.yml`) - **Governance:** LICENSE, CODEOWNERS, CONTRIBUTING, SECURITY, dependabot - **Pinned all third-party GitHub Actions** to commit SHAs - **Script unit tests** for generate_matrix, generate_index, patch_wheel_version, fetch_torch_matrix - **Packages pinned** to specific commit SHAs - Removed old per-package workflows (triton, sageattn, spargeattn) ## Verification - Validation workflow passes on fork - cc_torch and torch_generic_nms wheels built and published on fork - flash_attn builds verified (~1-3 hours per platform) - Script unit tests pass --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-26 22:02:13 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/wheels#5
No description provided.