Skip to content

Commit a16efba

Browse files
committed
Squashed commit of the following:
commit 58f05dd Merge: a8ba0c7 f4891cf Author: Kaya Unalmis <kayaunalmis@proton.me> Date: Tue Aug 19 19:52:38 2025 -0500 Merge branch 'master' into ku/shard_0 commit a8ba0c7 Author: unalmis <kayaunalmis@proton.me> Date: Tue Aug 19 19:48:28 2025 -0500 Remove test commit f8324cb Author: unalmis <kayaunalmis@proton.me> Date: Tue Aug 19 19:44:30 2025 -0500 Pulling progress from ku/shard on #1773
1 parent 99b7f6f commit a16efba

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

desc/batching.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,7 @@ def _evaluate_in_chunks(
283283
for i, a in enumerate(args)
284284
]
285285
)
286-
# Note that ``num_batches`` in ``_batch_and_remainder``
287-
# is ``n_elements//chunk_size`` which is always positive.
286+
# Note that num_batches in _batch_and_remainder is always positive.
288287
scan_y = _scanmap(vmapped_fun, argnums, reduction, chunk_reduction)(
289288
*scan_x, **kwargs
290289
)

0 commit comments

Comments
 (0)