Skip to content

Commit 4fbcf9b

Browse files
committed
fix batch size
1 parent ff91678 commit 4fbcf9b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
matrix:
1717
os: [ubuntu-latest]
1818
python: ['3.11', '3.12']
19-
transformers: ['4.48.3', '4.50.3', 'main']
19+
transformers: ['4.48.3', '4.51.1', 'main']
2020
torch: ['2.6', 'main']
2121

2222
steps:

_doc/recipes/plot_dynamic_shapes_max.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def forward(self, x, y, fact):
7878
def make_undefined_dimension(i: int) -> torch.SymInt:
7979
"""
8080
Uses for a custom op when a new dimension must be introduced to bypass
81-
some verficiation. The following function creates a dummy output
81+
some verification. The following function creates a dummy output
8282
with a dimension based on the content.
8383
8484
.. code-block:: python

_unittests/ut_torch_export_patches/test_onnx_export_errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def forward(self, x: torch.Tensor, cache: MambaCache):
114114
DYN = torch.export.Dim.DYNAMIC
115115

116116
with bypass_export_some_errors():
117-
cache = MambaCache(_config(), max_batch_size=1, device="cpu")
117+
cache = MambaCache(_config(), max_batch_size=2, device="cpu")
118118
torch.export.export(
119119
Model(),
120120
(x, cache),

0 commit comments

Comments
 (0)