Skip to main content

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.2

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.2
File Actions
opmodel-0.3.2-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.2-cp314-cp314-manylinux_2_39_x86_64.whl
opmodel-0.3.2-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.2-cp313-cp313-manylinux_2_39_x86_64.whl
opmodel-0.3.2-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.2-cp312-cp312-manylinux_2_39_x86_64.whl
opmodel-0.3.2-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.2-cp311-cp311-manylinux_2_39_x86_64.whl

Total release size: 180.0 MB

Release files / opmodel-0.3.2-cp314-cp314-manylinux_2_39_x86_64.whl

Download URL opmodel-0.3.2-cp314-cp314-manylinux_2_39_x86_64.whl
Size 45.2 MB
Tags CPython 3.14 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
674b8bb57aa2acf833cdc3c6297420cba300e6460bb4d57f507fbcb96cecb2a2
BLAKE2b-256 checksum
How to use checksums
bd750015b61296175ee8998b7748c8a77aa75117a7feaf0c8e7b592bdc83aa8d
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.2-cp313-cp313-manylinux_2_39_x86_64.whl

Download URL opmodel-0.3.2-cp313-cp313-manylinux_2_39_x86_64.whl
Size 45.2 MB
Tags CPython 3.13 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
bf02ed73e9342c348bc7b7c79d13232aaa10cd110b720363917bb49fbe11b45e
BLAKE2b-256 checksum
How to use checksums
7228259485d4d0339e2ce7ee6d7c4f3c5395d624d341074f07541c174e3f5da3
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.2-cp312-cp312-manylinux_2_39_x86_64.whl

Download URL opmodel-0.3.2-cp312-cp312-manylinux_2_39_x86_64.whl
Size 45.4 MB
Tags CPython 3.12 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
9b4dfab572552c9b55fd32a58cfe4c758335ba0e6754e126025f361959ea2d06
BLAKE2b-256 checksum
How to use checksums
0e3738c1a99e59c45e8b237b0fa0ac0e682bcadb9e6646e07193de147715b7a0
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.2-cp311-cp311-manylinux_2_39_x86_64.whl

Download URL opmodel-0.3.2-cp311-cp311-manylinux_2_39_x86_64.whl
Size 44.2 MB
Tags CPython 3.11 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
55ef1dacb08da2780c06edc1343b5a4fe690e3552f96ea7577ff86907c8d0758
BLAKE2b-256 checksum
How to use checksums
a1c17707a2ea94feab925bd53f0ba8628423573253fb7a18a6a1261bc7f04ac4
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.2

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