diff --git a/studio/backend/routes/inference.py b/studio/backend/routes/inference.py index 48ee2c4a69..83cc099743 100644 --- a/studio/backend/routes/inference.py +++ b/studio/backend/routes/inference.py @@ -16015,7 +16015,6 @@ def _diffusion_training_admission(): only; the LLM trainer admits loads that fit beside it, which is a different contract.""" try: from core.training.diffusion_training_service import get_diffusion_training_service - service = get_diffusion_training_service() except Exception: # noqa: BLE001 -- unknowable state never blocks a load yield diff --git a/studio/backend/routes/video.py b/studio/backend/routes/video.py index 406dd81e0f..99ed2652ef 100644 --- a/studio/backend/routes/video.py +++ b/studio/backend/routes/video.py @@ -187,7 +187,6 @@ async def load_video_model( # diffusion-training start reserving here would free residents this load has not # registered yet (see _diffusion_training_admission). from routes.inference import _diffusion_training_admission - def _acquire_and_begin(): with _diffusion_training_admission(): return acquire_for(VIDEO, _begin_load)