Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion unsloth/models/vision.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ def from_pretrained(
bnb_config.get_loading_attributes = lambda *args, **kwargs: {}

# Cannot be None, since HF now checks for the config
if load_in_4bit:
if load_in_4bit or load_in_8bit:
# Ignore load_in_4bit / load_in_8bit for MXFP4 - best to get config file
if "gpt-oss-20b" in model_name.lower() or "gpt-oss-120b" in model_name.lower():
pass
Expand Down