tchbcb commited on
Commit
cf8d8e3
·
verified ·
1 Parent(s): 4a24dbe

r13 v2 final: r13_ship.py (all patches baked)

Browse files
Files changed (1) hide show
  1. artifacts/r13_scripts/r13_ship.py +2 -2
artifacts/r13_scripts/r13_ship.py CHANGED
@@ -89,7 +89,7 @@ def s9_serve():
89
  FIN = K8B + "/m13_r10_gsqrco_v1.gguf"
90
  MMP = K8B + "/mmproj_m11.gguf"
91
  sh("pkill -f llama-server; sleep 3", 60)
92
- cmd = ("nohup %s %s/llama-server -m %s --mmproj %s --host 0.0.0.0 --port 8101 "
93
  "--api-key 1234 -c 131072 -fa on -ctk q8_0 -ctv q8_0 -t 2 -ngl 99 "
94
  "> /tmp/k8b/serve_r13.log 2>&1 &" % (LC_ENV, LCF, FIN, MMP))
95
  open(K8B + "/R13_SERVE_CMD_NEW", "w").write(
@@ -121,7 +121,7 @@ def fallback_serving_old():
121
  return
122
  if subprocess.run("ps ax | grep '[l]lama-server' | head -1", shell=True, capture_output=True, text=True).stdout.strip():
123
  return
124
- cmd = ("nohup %s %s/llama-server -m %s --mmproj %s --host 0.0.0.0 --port 8101 "
125
  "--api-key 1234 -c 131072 -fa on -ctk q8_0 -ctv q8_0 -t 2 -ngl 99 "
126
  "> /tmp/k8b/serve_old_fallback.log 2>&1 &" % (LC_ENV, LCF, OLD, MMP))
127
  sh(cmd, 30)
 
89
  FIN = K8B + "/m13_r10_gsqrco_v1.gguf"
90
  MMP = K8B + "/mmproj_m11.gguf"
91
  sh("pkill -f llama-server; sleep 3", 60)
92
+ cmd = ("%s nohup %s/llama-server -m %s --mmproj %s --host 0.0.0.0 --port 8101 "
93
  "--api-key 1234 -c 131072 -fa on -ctk q8_0 -ctv q8_0 -t 2 -ngl 99 "
94
  "> /tmp/k8b/serve_r13.log 2>&1 &" % (LC_ENV, LCF, FIN, MMP))
95
  open(K8B + "/R13_SERVE_CMD_NEW", "w").write(
 
121
  return
122
  if subprocess.run("ps ax | grep '[l]lama-server' | head -1", shell=True, capture_output=True, text=True).stdout.strip():
123
  return
124
+ cmd = ("%s nohup %s/llama-server -m %s --mmproj %s --host 0.0.0.0 --port 8101 "
125
  "--api-key 1234 -c 131072 -fa on -ctk q8_0 -ctv q8_0 -t 2 -ngl 99 "
126
  "> /tmp/k8b/serve_old_fallback.log 2>&1 &" % (LC_ENV, LCF, OLD, MMP))
127
  sh(cmd, 30)