Skip to content

build(server): serve the flash-attn wheel from our Hugging Face copy - #924

Merged
ShaiShmuel merged 1 commit into
mainfrom
ci/flash-attn-wheel-hf
Nov 8, 2026
Merged

ShaiShmuel merged 1 commit into
mainfrom
ci/flash-attn-wheel-hf

Conversation

@ShaiShmuel

@ShaiShmuel ShaiShmuel commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

What

The prebuilt flash-attn wheel the server pins by URL now comes from a Hugging Face repository we control, superlinked/sie-wheels, at a fixed revision, instead of a third-party GitHub release.

Same file: the sha256 in uv.lock and in the two CUDA 12 bundle locks is unchanged (0a8f6219…7707f), and the wheel's README records its upstream origin and license.

Why

uv lock --check fetches this URL on every run, even with a warm cache, so every Python job and every image build depends on GitHub's release download path. That path timed out for about 80 minutes on 2026-11-05 and for about four hours on 2026-11-08, and each timeout removes the PR from the merge queue. #922 removes the other GitHub release downloads from routine CI; this is the last one.

Changes

  • packages/sie_server/pyproject.toml: [tool.uv.sources] URL and comment.
  • packages/sie_server/bundles/default.yaml, transformers5.yaml: the same URL.
  • uv.lock: URL only.
  • packages/sie_server/bundle-locks/cuda12-default-amd64, cuda12-transformers5-amd64: recompiled with the same cutoffs as before (--exclude-newer 2026-10-18T00:00:00Z --root-exclude-newer 2026-11-06T20:00:00Z, uv 0.9.28); only the flash-attn URL and the manifest hashes change.

Checks

  • The uploaded file hashes to the upstream sha256 before and after upload; the HF URL serves range requests and resolves by commit.
  • uv lock --check passes; tools/ci/bundle_lock.py check passes for all targets.
  • A full download from the HF URL hashes to the pinned value.
  • CI on this PR exercises the CPU lock check and the CUDA image builds against the new URL.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Linux bundles now retrieve the pinned Flash Attention wheel from a hosted mirror. The wheel version and integrity checks remain unchanged.

`uv lock --check` fetches the direct-URL flash-attn wheel on every run,
so every Python job and image build depended on GitHub's release download
path, which timed out for hours on 2026-11-05 and 2026-11-08. The wheel is
now an unmodified copy in the superlinked/sie-wheels repository, pinned to
a revision; the sha256 in uv.lock and in the CUDA 12 bundle locks is the
upstream file's and does not change. The two bundle locks are recompiled
with their previous cutoffs, so only the URL and the manifest hashes move.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@ShaiShmuel
ShaiShmuel requested a review from a team as a code owner November 8, 2026 13:46
@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Flash Attention wheel source now points to the pinned superlinked/sie-wheels Hugging Face repository in package and bundle declarations. The bundle lock records and manifest checksums were updated.

Changes: Flash Attention wheel source

Layer / File(s) Summary
Wheel source declarations
packages/sie_server/pyproject.toml, packages/sie_server/bundles/*.yaml
The Linux Flash Attention wheel source now uses the Hugging Face repository. The package configuration comments also describe the mirror and revision pin.
Bundle lock records
packages/sie_server/bundle-locks/cuda12-default-amd64/*, packages/sie_server/bundle-locks/cuda12-transformers5-amd64/*
The lock files use the updated wheel source. The manifests have updated requirements and lock checksums; the root versions checksum is unchanged.

Possibly related PRs

  • superlinked/sie#886: Changes the bundle-lock input digest contract. This PR leaves root_versions_sha256 unchanged while updating the lock and requirements checksums.

Suggested reviewers: svonava

Merge Risk: Minimal · up to f4035

The wheel source moves to a revision-pinned mirror. No merge-blocking issue is established, subject to the normal CI checks.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: the flash-attn wheel is now served from the team's Hugging Face copy instead of the GitHub release. The raw summary confirms that the Linux flash-attn URL in pyproject…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the flash-attn wheel is now served from the team's Hugging Face copy instead of the GitHub release. The raw summary confirms that the Linux flash-attn URL in pyproject.toml and the bundle files now points to superlinked/sie-wheels. The title's "build(server)" prefix matches the packages/sie_server scope of the changes. The title does not mention the CUDA bundle lock updates, but it covers the primary change.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (7 skipped: 7 unsupported.)

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Team
  • Run ID: be7cf6eb-9652-4d65-9fb5-77d9f8d46268
Commits

Reviewing files that changed from the base of the PR and between 7271948 and f403545.

Files ignored due to path filters: 1

  • uv.lock is excluded by !**/*.lock
Files selected for processing: 7

  • packages/sie_server/bundle-locks/cuda12-default-amd64/manifest.json
  • packages/sie_server/bundle-locks/cuda12-default-amd64/pylock.toml
  • packages/sie_server/bundle-locks/cuda12-transformers5-amd64/manifest.json
  • packages/sie_server/bundle-locks/cuda12-transformers5-amd64/pylock.toml
  • packages/sie_server/bundles/default.yaml
  • packages/sie_server/bundles/transformers5.yaml
  • packages/sie_server/pyproject.toml

Included review availability: This review used your included allowance. 7 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 10 reviews per hour.

@ShaiShmuel
ShaiShmuel added this pull request to the merge queue Nov 8, 2026
Merged via the queue into main with commit a4b4a80 Nov 8, 2026
47 checks passed
@ShaiShmuel
ShaiShmuel deleted the ci/flash-attn-wheel-hf branch November 8, 2026 15:14
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