mirror of
https://github.com/osmarks/meme-search-engine.git
synced 2024-11-10 22:09:54 +00:00
unignore device
This commit is contained in:
parent
20fcc9317f
commit
68a14d7da9
@ -23,7 +23,7 @@ import numpy
|
|||||||
with open(sys.argv[1], "r") as config_file:
|
with open(sys.argv[1], "r") as config_file:
|
||||||
CONFIG = json.load(config_file)
|
CONFIG = json.load(config_file)
|
||||||
|
|
||||||
DEVICE = "cuda:0"
|
DEVICE = CONFIG["device"]
|
||||||
|
|
||||||
# So400m/14@384
|
# So400m/14@384
|
||||||
with init_empty_weights():
|
with init_empty_weights():
|
||||||
|
Loading…
Reference in New Issue
Block a user