Skip to content

Commit

Permalink
Notebook failure (#3048)
Browse files Browse the repository at this point in the history
  • Loading branch information
apbose authored Aug 21, 2024
1 parent 9ecd3f0 commit 49f201b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/EfficientNet-example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"source": [
"# The compiled module will have precision as specified by \"op_precision\".\n",
"# Here, it will have FP16 precision.\n",
"trt_model_fp16 = torch_tensorrt.compile(model, inputs = [torch_tensorrt.Input((128, 3, 224, 224), dtype=torch.half)],\n",
"trt_model_fp16 = torch_tensorrt.compile(model.half(), inputs = [torch_tensorrt.Input((128, 3, 224, 224), dtype=torch.half)],\n",
" enabled_precisions = {torch.half}, # Run with FP16\n",
" workspace_size = 1 << 22\n",
")"
Expand Down

0 comments on commit 49f201b

Please sign in to comment.