MCPcopy Create free account
hub / github.com/FlashSampling/FlashSampling / assign_col_samples_per_ms

Function assign_col_samples_per_ms

benchmarking/plot-triton-bench.py:429–430  ·  view source on GitHub ↗
(df: pd.DataFrame)

Source from the content-addressed store, hash-verified

427
428
429def assign_col_samples_per_ms(df: pd.DataFrame) -> pd.DataFrame:
430 return df.assign(**{"samples/ms": lambda df: df["n_hidden_states"] / df["time[ms]"]})
431
432
433def plot_relative_performance_from_wide(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected