Observed since 20 Oct, 17:55 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
accelrod
A library for benchmarking the tflops of accelerators
pip install -U accelrod
[all] includes nbformat to visualize the result in notebook
pip install -U accelrod[all]
import torch
from accelrod.benchmark import benchrun, plot_result
# without max_dimension, the matrix size will be determined based on available VRAM
result = benchrun(
algorithm="GEMM",
device="auto",
as_dataframe="pandas",
params={
# "max_dimension": 2048,
"dtype": [torch.float32, torch.float16, torch.bfloat16],
},
)
# plot in notebook
import plotly.offline as pyo
pyo.init_notebook_mode()
plot_result(result)
Sync the project's dependencies with the environment.
uv sync
lock dependencies declared in a pyproject.toml
uv pip compile pyproject.toml -o requirements.txt
uv add --dev ruff pytest
uv pip install -e .[all,dev]
uv pip install dist/accelrod-0.1.0-py3-none-any.whl uv run --with accelrod --no-project --refresh-package accelrod -- python -c "import accelrod"
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
matplotlibEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | matplotlib>=3.10.0 | runtime |
pandasEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | pandas>=2.2.3 | runtime |
plotlyEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | plotly>=6.0.0 | runtime |
torchEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | torch>=2.5.1 | runtime |
torchvisionEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | torchvision>=0.20.1 | runtime |
bdist_wheel · 9.32 KB · Python py3
sdist · 8.83 KB · Python source
Observed since 20 Oct, 17:55 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:f705f7d0ae1d251f9cbb29dc2338be7149ac2881591c596c4badadd69322b6fc