Skip to content

Commit

Permalink
chore: fix QuantizationAwarweTraining notebook
Browse files Browse the repository at this point in the history
ref #760
  • Loading branch information
jfrery committed Jun 27, 2024
1 parent 829b68b commit 27954dd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/advanced_examples/QuantizationAwareTraining.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,16 @@
"torch_model.unprune()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# Move torch_model to CPU\n",
"torch_model = torch_model.cpu()"
]
},
{
"cell_type": "code",
"execution_count": 11,
Expand Down

0 comments on commit 27954dd

Please sign in to comment.