Skip to content

Commit

Permalink
revert dampening frac
Browse files Browse the repository at this point in the history
  • Loading branch information
kylesayrs committed Dec 13, 2024
1 parent aa532b5 commit 19e4f97
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion examples/multimodal_vision/mllama.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
from transformers import AutoProcessor

from llmcompressor.modifiers.quantization import GPTQModifier
from llmcompressor.pytorch.data_collator import DataCollator

# from llmcompressor.pytorch.data_collator import DataCollator
from llmcompressor.transformers import oneshot
from llmcompressor.transformers.tracing import TracableMllamaForConditionalGeneration

Expand Down
4 changes: 2 additions & 2 deletions examples/multimodal_vision/pixtral.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
from transformers import AutoProcessor

from llmcompressor.modifiers.quantization import GPTQModifier
from llmcompressor.pytorch.data_collator import DataCollator

# from llmcompressor.pytorch.data_collator import DataCollator
from llmcompressor.transformers import oneshot
from llmcompressor.transformers.tracing import TracableLlavaForConditionalGeneration

Expand Down Expand Up @@ -40,7 +41,6 @@ def data_collator(batch):
scheme="W8A8",
ignore=["re:.*lm_head", "re:vision_tower.*", "re:multi_modal_projector.*"],
sequential_targets=["MistralDecoderLayer"],
dampening_frac=100.0,
),
]

Expand Down
2 changes: 1 addition & 1 deletion src/llmcompressor/transformers/tracing/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .llava import TracableLlavaForConditionalGeneration
from .mllama import TracableMllamaForConditionalGeneration
from .mistral import TracableMistralForCausalLM
from .mllama import TracableMllamaForConditionalGeneration

__all__ = [
"TracableLlavaForConditionalGeneration",
Expand Down

0 comments on commit 19e4f97

Please sign in to comment.