Commit d81e832
Remove skip_init tutorial (#3562)
Fixes [T237454734](https://www.internalfb.com/intern/tasks/?t=237454734)
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
---------
Co-authored-by: Svetlana Karslioglu <svekars@meta.com>1 parent 91a1891 commit d81e832
File tree
3 files changed
+1
-136
lines changed- unstable_source
3 files changed
+1
-136
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 48 | | |
58 | 49 | | |
59 | 50 | | |
| |||
This file was deleted.
0 commit comments