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
Fix the wall-clock timeout tests on Python 3.10 (#7488)
Daniel Han4a79d707c5f4
diff --git a/studio/backend/tests/test_research_runs_hardening.py b/studio/backend/tests/test_research_runs_hardening.pyindex e49a12ab40b..b41ef4847f0 100644--- a/studio/backend/tests/test_research_runs_hardening.py+++ b/studio/backend/tests/test_research_runs_hardening.py@@ -861,7 +861,9 @@ def test_stream_completion_timeout_is_absolute_despite_keepalives(monkeypatch):def test_wall_clock_timeout_supports_python_without_asyncio_timeout(monkeypatch):- monkeypatch.delattr(research_runs.asyncio, "timeout")+ # raising=False: on Python 3.10 asyncio.timeout does not exist to begin with,+ # which is the very case these tests cover.+ monkeypatch.delattr(research_runs.asyncio, "timeout", raising = False)async def run():async with research_runs._wall_clock_timeout(0.01):@@ -872,7 +874,9 @@ def test_wall_clock_timeout_supports_python_without_asyncio_timeout(monkeypatch)def test_wall_clock_timeout_does_not_swallow_shutdown_cancellation(monkeypatch):- monkeypatch.delattr(research_runs.asyncio, "timeout")+ # raising=False: on Python 3.10 asyncio.timeout does not exist to begin with,+ # which is the very case these tests cover.+ monkeypatch.delattr(research_runs.asyncio, "timeout", raising = False)async def run(cleanup_started: asyncio.Event):async with research_runs._wall_clock_timeout(0.01):