mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-04 14:17:28 +00:00
Remove the --torch-compile option (it doesn't do anything currently)
This commit is contained in:
parent
5a8a9c22e8
commit
1d1b20bd77
6 changed files with 5 additions and 13 deletions
|
|
@ -258,9 +258,6 @@ def load_model_HF(model_name):
|
|||
print()
|
||||
model = LoaderClass.from_pretrained(path_to_model, **params)
|
||||
|
||||
if shared.args.torch_compile:
|
||||
model = torch.compile(model)
|
||||
|
||||
return model
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue