Skip to content

Conversation

mikaylagawarecki
Copy link
Contributor

Fixes T237454734

skip_init was originally added to support skipping initialization during load_state_dict, see pytorch/pytorch#29523

This has been superseded by model creation under the meta device context manager and then loading with assign=True, see https://docs.pytorch.org/tutorials/recipes/recipes/module_load_state_dict_tips.html#using-torch-device-meta

So this tutorial can be removed

Copy link

pytorch-bot bot commented Sep 12, 2025

🔗 Helpful Links

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

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

✅ No Failures

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

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

@meta-cla meta-cla bot added the cla signed label Sep 12, 2025
Copy link
Contributor

@svekars svekars left a comment

Choose a reason for hiding this comment

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

Can you add a redirect to index.html? https://github.com/pytorch/tutorials/blob/main/redirects.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants