Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve tracer_model_split documentation in pipelining tutorial #3675

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
patrocinio wants to merge 2 commits into pytorch:main
base: main
Choose a base branch
Loading
from patrocinio:3530_Distributed_Pipeline_Parallelism

Conversation

@patrocinio
Copy link
Contributor

@patrocinio patrocinio commented Nov 29, 2025

  • Added clear section headers for both splitting options
  • Option 1: Manual Model Splitting
  • Option 2: Tracer-based Model Splitting
  • Fixed typo: 'before the before' -> 'before the'
  • Added explanation of split_spec dictionary parameters
  • Clarified that split_spec specifies module path and split point type
  • Made the tracer_model_split function definition more prominent

The tracer_model_split code block was present but users were missing it because it wasn't clearly labeled as a separate option.

Fixes issue #3530

Description

Checklist

  • The issue that is being fixed is referred in the description (see above "Fixes #ISSUE_NUMBER")
  • Only one issue is addressed in this pull request
  • Labels from the issue that this PR is fixing are added to this pull request
  • No unnecessary issues are included into this pull request.

Copy link

pytorch-bot bot commented Nov 29, 2025
edited
Loading

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/3675

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit bf4f972 with merge base 7f8b6dc (image ):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

- Added clear section headers for both splitting options
- Option 1: Manual Model Splitting
- Option 2: Tracer-based Model Splitting
- Fixed typo: 'before the before' -> 'before the'
- Added explanation of split_spec dictionary parameters
- Clarified that split_spec specifies module path and split point type
- Made the tracer_model_split function definition more prominent
The tracer_model_split code block was present but users were missing it
because it wasn't clearly labeled as a separate option.
Fixes issue pytorch#3530 
@patrocinio patrocinio force-pushed the 3530_Distributed_Pipeline_Parallelism branch from 24c9adf to 439ff87 Compare December 3, 2025 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@AlannaBurke AlannaBurke AlannaBurke approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /