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: turn Hub telemetry off where mocked Hub requests are counted (#15453)
Daniel Han8045b585a965
diff --git a/studio/backend/tests/test_diffusion_prequant_cache.py b/studio/backend/tests/test_diffusion_prequant_cache.pyindex 7e045844cf7..9a95299bb64 100644--- a/studio/backend/tests/test_diffusion_prequant_cache.py+++ b/studio/backend/tests/test_diffusion_prequant_cache.py@@ -1138,6 +1138,8 @@ def blackholed_hub(monkeypatch):seen: list = []monkeypatch.setattr(huggingface_hub.constants, "HF_HUB_OFFLINE", False)+ # huggingface_hub >= 1.33 with telemetry on fetches its agent registry on a cold cache.+ monkeypatch.setattr(huggingface_hub.constants, "HF_HUB_DISABLE_TELEMETRY", True)C._REMOTE_MEMO.clear()getattr(C, "_UNREACHABLE", {}).clear()set_factory = getattr(huggingface_hub, "set_client_factory", None)diff --git a/studio/backend/tests/test_hub_reachability.py b/studio/backend/tests/test_hub_reachability.pyindex ffb6ecb8a5d..14492e3836e 100644--- a/studio/backend/tests/test_hub_reachability.py+++ b/studio/backend/tests/test_hub_reachability.py@@ -28,6 +28,8 @@ REPO = "org/cached-pipe"@pytest.fixture(autouse = True)def _fresh_verdict(monkeypatch):monkeypatch.setattr(huggingface_hub.constants, "HF_HUB_OFFLINE", False)+ # huggingface_hub >= 1.33 with telemetry on fetches its agent registry on a cold cache.+ monkeypatch.setattr(huggingface_hub.constants, "HF_HUB_DISABLE_TELEMETRY", True)R._UNREACHABLE.clear()C._REMOTE_MEMO.clear()yield