Skip to content

Commit d27d4d9

Browse files
Merge pull request #206 from gkumbhat/update_torch_2_11
chore: Update torch to 2.11
2 parents 308643f + 0476a24 commit d27d4d9

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies = [
2525
"numpy>=1.26.4,<2.3.0",
2626
"accelerate>=0.20.3,!=0.34,<1.11",
2727
"transformers>4.45,<5.9",
28-
"torch>=2.2.0,<2.11.0",
28+
"torch>=2.2.0,<2.12.0",
2929
"tqdm>=4.66.2,<5.0",
3030
"datasets>=3.0.0,<5.0",
3131
"pandas",

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)