MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / initialize_services

Method initialize_services

lightx2v/server/api/server.py:159–162  ·  view source on GitHub ↗
(self, cache_dir: Path, inference_service: DistributedInferenceService)

Source from the content-addressed store, hash-verified

157 except Exception as e:
158 logger.exception(f"Task {task_id} processing failed: {str(e)}")
159 original_et = getattr(e, "original_error_type", "") or ""
160 task_manager.fail_task(task_id, str(e), error_type=original_et or None)
161 finally:
162 if lock_acquired:
163 task_manager.release_processing_lock(task_id)
164
165 def initialize_services(self, cache_dir: Path, inference_service: DistributedInferenceService):

Callers 1

run_serverFunction · 0.95

Calls 3

get_instanceMethod · 0.80
initializeMethod · 0.45

Tested by

no test coverage detected