Skip to content

Commit

Permalink
🐛 Fix wrong intput to compile_model.
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneahmed committed Nov 17, 2024
1 parent 035ab74 commit e88c125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiatoolbox/models/engine/engine_abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def __init__(
self.model.to(device=self.device)
self.model = (
compile_model( # for runtime, such as after wrapping with nn.DataParallel
model,
self.model,
mode=rcParam["torch_compile_mode"],
)
)
Expand Down

0 comments on commit e88c125

Please sign in to comment.