Skip to content

Commit 0476a24

Browse files
disable spurious pylint error E1123
Disable E1123 from conftest.py for BertConfig, LlamaConfig, and GraniteConfig. Signed-off-by: andrea-fasoli <110120121+andrea-fasoli@users.noreply.github.com>
1 parent 0576e82 commit 0476a24

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/models/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@ def input_tiny() -> DataLoader:
14531453

14541454

14551455
tiny_bert_config_params = [
1456-
BertConfig(
1456+
BertConfig( # pylint: disable=unexpected-keyword-arg
14571457
vocab_size=vocab_size, # 30522
14581458
hidden_size=128, # 768
14591459
num_hidden_layers=2, # 12
@@ -1559,7 +1559,7 @@ def bert_linear_names() -> list:
15591559
#############################
15601560

15611561
tiny_llama_config_params = [
1562-
LlamaConfig(
1562+
LlamaConfig( # pylint: disable=unexpected-keyword-arg
15631563
vocab_size=vocab_size, # 32000
15641564
hidden_size=128, # 4096
15651565
intermediate_size=256, # 11008
@@ -1648,7 +1648,7 @@ def llama_linear_names() -> list:
16481648
###############################
16491649

16501650
tiny_granite_config_params = [
1651-
GraniteConfig(
1651+
GraniteConfig( # pylint: disable=unexpected-keyword-arg
16521652
vocab_size=vocab_size, # 32000
16531653
hidden_size=128, # 4096
16541654
intermediate_size=256, # 11008

0 commit comments

Comments
 (0)