You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/lighteval/main_endpoint.py
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -200,6 +200,13 @@ def tgi(
200
200
save_details: Annotated[
201
201
bool, Option(help="Save detailed, sample per sample, results.", rich_help_panel=HELP_PANEL_NAME_2)
202
202
] =False,
203
+
wandb: Annotated[
204
+
bool,
205
+
Option(
206
+
help="Push results to wandb. This will only work if you have wandb installed and logged in. We use env variable to configure wandb. see here: https://docs.wandb.ai/guides/track/environment-variables/",
207
+
rich_help_panel=HELP_PANEL_NAME_2,
208
+
),
209
+
] =False,
203
210
# === debug ===
204
211
max_samples: Annotated[
205
212
Optional[int], Option(help="Maximum number of samples to evaluate on.", rich_help_panel=HELP_PANEL_NAME_3)
@@ -225,6 +232,7 @@ def tgi(
225
232
push_to_tensorboard=push_to_tensorboard,
226
233
public=public_run,
227
234
hub_results_org=results_org,
235
+
wandb=wandb,
228
236
)
229
237
230
238
parallelism_manager=ParallelismManager.TGI
@@ -312,6 +320,13 @@ def litellm(
312
320
save_details: Annotated[
313
321
bool, Option(help="Save detailed, sample per sample, results.", rich_help_panel=HELP_PANEL_NAME_2)
314
322
] =False,
323
+
wandb: Annotated[
324
+
bool,
325
+
Option(
326
+
help="Push results to wandb. This will only work if you have wandb installed and logged in. We use env variable to configure wandb. see here: https://docs.wandb.ai/guides/track/environment-variables/",
327
+
rich_help_panel=HELP_PANEL_NAME_2,
328
+
),
329
+
] =False,
315
330
# === debug ===
316
331
max_samples: Annotated[
317
332
Optional[int], Option(help="Maximum number of samples to evaluate on.", rich_help_panel=HELP_PANEL_NAME_3)
@@ -337,6 +352,7 @@ def litellm(
337
352
push_to_tensorboard=push_to_tensorboard,
338
353
public=public_run,
339
354
hub_results_org=results_org,
355
+
wandb=wandb,
340
356
)
341
357
342
358
parallelism_manager=ParallelismManager.NONE
@@ -422,6 +438,13 @@ def inference_providers(
422
438
save_details: Annotated[
423
439
bool, Option(help="Save detailed, sample per sample, results.", rich_help_panel=HELP_PANEL_NAME_2)
424
440
] =False,
441
+
wandb: Annotated[
442
+
bool,
443
+
Option(
444
+
help="Push results to wandb. This will only work if you have wandb installed and logged in. We use env variable to configure wandb. see here: https://docs.wandb.ai/guides/track/environment-variables/",
445
+
rich_help_panel=HELP_PANEL_NAME_2,
446
+
),
447
+
] =False,
425
448
# === debug ===
426
449
max_samples: Annotated[
427
450
Optional[int], Option(help="Maximum number of samples to evaluate on.", rich_help_panel=HELP_PANEL_NAME_3)
0 commit comments