Skip to content

Commit 45f2b33

Browse files
authored
Update DeepSeek Examples (#1175)
SUMMARY: - Update deepseek examples with a note about transformers 4.49 for release
1 parent 4a34d0c commit 45f2b33

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/quantizing_moe/deepseek_moe_w4a16.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from llmcompressor.transformers import oneshot
66
from llmcompressor.transformers.compression.helpers import calculate_offload_device_map
77

8-
# NOTE: transformers 4.48.0 has an import error with DeepSeek.
8+
# NOTE: transformers 4.49.0 has an attribute error with DeepSeek.
99
# Please consider either downgrading your transformers version to a
1010
# previous version or upgrading to a version where this bug is fixed
1111

examples/quantizing_moe/deepseek_moe_w8a8_fp8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from llmcompressor.modifiers.quantization import QuantizationModifier
55
from llmcompressor.transformers import oneshot
66

7-
# NOTE: transformers 4.48.0 has an import error with DeepSeek.
7+
# NOTE: transformers 4.49.0 has an attribute error with DeepSeek.
88
# Please consider either downgrading your transformers version to a
99
# previous version or upgrading to a version where this bug is fixed
1010

examples/quantizing_moe/deepseek_moe_w8a8_int8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from llmcompressor.transformers import oneshot
77
from llmcompressor.transformers.compression.helpers import calculate_offload_device_map
88

9-
# NOTE: transformers 4.48.0 has an import error with DeepSeek.
9+
# NOTE: transformers 4.49.0 has an attribute error with DeepSeek.
1010
# Please consider either downgrading your transformers version to a
1111
# previous version or upgrading to a version where this bug is fixed
1212

0 commit comments

Comments
 (0)