Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Give the upload simulations the same deadline everywhere (#10517)
Daniel Han03c1cb33db6c
diff --git a/tests/studio/rag_upload_browser_tests.py b/tests/studio/rag_upload_browser_tests.pyindex ecdb466503c..399678560a4 100644--- a/tests/studio/rag_upload_browser_tests.py+++ b/tests/studio/rag_upload_browser_tests.py@@ -27,7 +27,8 @@ def request(path, body = None):def wait_state(predicate):- deadline = time.monotonic() + 8+ # Same contention as the browser waits below: three engines on a two-core runner.+ deadline = time.monotonic() + 30while time.monotonic() < deadline:state = request("/__state")if predicate(state):@@ -156,7 +157,7 @@ def large_batch(page):page.evaluate("window.pending=window.sim.uploadNames(Array.from({length:12},(_,i)=>'report-'+i+'.txt'));void 0")- deadline = time.monotonic() + 4+ deadline = time.monotonic() + 30while time.monotonic() < deadline and len(request("/__state")["uploads"]) < 12:time.sleep(0.05)data = request("/__state")diff --git a/tests/studio/rag_upload_ci.py b/tests/studio/rag_upload_ci.pyindex 4c7f73073ac..fde8f8d8959 100644--- a/tests/studio/rag_upload_ci.py+++ b/tests/studio/rag_upload_ci.py@@ -93,8 +93,10 @@ else:check = True,).stdoutinterpreter = next(- entry["path"] for entry in json.loads(listed) if entry["version"].startswith("3.12.")+ (entry["path"] for entry in json.loads(listed) if entry["version"].startswith("3.12.")),+ "",)+ assert interpreter, f"uv installed no 3.12 to build the venv from: {listed}"assert run("venv", [bootstrap, "-m", "uv", "venv", "--clear", "--python", interpreter, root / "venv"])