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

Function _provider_markers

benchmarking/plot-triton-bench.py:67–70  ·  view source on GitHub ↗

Return a marker mapping for the providers present in the data.

(providers: pd.Series | list[str])

Source from the content-addressed store, hash-verified

65
66
67def _provider_markers(providers: pd.Series | list[str]) -> dict[str, str]:
68 """Return a marker mapping for the providers present in the data."""
69 unique = providers if isinstance(providers, list) else providers.unique()
70 return {p: PROVIDER_MARKERS[p] for p in unique}
71
72
73def read_metadata(folder: Path) -> dict:

Callers 2

plot_batch_scalingFunction · 0.85
plot_memory_throughputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected