fix extract feature in MPS device
This commit is contained in:
parent
359ba54321
commit
46c0e9b2fe
@ -1,5 +1,7 @@
|
||||
import os, sys, traceback
|
||||
|
||||
os.environ['PYTORCH_ENABLE_MPS_FALLBACK'] = '1'
|
||||
|
||||
# device=sys.argv[1]
|
||||
n_part = int(sys.argv[2])
|
||||
i_part = int(sys.argv[3])
|
||||
|
Loading…
x
Reference in New Issue
Block a user