Skip to content

Commit 9ef43fa

Browse files
authored
docs: fix PyTorch compression command (#4780)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Updated the command example for compressing a PyTorch model to explicitly include the `--pt` flag. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Jinzhe Zeng <[email protected]>
1 parent 31373bc commit 9ef43fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/freeze/compress.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ dp compress -i graph.pb -o graph-compress.pb
7777
:::{tab-item} PyTorch {{ pytorch_icon }}
7878

7979
```bash
80-
dp compress -i model.pth -o model-compress.pth
80+
dp --pt compress -i model.pth -o model-compress.pth
8181
```
8282

8383
:::

0 commit comments

Comments
 (0)