Commit 100ddc1
Fix runners.py to use functools.partial instead of removed unroll_kwargs
The unroll_kwargs parameter was removed from bm.for_loop() as it was never
actually implemented. Updated runners.py to use functools.partial() to bind
shared_args to _step_func_predict, following the pattern already used in
train/online.py.
Changes:
- Added functools import
- Changed for_loop call to use functools.partial(self._step_func_predict, shared_args=shared_args)
- Removed unroll_kwargs={'shared_args': shared_args} which was non-functional
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 1c70d4a commit 100ddc1
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
662 | 663 | | |
663 | 664 | | |
664 | 665 | | |
665 | | - | |
| 666 | + | |
666 | 667 | | |
667 | 668 | | |
668 | | - | |
669 | 669 | | |
0 commit comments