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

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.3
File Actions
opmodel-0.3.3-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.3-cp314-cp314-manylinux_2_39_x86_64.whl
opmodel-0.3.3-cp314-cp314-manylinux_2_39_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.39+ ARM64 Details for opmodel-0.3.3-cp314-cp314-manylinux_2_39_aarch64.whl
opmodel-0.3.3-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.3-cp313-cp313-manylinux_2_39_x86_64.whl
opmodel-0.3.3-cp313-cp313-manylinux_2_39_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.39+ ARM64 Details for opmodel-0.3.3-cp313-cp313-manylinux_2_39_aarch64.whl
opmodel-0.3.3-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.3-cp312-cp312-manylinux_2_39_x86_64.whl
opmodel-0.3.3-cp312-cp312-manylinux_2_39_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.39+ ARM64 Details for opmodel-0.3.3-cp312-cp312-manylinux_2_39_aarch64.whl
opmodel-0.3.3-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.3-cp311-cp311-manylinux_2_39_x86_64.whl
opmodel-0.3.3-cp311-cp311-manylinux_2_39_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.39+ ARM64 Details for opmodel-0.3.3-cp311-cp311-manylinux_2_39_aarch64.whl

Total release size: 356.6 MB

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

Download URL opmodel-0.3.3-cp314-cp314-manylinux_2_39_x86_64.whl
Size 46.1 MB
Tags CPython 3.14 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
d88d2b2a5092a113a92de6765698adcc82aaa93b42450121d977f8afacbebb66
BLAKE2b-256 checksum
How to use checksums
b85485e3c8b2e2f0efadb7fdec03f7fef01c9ce43befda6db01e3b91b81e625a
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.3-cp314-cp314-manylinux_2_39_aarch64.whl

Download URL opmodel-0.3.3-cp314-cp314-manylinux_2_39_aarch64.whl
Size 43.5 MB
Tags CPython 3.14 Linux glibc 2.39+ ARM64
SHA-256 checksum
How to use checksums
178bf1532f08d154d9de91014298f30b51ae88b4423a09fa21f2d0765bbe3778
BLAKE2b-256 checksum
How to use checksums
bdd3ce9a0326e8f2060488e8176a572cae801d8facedace403b68d059d0934e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / opmodel-0.3.3-cp313-cp313-manylinux_2_39_x86_64.whl

Download URL opmodel-0.3.3-cp313-cp313-manylinux_2_39_x86_64.whl
Size 46.0 MB
Tags CPython 3.13 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
ff81d661d90df27278435304c6d1b6a00ea8a7013562ada7bb44cc2aab011a17
BLAKE2b-256 checksum
How to use checksums
41816a35312953dd2dd4ae07d82ac64a1b7d836f2a0a93eb465794669517544b
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.3-cp313-cp313-manylinux_2_39_aarch64.whl

Download URL opmodel-0.3.3-cp313-cp313-manylinux_2_39_aarch64.whl
Size 43.2 MB
Tags CPython 3.13 Linux glibc 2.39+ ARM64
SHA-256 checksum
How to use checksums
bd1e79a666c9c18e1be3277c146d4c08cd262f6757b499119a48b10f7cbe3f7f
BLAKE2b-256 checksum
How to use checksums
2916e855f66f4465a1fa585d5e0b552ec82f452dbf2d988e504f903f08a23de4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / opmodel-0.3.3-cp312-cp312-manylinux_2_39_x86_64.whl

Download URL opmodel-0.3.3-cp312-cp312-manylinux_2_39_x86_64.whl
Size 46.3 MB
Tags CPython 3.12 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
1e5fcdbfeb7281c6fd7c116010b03378b81507d4fae6f2a9145553393165a0a4
BLAKE2b-256 checksum
How to use checksums
6803cdfad41b66a2e55a2b2f2c97e30b7beacaf1f659054f07b74c4c3352a199
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.3-cp312-cp312-manylinux_2_39_aarch64.whl

Download URL opmodel-0.3.3-cp312-cp312-manylinux_2_39_aarch64.whl
Size 43.6 MB
Tags CPython 3.12 Linux glibc 2.39+ ARM64
SHA-256 checksum
How to use checksums
85282dd57f325c69adb2f2a9f1e1daa2b0fec4cd0e076e05f3c17f3856046224
BLAKE2b-256 checksum
How to use checksums
53740f2d15c7ede14db57c4f27cf830ee2b1a525428e765edfecf79001f1f493
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / opmodel-0.3.3-cp311-cp311-manylinux_2_39_x86_64.whl

Download URL opmodel-0.3.3-cp311-cp311-manylinux_2_39_x86_64.whl
Size 45.0 MB
Tags CPython 3.11 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
074103b37683a0fe9417256e3ea99fb61aa7ab5e39487bdc9e11f18f1e364da2
BLAKE2b-256 checksum
How to use checksums
31075b7957d79524ed508a756eab4af51c525005b799f7550703a808e662183c
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.3-cp311-cp311-manylinux_2_39_aarch64.whl

Download URL opmodel-0.3.3-cp311-cp311-manylinux_2_39_aarch64.whl
Size 42.8 MB
Tags CPython 3.11 Linux glibc 2.39+ ARM64
SHA-256 checksum
How to use checksums
359603e68c58a708441efa9f3183105dacd798ded841216dffbe715ace10b794
BLAKE2b-256 checksum
How to use checksums
1a8d0e5553bba0e5ca5f6fd355c3c1bd9d6e3b41f929c46b33c5443a1aee6c92
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.3

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