* forgot to push the changes for 4bit .. * trigger CI
This commit is contained in:
@@ -43,7 +43,7 @@ from transformers.testing_utils import (
|
||||
|
||||
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user