# Load\_state\_dict prevent copying

**URL:** <https://discuss.pytorch.org/t/load-state-dict-prevent-copying/216665>\
**Category:** data\
**Created:** [February 14, 2025, 8:38am UTC](https://discuss.pytorch.org/t/load-state-dict-prevent-copying/216665 "2025-02-14T08:38:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vsnuhsn](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/vsnuhsn/32/75406_2.png) [@vsnuhsn](https://discuss.pytorch.org/u/vsnuhsn)\
**Post date:** [February 14, 2025, 8:38am UTC](https://discuss.pytorch.org/t/load-state-dict-prevent-copying/216665/1 "2025-02-14T08:38:35Z")

</div>

When we call load\_state\_dict, a copy of the state\_dict is being made inside, is there any way to load the state\_dict without it being copied?
