Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

opmodel 独立安装发行版

本开发版的目标为 Linux x86_64、glibc >=2.39、标准 CPython 3.11–3.14, 保留建模、仿真、报告、校验与寻优入口。每个 Python/架构需要对应的 wheel。 框架与内置算子的 Python 实现为二进制扩展,原有入口保留加载包装。 模型定义、硬件 YAML 和用户自己的外部 hooks 可编辑。 不需要 opmodel 源码仓;不要求 NPU 即可运行软件仿真。

内置算子保留定义、运行 hooks、搜索配置、默认输入和实际依赖的成本与校准数据。 cases/*.csv 批量回归数据、纯测试目录与脚本,以及 run_cases.py、 run_cases_exp.py、gen_calib_columns.py 不进入 wheel,仍可在源码仓库使用。 默认 case YAML、数值校验模块、搜索冻结输入和证据校验所需文件继续交付; opmodel-assets export 导出这些建模资源。

全部活动完整算子及必要变体继续交付;公共 Python API 提供17个DT/PR模型, 覆盖MLA、FlashMLA、KDA、GDN、Mixed、QLI、Compressor与FlashAttention。 旧CSA/HCA三个公共ID已移除,完整资源中的历史算子仍保留。资源清单不等于公共API注册表。 内部原理说明、历史实验分析和内部 docstring 不进入发行包。公开使用说明位于 安装包的 accel_model/USAGE.md,命令帮助使用单独审核的文案。 参与运行完整性检查的契约使用公开版本,发行清单校验实际交付字节;历史评分不 作为当前发行验收。

在包含 wheel、SHA256SUMS 的目录执行:

sha256sum -c SHA256SUMS
python3 -m venv .venv
.venv/bin/python -m pip install ./opmodel-*.whl
.venv/bin/opmodel-assets list
.venv/bin/opmodel-assets export --output ./models
export OPMODEL_WORKSPACE="$PWD/work"
mkdir -p "$OPMODEL_WORKSPACE"

输出目录与导出目录应独立于安装目录。依赖为 SimPy 4.1.2、PyYAML 6.0.3、 NumPy >=2.2.6,<3;pip 根据 Python 版本选择兼容依赖。离线安装须准备适合 目标 Python/平台的依赖 wheels,然后使用 pip install --no-index --find-links ./wheelhouse ./opmodel-*.whl。 平台标签为 manylinux_2_39,要求同架构且 glibc >=2.39;不支持 ARM、musl、Windows、 macOS、PyPy 和自由线程 CPython。未来 Python 版本需要新增并验收对应 wheel。

外部模型目录可直接传入 opmodel 或 accel_model.app.case.native_case.run_native_case。 物理模型的 definition/ 包含 operator.yaml、dag.yaml、split.yaml 和完整成本定义; 自定义 Python 模型与 hooks 使用用户自己的工作目录,无需写入 site-packages。

.venv/bin/opmodel models/operators/dag/matmul
.venv/bin/python -m accel_model.app.cli.dag_run --help
.venv/bin/python -m accel_model.app.cli.split_run --help
.venv/bin/python -m accel_model.app.cli.graph_search --help
.venv/bin/python -m accel_model.app.cli.agent_search --help

物理模型、SimPy/Replay、语义/数值校验及搜索配置须符合本发行版的接口契约; 接口可用不代表任意模型和参数组合都受支持。设备测量、外部独立 L2 校验库等 仍需相应外部依赖。合成用例只验证软件链路,不代表设备预测精度。

升级时应使用本发行版的版本和 SHA256重新验证安装环境。

Metadata

Release files for opmodel 0.3.1.dev8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for opmodel 0.3.1.dev8
File Actions
opmodel-0.3.1.dev8-cp314-cp314-manylinux_2_39_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.39+ x86-64 Details for opmodel-0.3.1.dev8-cp314-cp314-manylinux_2_39_x86_64.whl
opmodel-0.3.1.dev8-cp313-cp313-manylinux_2_39_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.39+ x86-64 Details for opmodel-0.3.1.dev8-cp313-cp313-manylinux_2_39_x86_64.whl
opmodel-0.3.1.dev8-cp312-cp312-manylinux_2_39_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.39+ x86-64 Details for opmodel-0.3.1.dev8-cp312-cp312-manylinux_2_39_x86_64.whl
opmodel-0.3.1.dev8-cp311-cp311-manylinux_2_39_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.39+ x86-64 Details for opmodel-0.3.1.dev8-cp311-cp311-manylinux_2_39_x86_64.whl

Total release size: 179.4 MB

Release files / opmodel-0.3.1.dev8-cp314-cp314-manylinux_2_39_x86_64.whl

Download URL opmodel-0.3.1.dev8-cp314-cp314-manylinux_2_39_x86_64.whl
Size 45.1 MB
Tags CPython 3.14 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
3b50d44ba7a7d438ecf5d65a0041a85a1d142a92a40f7310d4b419076ddd9b19
BLAKE2b-256 checksum
How to use checksums
0f4a0c185bbd1c3188978ee63b105bf6a1aef352d6489c0aecbe5238f948a14f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / opmodel-0.3.1.dev8-cp313-cp313-manylinux_2_39_x86_64.whl

Download URL opmodel-0.3.1.dev8-cp313-cp313-manylinux_2_39_x86_64.whl
Size 45.0 MB
Tags CPython 3.13 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
d96d704f42d8200540e0dfbfc83062a2396b26179fc4d539f1bf7b41068c5d6f
BLAKE2b-256 checksum
How to use checksums
de0446052fd782d55446262c8f516020125ba9ae1edcceed259778e3b0df092a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / opmodel-0.3.1.dev8-cp312-cp312-manylinux_2_39_x86_64.whl

Download URL opmodel-0.3.1.dev8-cp312-cp312-manylinux_2_39_x86_64.whl
Size 45.3 MB
Tags CPython 3.12 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
ca017b43b9e3c1cbd3a0c6c34367e31367b07f81bf8591cbdcb02e1c718dbe84
BLAKE2b-256 checksum
How to use checksums
6c8eca7586df490665ab3056850a15d4b6b859f7193fc4ccb0d6bab9887666e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / opmodel-0.3.1.dev8-cp311-cp311-manylinux_2_39_x86_64.whl

Download URL opmodel-0.3.1.dev8-cp311-cp311-manylinux_2_39_x86_64.whl
Size 44.0 MB
Tags CPython 3.11 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
00533733b19108f82d7fc24b7ae5217aa890cb3e9fe62aff0f4b323b9d98bfaa
BLAKE2b-256 checksum
How to use checksums
9cb25753f184197381beef6144c3145fc835f0bd56135354ef074dc78caf4458
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for opmodel 0.3.1.dev8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page