accelforge
AccelForge
What it is and what it does
AccelForge is a Python framework for modeling and optimizing tensor algebra accelerators. It provides a full-stack modeling environment where you define hardware architectures (with multiple compute unit types), tensor workloads (expressed as Einsums), and mappings between them, then uses the HWComponents backend to estimate area, energy, power, and throughput costs. The framework handles fusion-aware optimization, meaning it can optimize across cascades of tensor operations to find the best end-to-end performance and energy efficiency.
The package is built on established scientific Python libraries (numpy, pandas, sympy, symengine) for numerical and symbolic computation, Pydantic for input validation, and visualization tools (matplotlib, plotly) for design exploration. It's intended for researchers and hardware engineers designing accelerators, optimizing tensor workloads, or exploring the design space of specialized compute hardware.
Use it for:
- Design and evaluate custom tensor accelerator architectures for deep learning or scientific computing workloads
- Optimize tensor operation mappings and fusion strategies to minimize energy and area on fixed hardware
- Explore trade-offs between compute unit types, memory hierarchies, and interconnect topologies
- Validate accelerator designs against real workloads before hardware implementation
- Automate accelerator design space exploration and sensitivity analysis via Python scripting
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
AccelForge models, designs, and explores tensor algebra accelerators by integrating hardware component cost modeling with workload mapping and optimization.
Yes, if you are designing or researching tensor accelerators and need a framework for full-stack modeling and workload optimization. The package is actively maintained, has low installation friction, and integrates well with the HWComponents ecosystem. However, verify the license terms first, and be prepared for a substantial dependency footprint. Not suitable for general-purpose tensor computation—use it for accelerator design and exploration, not as a replacement for PyTorch or TensorFlow.
Install
accelforge on PyPI
pip
pip install accelforgeuv
uv add accelforgepoetry
poetry add accelforgeInstalling accelforge
Before you install
Low friction installation with a pure-Python wheel. Active maintenance as of late July 2026, though repository metadata is not publicly available. The 22 runtime dependencies include established libraries (numpy, pandas, pydantic) and specialized hardware modeling packages (hwcomponents suite), which may require careful environment setup.
License in practice
License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Before adopting this package in a commercial or restricted context, verify the actual license terms from the project repository or maintainers.
Quickstart
pip install accelforge
import accelforge
# See examples/ and notebooks/ directories in the repository for architecture and workload specifications
Requires Python >= 3.8. The hwcomponents backend and its specialized variants (adc, cacti, library, neurosim) may have additional system or environment requirements not documented in this package's metadata.
Verify before relying
- Exact license type and any redistribution or commercial-use restrictions
- Whether hwcomponents and its variants require external system dependencies or configuration
- Performance characteristics and scalability limits for large accelerator designs
- Maturity level and API stability guarantees for the modeling framework
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 22 — numpy, pandas, tqdm, pydantic, pydantic_core, ruamel.yaml, jinja2, islpy-barvinok, sympy, symengine, paretoset, matplotlib, plotly, pydot, platformdirs, joblib, requests, hwcomponents, hwcomponents-adc, hwcomponents-cacti, hwcomponents-library, hwcomponents-neurosim |
| Maintenance | actively maintained — 31 days since the last release |
| First released | |
| Downloads | 92,023/month — #13,487 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: accelforge-1.0.467-py3-none-any.whl
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
cloud-accelerator-diagnosticsMonitors, debugs, and profiles workloads…
unclear · top 15,000 on PyPI
transformer-engine-cu13Accelerates Transformer model training and…
unclear · top 15,000 on PyPI
transformer-engine-cu12Accelerates Transformer model training and…
unclear · top 15,000 on PyPI
transformer-engineTransformer Engine accelerates Transformer…
unclear · top 15,000 on PyPI
tensorflow-intelIntel-optimized TensorFlow for Windows that…
permissive · top 15,000 on PyPI
opt-einsumOptimizes the contraction order of einsum…
permissive · top 1,000 on PyPI
fa3-fwdProvides a lightweight Flash-Attention-3…
permissive · top 15,000 on PyPI
nvidia-cusparseProvides NVIDIA CUSPARSE native runtime…
unclear · top 1,000 on PyPI
nvidia-cusparse-cu12Provides NVIDIA CUSPARSE native runtime…
unclear · top 1,000 on PyPI
spandrel-extra-archesRegisters additional PyTorch model…
permissive · top 15,000 on PyPI