Skip to content

Commit 22d6f97

Browse files
authored
Update serialization.rst to include get_model_size_in_bytes import (#604)
1 parent 1b1e94c commit 22d6f97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/source/serialization.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Here is the serialization and deserialization flow::
1111
import copy
1212
import tempfile
1313
import torch
14+
from torchao.utils import get_model_size_in_bytes
1415
from torchao.quantization.quant_api import (
1516
quantize_,
1617
int4_weight_only,

0 commit comments

Comments
 (0)