Skip to content

Commit

Permalink
Merge pull request #297 from iwehf/vss
Browse files Browse the repository at this point in the history
Vss
  • Loading branch information
iwehf authored Jan 9, 2025
2 parents 2493fd6 + a7ecc46 commit f5166f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/crynux_server/server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(
base_model_dir=base_model_dir,
lora_model_dir=lora_model_dir,
log_dir=log_dir,
system_info_update_interval=10,
system_info_update_interval=60,
)
self._app = FastAPI(lifespan=lifespan.run)
self._app.include_router(v1_router, prefix="/manager")
Expand Down
2 changes: 1 addition & 1 deletion src/crynux_server/task/task_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ async def _recover_inference_task(self, tg: TaskGroup):
_logger.debug(f"Rerun inference task {state.task_id_commitment.hex()}")

task_id_commitment = await self._get_node_task()
if task_id_commitment not in self._inference_runners:
if any(v > 0 for v in task_id_commitment) and task_id_commitment not in self._inference_runners:
runner = InferenceTaskRunner(
task_id_commitment=task_id_commitment,
state_cache=self._inference_state_cache,
Expand Down

0 comments on commit f5166f9

Please sign in to comment.