Offer runtime candidates across model categories and prepare audio.cpp with six build jobs
This commit is contained in:
@@ -14,6 +14,7 @@ DESKTOP_REV='68cd86c15e5fd25f56229ea63c0dbcb0338f7812'
|
||||
LTX_REV='d151147788a9284cca791edc6ce898007e727fe6'
|
||||
|
||||
class LTXOriginalRuntime:
|
||||
name="LTX Original"
|
||||
def __init__(self,root,image_runtime):
|
||||
self.root=Path(root);self.image_runtime=image_runtime;self.lock=threading.RLock();self.cancel=threading.Event();self.process=None;self.worker=None;self.job=None
|
||||
path=self.root/'installation.json'
|
||||
@@ -37,8 +38,8 @@ class LTXOriginalRuntime:
|
||||
with self.lock:self.job['phase']=phase;self._save()
|
||||
def start(self):
|
||||
with self.lock:
|
||||
if self.job and self.job['state']=='running':raise ValueError('LTX-Installation läuft bereits.')
|
||||
if self.status()['installed']:raise ValueError('LTX Original ist bereits installiert.')
|
||||
if self.job and self.job['state']=='running':raise ValueError(self.name+'-Installation läuft bereits.')
|
||||
if self.status()['installed']:raise ValueError(self.name+' ist bereits installiert.')
|
||||
if sys.platform!='linux' or not shutil.which('git'):raise ValueError('Debian/Linux mit Git und Python venv erforderlich.')
|
||||
self.root.mkdir(parents=True,exist_ok=True,mode=0o700)
|
||||
need=self.status()['required_disk_gib']
|
||||
|
||||
Reference in New Issue
Block a user