Skip to content

Commit

Permalink
FIX [bnb / tests]: Fix currently failing bnb tests (#29092)
Browse files Browse the repository at this point in the history
Update test_mixed_int8.py
  • Loading branch information
younesbelkada authored Feb 19, 2024
1 parent 864c8e6 commit a75a6c9
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 a75a6c9

Please sign in to comment.