Skip to content

Commit

Permalink
fix bad import in pytorch notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
reuvenp committed Jun 16, 2024
1 parent 0bc2e61 commit 7a0830c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"import model_compression_toolkit as mct\n",
"import numpy as np\n",
"from functools import partial\n",
"from xquant import XQuantConfig\n",
"from model_compression_toolkit.xquant import XQuantConfig\n",
"import torch"
]
},
Expand Down Expand Up @@ -152,7 +152,7 @@
"\n",
"# Generate the xquant report comparing the float model and the quantized model using the\n",
"# representative and validation datasets.\n",
"from xquant import xquant_report_pytorch_experimental\n",
"from model_compression_toolkit.xquant import xquant_report_pytorch_experimental\n",
"result = xquant_report_pytorch_experimental(\n",
" float_model,\n",
" quantized_model,\n",
Expand Down

0 comments on commit 7a0830c

Please sign in to comment.