1
0
Fork 0
mirror of https://github.com/p-e-w/heretic.git synced 2026-12-03 18:42:57 +07:00

[GH-ISSUE #82] Bug: Unable to load ServiceNow-AI/Apriel-1.6-15b-Thinker #42

Closed
opened 2026-11-01 04:16:54 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @MS00-GitIt on GitHub (Dec 11, 2025).
Original GitHub issue: https://github.com/p-e-w/heretic/issues/82

Bug: Unable to load ServiceNow-AI/Apriel-1.6-15b-Thinker (LlavaConfig not supported by AutoModelForCausalLM)

Command run:
(heretic) ####@####:~/heretic$ heretic ServiceNow-AI/Apriel-1.6-15b-Thinker

Expected: Model loads or Heretic reports that Llava-based / multimodal models are unsupported.
Actual: All dtype attempts fail with Unrecognized configuration class LlavaConfig and Heretic exits with Exception: Failed to load model with all configured dtypes.


Environment

  • OS: Bazzite (Fedora-based Linux)
  • Python: 3.12 (venv)
  • GPU: NVIDIA RTX 3090
  • Heretic version: v1.1.0
  • transformers: version bundled with Heretic (shows HF cache deprecation warning)

Full Output

(heretic) ####@####:~/heretic$ heretic ServiceNow-AI/Apriel-1.6-15b-Thinker
/var/home/####/heretic/.venv/lib/python3.12/site-packages/transformers/utils/hub.py:110: FutureWarning: Using TRANSFORMERS_CACHE is deprecated and will be removed in v5 of Transformers. Use HF_HOME instead.
warnings.warn(
█░█░█▀▀░█▀▄░█▀▀░▀█▀░█░█▀▀ v1.1.0
█▀█░█▀▀░█▀▄░█▀▀░░█░░█░█░░
▀░▀░▀▀▀░▀░▀░▀▀▀░░▀░░▀░▀▀▀ https://github.com/p-e-w/heretic

GPU type: NVIDIA GeForce RTX 3090

Loading model ServiceNow-AI/Apriel-1.6-15b-Thinker...

  • Trying dtype auto... Failed (Unrecognized configuration class <class 'transformers.models.llava.configuration_llava.LlavaConfig'> for this kind of AutoModel: AutoModelForCausalLM. Model type should be one of ApertusConfig, ArceeConfig, AriaTextConfig, BambaConfig, BartConfig, BertConfig, BertGenerationConfig, BigBirdConfig, BigBirdPegasusConfig, BioGptConfig, BitNetConfig, BlenderbotConfig, BlenderbotSmallConfig, BloomConfig, BltConfig, CamembertConfig, LlamaConfig, CodeGenConfig, CohereConfig, Cohere2Config, CpmAntConfig, CTRLConfig, Data2VecTextConfig, DbrxConfig, DeepseekV2Config, DeepseekV3Config, DiffLlamaConfig, DogeConfig, Dots1Config, ElectraConfig, Emu3Config, ErnieConfig, Ernie4_5Config, Ernie4_5_MoeConfig, Exaone4Config, FalconConfig, FalconH1Config, FalconMambaConfig, FlexOlmoConfig, FuyuConfig, GemmaConfig, Gemma2Config, Gemma3Config, Gemma3TextConfig, Gemma3nConfig, Gemma3nTextConfig, GitConfig, GlmConfig, Glm4Config, Glm4MoeConfig, GotOcr2Config, GPT2Config, GPTBigCodeConfig, GPTNeoConfig, GPTNeoXConfig, GPTNeoXJapaneseConfig, GptOssConfig, GPTJConfig, GraniteConfig, GraniteMoeConfig, GraniteMoeHybridConfig, GraniteMoeSharedConfig, HeliumConfig, HunYuanDenseV1Config, HunYuanMoEV1Config, JambaConfig, JetMoeConfig, Lfm2Config, Llama4Config, Llama4TextConfig, LongcatFlashConfig, MambaConfig, Mamba2Config, MarianConfig, MBartConfig, MegaConfig, MegatronBertConfig, MiniMaxConfig, MinistralConfig, MistralConfig, MixtralConfig, MllamaConfig, ModernBertDecoderConfig, MoshiConfig, MptConfig, MusicgenConfig, MusicgenMelodyConfig, MvpConfig, NemotronConfig, OlmoConfig, Olmo2Config, Olmo3Config, OlmoeConfig, OpenLlamaConfig, OpenAIGPTConfig, OPTConfig, PegasusConfig, PersimmonConfig, PhiConfig, Phi3Config, Phi4MultimodalConfig, PhimoeConfig, PLBartConfig, ProphetNetConfig, QDQBertConfig, Qwen2Config, Qwen2MoeConfig, Qwen3Config, Qwen3MoeConfig, Qwen3NextConfig, RecurrentGemmaConfig, ReformerConfig, RemBertConfig, RobertaConfig, RobertaPreLayerNormConfig, RoCBertConfig, RoFormerConfig, RwkvConfig, SeedOssConfig, SmolLM3Config, Speech2Text2Config, StableLmConfig, Starcoder2Config, TransfoXLConfig, TrOCRConfig, VaultGemmaConfig, WhisperConfig, XGLMConfig, XLMConfig, XLMProphetNetConfig, XLMRobertaConfig, XLMRobertaXLConfig, XLNetConfig, xLSTMConfig, XmodConfig, ZambaConfig, Zamba2Config.)
  • Trying dtype float16... Failed (same LlavaConfig error)
  • Trying dtype bfloat16... Failed (same LlavaConfig error)
  • Trying dtype float32... Failed (same LlavaConfig error)

Traceback:
Exception: Failed to load model with all configured dtypes.

Originally created by @MS00-GitIt on GitHub (Dec 11, 2025). Original GitHub issue: https://github.com/p-e-w/heretic/issues/82 ### Bug: Unable to load `ServiceNow-AI/Apriel-1.6-15b-Thinker` (`LlavaConfig` not supported by AutoModelForCausalLM) **Command run:** (heretic) ####@####:~/heretic$ heretic ServiceNow-AI/Apriel-1.6-15b-Thinker **Expected:** Model loads or Heretic reports that Llava-based / multimodal models are unsupported. **Actual:** All dtype attempts fail with `Unrecognized configuration class LlavaConfig` and Heretic exits with `Exception: Failed to load model with all configured dtypes.` --- ### Environment - OS: Bazzite (Fedora-based Linux) - Python: 3.12 (venv) - GPU: NVIDIA RTX 3090 - Heretic version: v1.1.0 - transformers: version bundled with Heretic (shows HF cache deprecation warning) --- ### Full Output (heretic) ####@####:~/heretic$ heretic ServiceNow-AI/Apriel-1.6-15b-Thinker /var/home/####/heretic/.venv/lib/python3.12/site-packages/transformers/utils/hub.py:110: FutureWarning: Using `TRANSFORMERS_CACHE` is deprecated and will be removed in v5 of Transformers. Use `HF_HOME` instead. warnings.warn( █░█░█▀▀░█▀▄░█▀▀░▀█▀░█░█▀▀ v1.1.0 █▀█░█▀▀░█▀▄░█▀▀░░█░░█░█░░ ▀░▀░▀▀▀░▀░▀░▀▀▀░░▀░░▀░▀▀▀ https://github.com/p-e-w/heretic GPU type: NVIDIA GeForce RTX 3090 Loading model ServiceNow-AI/Apriel-1.6-15b-Thinker... * Trying dtype auto... Failed (Unrecognized configuration class <class 'transformers.models.llava.configuration_llava.LlavaConfig'> for this kind of AutoModel: AutoModelForCausalLM. Model type should be one of ApertusConfig, ArceeConfig, AriaTextConfig, BambaConfig, BartConfig, BertConfig, BertGenerationConfig, BigBirdConfig, BigBirdPegasusConfig, BioGptConfig, BitNetConfig, BlenderbotConfig, BlenderbotSmallConfig, BloomConfig, BltConfig, CamembertConfig, LlamaConfig, CodeGenConfig, CohereConfig, Cohere2Config, CpmAntConfig, CTRLConfig, Data2VecTextConfig, DbrxConfig, DeepseekV2Config, DeepseekV3Config, DiffLlamaConfig, DogeConfig, Dots1Config, ElectraConfig, Emu3Config, ErnieConfig, Ernie4_5Config, Ernie4_5_MoeConfig, Exaone4Config, FalconConfig, FalconH1Config, FalconMambaConfig, FlexOlmoConfig, FuyuConfig, GemmaConfig, Gemma2Config, Gemma3Config, Gemma3TextConfig, Gemma3nConfig, Gemma3nTextConfig, GitConfig, GlmConfig, Glm4Config, Glm4MoeConfig, GotOcr2Config, GPT2Config, GPTBigCodeConfig, GPTNeoConfig, GPTNeoXConfig, GPTNeoXJapaneseConfig, GptOssConfig, GPTJConfig, GraniteConfig, GraniteMoeConfig, GraniteMoeHybridConfig, GraniteMoeSharedConfig, HeliumConfig, HunYuanDenseV1Config, HunYuanMoEV1Config, JambaConfig, JetMoeConfig, Lfm2Config, Llama4Config, Llama4TextConfig, LongcatFlashConfig, MambaConfig, Mamba2Config, MarianConfig, MBartConfig, MegaConfig, MegatronBertConfig, MiniMaxConfig, MinistralConfig, MistralConfig, MixtralConfig, MllamaConfig, ModernBertDecoderConfig, MoshiConfig, MptConfig, MusicgenConfig, MusicgenMelodyConfig, MvpConfig, NemotronConfig, OlmoConfig, Olmo2Config, Olmo3Config, OlmoeConfig, OpenLlamaConfig, OpenAIGPTConfig, OPTConfig, PegasusConfig, PersimmonConfig, PhiConfig, Phi3Config, Phi4MultimodalConfig, PhimoeConfig, PLBartConfig, ProphetNetConfig, QDQBertConfig, Qwen2Config, Qwen2MoeConfig, Qwen3Config, Qwen3MoeConfig, Qwen3NextConfig, RecurrentGemmaConfig, ReformerConfig, RemBertConfig, RobertaConfig, RobertaPreLayerNormConfig, RoCBertConfig, RoFormerConfig, RwkvConfig, SeedOssConfig, SmolLM3Config, Speech2Text2Config, StableLmConfig, Starcoder2Config, TransfoXLConfig, TrOCRConfig, VaultGemmaConfig, WhisperConfig, XGLMConfig, XLMConfig, XLMProphetNetConfig, XLMRobertaConfig, XLMRobertaXLConfig, XLNetConfig, xLSTMConfig, XmodConfig, ZambaConfig, Zamba2Config.) * Trying dtype float16... Failed (same LlavaConfig error) * Trying dtype bfloat16... Failed (same LlavaConfig error) * Trying dtype float32... Failed (same LlavaConfig error) Traceback: Exception: Failed to load model with all configured dtypes.
bsakaguchi 2026-11-01 04:16:54 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@p-e-w commented on GitHub (Oct 12, 2026):

We now have intelligent support for multimodal models, so this almost certainly works now.

<!-- gh-comment-id:6124577967 --> @p-e-w commented on GitHub (Oct 12, 2026): We now have intelligent support for multimodal models, so this almost certainly works now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
p-e-w/heretic#42
No description provided.