Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions ucm/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
from ucm.integration.vllm.ucm_connector import UCMConnector

try:
from ucm.integration.vllm.patch.apply_patch import ensure_patches_applied

ensure_patches_applied()
except Exception as e:
# Don't fail if patches can't be applied - might be running in environment without vLLM
import warnings

warnings.warn(
f"Failed to apply vLLM patches: {e}. "
f"If you're using vLLM, ensure it's installed and patches are compatible."
)

__all__ = ["UCMConnector"]
Loading
Loading