We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1741526 commit 513861bCopy full SHA for 513861b
src/guidellm/data/loaders.py
@@ -119,6 +119,8 @@ def generator(
119
# This should be fixed at some point.
120
row = preprocessor(row) # type: ignore[assignment]
121
yield row # type: ignore[misc]
122
+ except StopIteration:
123
+ raise # Stop iteration when any dataset is exhausted
124
except Exception as err: # noqa: BLE001 # Exception logged
125
logger.error(f"Skipping data row due to error: {err}")
126
gen_count -= 1
0 commit comments