Skip to content

feat: add torch wheel#286

Merged
timurbazhirov merged 1 commit intomainfrom
feature/add-torch-pyodide
Apr 3, 2026
Merged

feat: add torch wheel#286
timurbazhirov merged 1 commit intomainfrom
feature/add-torch-pyodide

Conversation

@timurbazhirov
Copy link
Copy Markdown
Member

@timurbazhirov timurbazhirov commented Apr 2, 2026

Seems to work locally:

Screenshot 2026-04-01 at 20 15 22

Summary by CodeRabbit

  • Chores
    • Added support for a new package artifact distribution.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 2, 2026

📝 Walkthrough

Walkthrough

A new Git LFS pointer file is added for a PyTorch wheel artifact, enabling large binary storage through Git LFS rather than in the repository.

Changes

Cohort / File(s) Summary
Git LFS Configuration
packages/torch-2.1.0a0-cp311-cp311-emscripten_3_1_45_wasm32.whl
Added Git LFS pointer file with spec version, SHA-256 OID, and byte size metadata for the wheel artifact.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A wheel so large, too big to keep,
Git LFS helps it rest and sleep,
A pointer small, precise and true,
Holds the torch that's shiny new! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'feat: add torch wheel' directly corresponds to the main change: adding a torch wheel file to the repository via a Git LFS pointer.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/add-torch-pyodide

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
packages/torch-2.1.0a0-cp311-cp311-emscripten_3_1_45_wasm32.whl (1)

2-2: Verify the origin and integrity of this wheel—no official PyTorch builds exist for this platform.

This PyTorch wheel for emscripten_3_1_45_wasm32 is not available from official PyTorch sources (pytorch.org or download.pytorch.org). Validate the SHA-256 hash ae991fb96df84c5a6fba854f8f5d89f8bbfb5df421d0ba6c42f60ef31a416e25 against your internal build logs or trusted source to ensure this is a legitimate, custom-built wheel before including it in the repository.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/torch-2.1.0a0-cp311-cp311-emscripten_3_1_45_wasm32.whl` at line 2,
The wheel entry for
packages/torch-2.1.0a0-cp311-cp311-emscripten_3_1_45_wasm32.whl with SHA-256
ae991fb96df84c5a6fba854f8f5d89f8bbfb5df421d0ba6c42f60ef31a416e25 must be
validated: confirm this hash against your internal build artifacts or trusted
release records (or the signing key/provenance) and only keep the file if you
can produce matching build logs and a trusted origin; if you cannot verify,
remove the wheel from the repo and add a short provenance note (who built it,
build date, CI job id) where the wheel was referenced so future reviewers can
trace it.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@packages/torch-2.1.0a0-cp311-cp311-emscripten_3_1_45_wasm32.whl`:
- Line 2: The wheel entry for
packages/torch-2.1.0a0-cp311-cp311-emscripten_3_1_45_wasm32.whl with SHA-256
ae991fb96df84c5a6fba854f8f5d89f8bbfb5df421d0ba6c42f60ef31a416e25 must be
validated: confirm this hash against your internal build artifacts or trusted
release records (or the signing key/provenance) and only keep the file if you
can produce matching build logs and a trusted origin; if you cannot verify,
remove the wheel from the repo and add a short provenance note (who built it,
build date, CI job id) where the wheel was referenced so future reviewers can
trace it.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 2ab30646-c506-42a5-a63b-b44c915e6a79

📥 Commits

Reviewing files that changed from the base of the PR and between 2a91308 and 1251aa2.

📒 Files selected for processing (1)
  • packages/torch-2.1.0a0-cp311-cp311-emscripten_3_1_45_wasm32.whl

@timurbazhirov timurbazhirov merged commit 080c4e4 into main Apr 3, 2026
5 checks passed
@timurbazhirov timurbazhirov deleted the feature/add-torch-pyodide branch April 3, 2026 02:06
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.

2 participants