diff --git a/tests/quantization/bnb/test_4bit.py b/tests/quantization/bnb/test_4bit.py index 782e9a082fd7df..39d5598e37576a 100644 --- a/tests/quantization/bnb/test_4bit.py +++ b/tests/quantization/bnb/test_4bit.py @@ -43,7 +43,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 elif model.config.model_type == "opt": try: