A custom node extension for ComfyUI that provides: - Model version tracking for HuggingFace and CivitAI - Automatic model updates with configurable scheduling - Multi-GPU synchronization with VRAM-based filtering - Metadata management with hash verification Features: - SQLite database for model metadata storage - REST API endpoints for all operations - Web UI panel integrated into ComfyUI menu - Background scheduler for automatic update checks - rsync-based sync to remote machines - VRAM estimation for model filtering Tests: - 17 unit tests covering all library modules - Playwright integration tests for UI verification Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
470 B
Python
18 lines
470 B
Python
# ComfyUI-ModelSync Library
|
|
"""Core library modules for ModelSync functionality."""
|
|
|
|
from .metadata_store import MetadataStore
|
|
from .version_tracker import VersionTracker
|
|
from .update_scheduler import UpdateScheduler
|
|
from .sync_manager import SyncManager
|
|
from .hash_utils import compute_sha256, compute_sha256_chunked
|
|
|
|
__all__ = [
|
|
"MetadataStore",
|
|
"VersionTracker",
|
|
"UpdateScheduler",
|
|
"SyncManager",
|
|
"compute_sha256",
|
|
"compute_sha256_chunked",
|
|
]
|