You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The method calculate_offload_device_map fails with Mistral-Small-3.1-24B-Instruct-2503 due to a ValueError "Could not find targets ['Mistral3VisionAttention'] in module Mistral3ForConditionalGeneration".
(I was able to trace back the error and it comes from the method match_layers_params called with targets='Mistral3VisionAttention').
Expected behavior
I would expect the calculate_offload_device_map to output a device_map.
Environment
Include all relevant environment information:
OS : Debian 12
Python version : 3.11
LLM Compressor version or commit hash: 0.5.1
ML framework version(s) [e.g. torch 2.3.1]: torch : 2.7.0+cu118
Describe the bug
The method
calculate_offload_device_map
fails with Mistral-Small-3.1-24B-Instruct-2503 due to a ValueError "Could not find targets ['Mistral3VisionAttention'] in module Mistral3ForConditionalGeneration".(I was able to trace back the error and it comes from the method
match_layers_params
called withtargets='Mistral3VisionAttention'
).Expected behavior
I would expect the
calculate_offload_device_map
to output a device_map.Environment
Include all relevant environment information:
To Reproduce
Errors
The text was updated successfully, but these errors were encountered: