Duplicated from r3gm/AICoverGen
257 unmodified lines258259260261261262263264257 unmodified lines device = torch.device("cpu") m_threads = 2 if torch.cuda.is_available(): m_threads = 16 m_threads = 8 print(f"threads: {m_threads}") processor_num = -1