Measure Qwen CPU TTS contention and persist improved CPU budget
This commit is contained in:
1 parent
12526c08dc
commit
b2722744ae
12 files changed
+532
-1
No files matched your search
+1
-1
@@ -144,7 +144,7 @@ def launch(config):
|
||||
base=Path(config['base'])
|
||||
args=['docker','run','-d','--name',config['name'],'--label',LABEL+'='+str(base),
|
||||
'--restart','unless-stopped','--read-only','--cap-drop','ALL','--security-opt','no-new-privileges:true',
|
||||
'--pids-limit','256' if config.get('image_runtime') else '128','--memory',config.get('memory_limit','32g' if config.get('image_runtime') else '8g'),'--cpus','6', '--tmpfs','/tmp:rw,nosuid,nodev,size=1g',
|
||||
'--pids-limit','256' if config.get('image_runtime') else '128','--memory',config.get('memory_limit','32g' if config.get('image_runtime') else '8g'),'--cpus',str(config.get('cpu_limit',6)), '--tmpfs','/tmp:rw,nosuid,nodev,size=1g',
|
||||
'-v',str(base/'state')+':/var/lib/deck:rw','--mount','type=bind,src=/proc,dst=/host/proc,readonly','-e','DECK_HOST_PROC=/host/proc','-e','DECK_ALLOWED_HOSTS=127.0.0.1:'+str(config['port'])+',localhost:'+str(config['port']),
|
||||
'-p','127.0.0.1:'+str(config['port'])+':8108',
|
||||
'--health-cmd', 'python3 -c "import urllib.request,json; assert json.load(urllib.request.urlopen(\'http://127.0.0.1:8108/api/v1/auth/status\',timeout=3))[\'initialized\']"',
|
||||
|
||||
Reference in new issue
Block a user