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 and Ita Zaporozhets committed May 14, 2024
1 parent 81a2cfb commit b340232
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 b340232

Please sign in to comment.