"sgl-kernel/git@developer.sourcefind.cn:change/sglang.git" did not exist on "91b3555d2d29d33460466f41d2a6919795406f8e"
Unverified Commit a75a6c93 authored by Younes Belkada's avatar Younes Belkada Committed by GitHub
Browse files

FIX [`bnb` / `tests`]: Fix currently failing bnb tests (#29092)

Update test_mixed_int8.py
parent 864c8e6e
...@@ -42,7 +42,7 @@ from transformers.testing_utils import ( ...@@ -42,7 +42,7 @@ from transformers.testing_utils import (
def get_some_linear_layer(model): 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.c_fc
return model.transformer.h[0].mlp.dense_4h_to_h return model.transformer.h[0].mlp.dense_4h_to_h
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment