Deadline Maintenance Scripts
These scripts are publishable templates for syncing ComfyUI installs and model files through Deadline maintenance jobs.
Scripts
submit_comfy_sync.pysubmits maintenance jobs using Deadline'sDeadlineCommandplugin.ComfyUISync.pymirrors a shared ComfyUI portable install to local Worker storage.ComfyModelsSync.pysyncs model files from a shared model list to local Worker storage.
Typical Setup
- Copy this folder to shared storage visible to all Workers.
- Edit the default paths in the scripts, or set environment variables on Workers.
- Submit maintenance jobs from a machine with
deadlinecommandavailable.
python \\YOUR-SERVER\share\scripts\maintenance\submit_comfy_sync.py --type both
Useful Overrides
ComfyUISync.py:
COMFY_SYNC_SOURCE: shared ComfyUI portable source path.COMFY_SYNC_DEST: local Worker destination path.
ComfyModelsSync.py:
COMFY_MODELS_SOURCE: shared model source path.COMFY_MODEL_LIST: text file containing model paths to sync.
submit_comfy_sync.py:
--type installation: submit only ComfyUI install sync.--type models: submit only model sync.--type both: submit both jobs.--allowlist: comma-separated Worker allowlist.--pool,--group,--region: Deadline routing options.