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
Studio tests: best of five for the two single-sample nested-header linearity checks (#16426)
Daniel Han5819e6cc28c1
diff --git a/studio/backend/tests/test_web_fetch_extraction.py b/studio/backend/tests/test_web_fetch_extraction.pyindex f0c2321df3a..2482daabbdb 100644--- a/studio/backend/tests/test_web_fetch_extraction.py+++ b/studio/backend/tests/test_web_fetch_extraction.py@@ -3424,9 +3424,13 @@ def test_deeply_nested_headers_do_not_blow_up_quadratically():timings = []for depth in (20, 80):html = build(depth)- start = time.perf_counter()- html_to_markdown(html, main_content = True)- timings.append(time.perf_counter() - start)+ runs = []+ # Best of five: one descheduled call on a shared runner must not read as growth.+ for _ in range(5):+ start = time.perf_counter()+ html_to_markdown(html, main_content = True)+ runs.append(time.perf_counter() - start)+ timings.append(min(runs))assert timings[1] < timings[0] * 12, timings@@ -3765,7 +3769,12 @@ def test_deeply_nested_tags_stay_linear():timings = []for count in (1000, 4000):- start = time.perf_counter()- html_to_markdown(build(count), main_content = True)- timings.append(time.perf_counter() - start)+ html = build(count)+ runs = []+ # Best of five: one descheduled call on a shared runner must not read as growth.+ for _ in range(5):+ start = time.perf_counter()+ html_to_markdown(html, main_content = True)+ runs.append(time.perf_counter() - start)+ timings.append(min(runs))assert timings[1] < timings[0] * 12, timings