Skip to content

Commit

Permalink
FIX [bnb / tests]: Fix currently failing bnb tests (huggingface#2…
Browse files Browse the repository at this point in the history
…9092)

Update test_mixed_int8.py
  • Loading branch information
younesbelkada authored and zucchini-nlp committed Feb 19, 2024
1 parent 1df37a1 commit 457945f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/quantization/bnb/test_mixed_int8.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@


def get_some_linear_layer(model):
if model.config.model_type == "openai-community/gpt2":
if model.config.model_type == "gpt2":
return model.transformer.h[0].mlp.c_fc
return model.transformer.h[0].mlp.dense_4h_to_h

Expand Down

0 comments on commit 457945f

Please sign in to comment.