Skip to content

Commit 0838a8f

Browse files
authored
Merge branch 'dev' into fix_gdown_fails
2 parents ad3aacb + 6327a86 commit 0838a8f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ sphinxcontrib-serializinghtml
2121
sphinx-autodoc-typehints==1.11.1
2222
pandas
2323
einops
24-
transformers>=4.36.0, <4.41.0; python_version <= '3.10'
24+
transformers>=4.53.0
2525
mlflow>=2.12.2
2626
clearml>=1.10.0rc0
2727
tensorboardX

monai/networks/nets/transchex.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ def __init__(
333333
"chunk_size_feed_forward": chunk_size_feed_forward,
334334
"is_decoder": is_decoder,
335335
"add_cross_attention": add_cross_attention,
336+
"_attn_implementation": "eager",
336337
}
337338
if not (0 <= drop_out <= 1):
338339
raise ValueError("dropout_rate should be between 0 and 1.")

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ tifffile; platform_system == "Linux" or platform_system == "Darwin"
3535
pandas
3636
requests
3737
einops
38-
transformers>=4.36.0, <4.41.0; python_version <= '3.10'
38+
transformers>=4.53.0
3939
mlflow>=2.12.2
4040
clearml>=1.10.0rc0
4141
matplotlib>=3.6.3

0 commit comments

Comments
 (0)