experiment: add per-gpu workload control
This commit is contained in:
@@ -91,6 +91,10 @@ def vector_sha256(rows: Iterable[dict[str, Any]]) -> str:
|
||||
return digest.hexdigest()
|
||||
|
||||
|
||||
def rho_label(rho: float) -> str:
|
||||
return f"rho{format(rho, '.12g').replace('.', 'p')}"
|
||||
|
||||
|
||||
def load_source(
|
||||
public_path: Path | None, private_path: Path
|
||||
) -> list[dict[str, Any]]:
|
||||
@@ -377,8 +381,7 @@ def main() -> None:
|
||||
target_rate=target_rate,
|
||||
fixed_token_ids=fixed_token_ids,
|
||||
)
|
||||
rho_label = f"rho{rho:.2f}".replace(".", "p")
|
||||
root = args.output_root / family.name / rho_label
|
||||
root = args.output_root / family.name / rho_label(rho)
|
||||
cases.append(
|
||||
write_case(
|
||||
root,
|
||||
|
||||
Reference in New Issue
Block a user