Skip to content

Commit

Permalink
Revert "Set compile to True for better performance"
Browse files Browse the repository at this point in the history
This reverts commit f333612.
  • Loading branch information
JaysonAlbert committed Jan 8, 2025
1 parent 6945654 commit 0b5ff75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/torchserve/model_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def initialize(self, ctx):

model_dir = ctx.system_properties.get("model_dir")
os.chdir(model_dir)
if self.chat.load(source="custom", custom_path=model_dir, compile=True):
if self.chat.load(source="custom", custom_path=model_dir):
logger.info("Models loaded successfully.")
else:
logger.error("Models load failed.")
Expand Down

0 comments on commit 0b5ff75

Please sign in to comment.