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_accelerate.py
+8
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,13 @@ def accelerate( # noqa C901
85
85
save_details: Annotated[
86
86
bool, Option(help="Save detailed, sample per sample, results.", rich_help_panel=HELP_PANEL_NAME_2)
87
87
] =False,
88
+
wandb: Annotated[
89
+
bool,
90
+
Option(
91
+
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/",
92
+
rich_help_panel=HELP_PANEL_NAME_2,
93
+
),
94
+
] =False,
88
95
# === debug ===
89
96
max_samples: Annotated[
90
97
Optional[int], Option(help="Maximum number of samples to evaluate on.", rich_help_panel=HELP_PANEL_NAME_3)
Copy file name to clipboardExpand all lines: src/lighteval/main_endpoint.py
+8
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,13 @@ def inference_endpoint(
87
87
save_details: Annotated[
88
88
bool, Option(help="Save detailed, sample per sample, results.", rich_help_panel=HELP_PANEL_NAME_2)
89
89
] =False,
90
+
wandb: Annotated[
91
+
bool,
92
+
Option(
93
+
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/",
94
+
rich_help_panel=HELP_PANEL_NAME_2,
95
+
),
96
+
] =False,
90
97
# === debug ===
91
98
max_samples: Annotated[
92
99
Optional[int], Option(help="Maximum number of samples to evaluate on.", rich_help_panel=HELP_PANEL_NAME_3)
@@ -109,6 +116,7 @@ def inference_endpoint(
109
116
push_to_tensorboard=push_to_tensorboard,
110
117
public=public_run,
111
118
hub_results_org=results_org,
119
+
wandb=wandb,
112
120
)
113
121
114
122
parallelism_manager=ParallelismManager.NONE# since we're using inference endpoints in remote
Copy file name to clipboardExpand all lines: src/lighteval/main_sglang.py
+8
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,13 @@ def sglang(
78
78
save_details: Annotated[
79
79
bool, Option(help="Save detailed, sample per sample, results.", rich_help_panel=HELP_PANEL_NAME_2)
80
80
] =False,
81
+
wandb: Annotated[
82
+
bool,
83
+
Option(
84
+
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/",
85
+
rich_help_panel=HELP_PANEL_NAME_2,
86
+
),
87
+
] =False,
81
88
# === debug ===
82
89
max_samples: Annotated[
83
90
Optional[int], Option(help="Maximum number of samples to evaluate on.", rich_help_panel=HELP_PANEL_NAME_3)
Copy file name to clipboardExpand all lines: src/lighteval/main_vllm.py
+8
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,13 @@ def vllm(
81
81
save_details: Annotated[
82
82
bool, Option(help="Save detailed, sample per sample, results.", rich_help_panel=HELP_PANEL_NAME_2)
83
83
] =False,
84
+
wandb: Annotated[
85
+
bool,
86
+
Option(
87
+
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/",
88
+
rich_help_panel=HELP_PANEL_NAME_2,
89
+
),
90
+
] =False,
84
91
# === debug ===
85
92
max_samples: Annotated[
86
93
Optional[int], Option(help="Maximum number of samples to evaluate on.", rich_help_panel=HELP_PANEL_NAME_3)
0 commit comments