Merge branch 'ggerganov:master' into master

This commit is contained in:
Steward Garcia 2023-11-24 12:01:59 -05:00 committed by GitHub
commit bc0fabfd98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -880,6 +880,7 @@ print(f"Loading model: {dir_model.name}")
hparams = Model.load_hparams(dir_model)
with torch.inference_mode():
model_class = Model.from_model_architecture(hparams["architectures"][0])
model_instance = model_class(dir_model, ftype_map[args.outtype], fname_out, args.bigendian)