1
0
mirror of https://github.com/osmarks/meme-search-engine.git synced 2024-09-21 01:59:37 +00:00

unignore device

This commit is contained in:
osmarks 2023-10-08 22:54:06 +01:00
parent 20fcc9317f
commit 68a14d7da9

View File

@ -23,7 +23,7 @@ import numpy
with open(sys.argv[1], "r") as config_file:
CONFIG = json.load(config_file)
DEVICE = "cuda:0"
DEVICE = CONFIG["device"]
# So400m/14@384
with init_empty_weights():