unsloth/studio/backend/utils
Daniel Han f4d54a8de7 Fix vision detection subprocess using undefined logger
The _VISION_CHECK_SCRIPT subprocess used logger.info() but logger was
never defined in the subprocess context. This caused a NameError on
every vision check, making all transformers 5.x models (Qwen3.5,
GLM, etc.) fall back to text-only mode even when they support vision.

Replace logger.info() with print() since the parent process reads
the subprocess stdout via result.stdout.
2026-03-16 02:46:56 -07:00
..
datasets fix: prevent ai-assist model config RCE via untrusted Hugging Face repos (#4274) 2026-03-13 19:29:11 +04:00
hardware Final cleanup 2026-03-12 18:28:04 +00:00
inference Final cleanup 2026-03-12 18:28:04 +00:00
models Fix vision detection subprocess using undefined logger 2026-03-16 02:46:56 -07:00
paths [pre-commit.ci] auto fixes from pre-commit.com hooks 2026-03-15 05:24:06 -07:00
.gitkeep root studio folder 2026-02-02 09:13:49 +00:00
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00
cache_cleanup.py Final cleanup 2026-03-12 18:28:04 +00:00
transformers_version.py Final cleanup 2026-03-12 18:28:04 +00:00
utils.py Final cleanup 2026-03-12 18:28:04 +00:00