Skip to content

Commit

Permalink
🚧 fix(wip):
Browse files Browse the repository at this point in the history
  • Loading branch information
mxchinegod committed Feb 23, 2024
1 parent 3f178ad commit 7cb4d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magnet/ize/memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Embedder:

def __init__(self, config, create=False, initialize=False):
self.config = config
self.model = SentenceTransformer(self.config['MODEL'], device=Utils.check_cuda())
self.model = SentenceTransformer(self.config['MODEL'], device=Utils().check_cuda())
_f('info', f'loading into {self.model.device}')
self.db = MilvusDB(self.config)
self.db.on()
Expand Down

0 comments on commit 7cb4d93

Please sign in to comment.