logo
Browse Source

Eable acc

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

2
nn_fingerprint.py

@ -42,7 +42,7 @@ log = logging.getLogger('nnfp_op')
log.setLevel(logging.ERROR)
# @accelerate
@accelerate
class Model:
def __init__(self, params, device='cpu', model_path=None):
self.device = device

Loading…
Cancel
Save