logo
Browse Source

enable acc

Signed-off-by: junjie.jiang <junjie.jiang@zilliz.com>
main
junjie.jiang 1 year ago
parent
commit
77cc6cca77
  1. 2
      auto_transformers.py

2
auto_transformers.py

@ -56,7 +56,7 @@ def create_model(model_name, checkpoint_path, device):
return model
# @accelerate
@accelerate
class Model:
def __init__(self, model_name, checkpoint_path, device):
self.device = device

Loading…
Cancel
Save