IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Python function

arch_has_vision_tower

arch_has_vision_tower()โ€‹

max.pipelines.lib.interfaces.arch_has_vision_tower(arch_config_cls, huggingface_config)

source

Whether this architecture encodes images at all.

True when the arch config publishes vision-cache facts (ArchConfigWithVisionCache) and sizes a cache entry above zero for this checkpoint. Both consumers of the vision budgets โ€“ config construction and memory planning โ€“ gate on this same signal.

Parameters:

  • arch_config_cls (type)
  • huggingface_config (AutoConfig)

Return type:

bool