Skip to content

Commit eb1f241

Browse files
committed
remove rand prefix
1 parent 433d39c commit eb1f241

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/guidellm/dataset/synthetic.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,13 @@ def _create_unique_prefix(self, request_id: int) -> str:
227227
Create a unique prefix that will never match any other request.
228228
"""
229229

230-
timestamp = int(time.time() * 1000000) # microseconds
230+
# microseconds
231+
timestamp = int(time.time() * 1000000)
231232
random.seed(request_id + timestamp)
232233
random_component = random.randint(100000, 999999)
233234

234235
prefix_parts = [
235-
f"RAND{random_component}",
236+
f"{random_component}",
236237
]
237238

238239
return f"{'_'.join(prefix_parts)}: "

0 commit comments

Comments
 (0)