Two issues from final review verification:
1. Pytest's default importer walked into the root __init__.py (which uses
ComfyUI-relative imports) when collecting tests. Adding a root conftest.py
with collect_ignore for non-test top-level dirs and switching to
--import-mode=importlib stops it. The conftest also seeds sys.path so
tests can still 'from lib.x import' / 'from nodes.x import'.
2. lib/model_state.py used to do 'from transformers import AutoModel,
AutoProcessor' at module-level. transformers' lazy chain transitively
imports torchvision, which breaks at attribute access in environments
where torch and torchvision versions don't match (common in ComfyUI
installs). Lifting the import into a _get_auto_classes() factory keeps
the package importable; tests patch the factory instead of patching
transformers attributes.