[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
7d15f202a4
commit
0e64181f8a
2 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue