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 a49c0a4 commit b38b3f5Copy full SHA for b38b3f5
jetstream/core/orchestrator.py
@@ -156,7 +156,9 @@ class ActiveRequest:
156
generate_timestep_added: Optional[int] = None
157
is_client_side_tokenization: Optional[bool] = False
158
################## Information relevant for metrics ###################
159
- metadata: ActiveRequestMetadata = ActiveRequestMetadata()
+ metadata: ActiveRequestMetadata = dataclasses.field(
160
+ default_factory=ActiveRequestMetadata
161
+ )
162
163
def enqueue_samples(self, generated_samples: list[ReturnSample]):
164
"""Adds the generated sample(s) to return channel for current step.
0 commit comments