Skip to content

add pytorch build skill#91

Draft
thisisatharva-rh wants to merge 1 commit intoopendatahub-io:mainfrom
thisisatharva-rh:pytorch-build-skill
Draft

add pytorch build skill#91
thisisatharva-rh wants to merge 1 commit intoopendatahub-io:mainfrom
thisisatharva-rh:pytorch-build-skill

Conversation

@thisisatharva-rh
Copy link

Pull Request Description

Summary

Add a skill that builds and debugs pytorch from source. Is reasonably good at debugging commonly seen Pytorch editable install bugs. This is a preliminary skill that will evolve alongside the PyTorch team's requirements.

Type of Contribution

  • 📝 New command
  • 🎯 New skill
  • 🤖 New agent
  • 💎 New Gemini Gem
  • 📚 Documentation update
  • 🐛 Bug fix
  • 🔄 Refactoring/cleanup
  • 🏗️ Infrastructure/tooling
  • 📋 New category addition

Changes Made

Tool Details

Command

  • Command name:
  • Primary use case:
  • Dependencies required:

Skill

  • Skill name:
  • Primary use case:
  • Dependencies required:

Agent

  • Agent name:
  • Primary use case:
  • Dependencies required:

Gemini Gem

  • Gem title:
  • Gem description:
  • Sharing link:

Testing and Validation

Required Checks

  • 🔄 Ran make update and committed any generated changes
  • ✅ Ran make lint and all checks pass
  • 🧪 Tested the new functionality locally

Platform Testing

  • Claude Code: Tested commands/skills/agents integration
  • Cursor AI: Tested tool integration (if applicable)
  • Gemini: Created Gem in Gemini platform and verified sharing link works (if applicable)

Categorization

  • Tool is properly categorized in categories.yaml (or uses default "General" category)

Ethical Guidelines Compliance

  • ✅ No real people are referenced by name in examples or documentation
  • Qualities and styles are described explicitly rather than by reference to individuals

Documentation

  • Updated relevant README files if needed
  • Added appropriate examples and usage instructions
  • Followed naming conventions for the platform

Dependencies and Requirements

  • Python scripts use proper shebang lines and PEP 723 metadata if needed
  • All scripts are executable (chmod +x)
  • No undocumented external dependencies

Additional Notes

@coderabbitai
Copy link

coderabbitai bot commented Feb 25, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

@@ -0,0 +1,154 @@
---
description: PyTorch source build automation and debugging
globs:
Copy link
Contributor

Choose a reason for hiding this comment

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

what is this for? I couldn't find it in the skill spec.

Copy link
Author

@thisisatharva-rh thisisatharva-rh Feb 25, 2026

Choose a reason for hiding this comment

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

so cursor (my platform right now) requires these. description is used to decide whether to include the skill and globs are patterns - when relevant, cursor will pull this skill into context. i want to make this skill agnostic to dev editors; planned as future work

- pytorch/CMakeLists.txt
- pytorch/build/**
- scripts/build_pytorch.sh
alwaysApply: false
Copy link
Contributor

Choose a reason for hiding this comment

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

same here

|----------|-------|
| Workspace | `/path/to/your-container` |
| PyTorch source | `/workspaces/pytorch-devcontainers/pytorch` |
| Python | 3.13.9 |
Copy link
Contributor

Choose a reason for hiding this comment

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

if possible let's not hardcode versions in the skill.

Copy link
Author

Choose a reason for hiding this comment

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

thanks for the quick review! i am addressing those right now hence in draft

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