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。 内核、模型执行和优化实现为二进制扩展。模型、硬件配置和用户 hooks 可编辑。 不需要 opmodel 源码仓;不要求 NPU 即可运行软件仿真。

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

在包含 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.dev6

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

Total release size: 101.8 MB

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

Download URL opmodel-0.3.1.dev6-cp314-cp314-manylinux_2_39_x86_64.whl
Size 25.6 MB
Tags CPython 3.14 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
76a150ce503601ffb0b00ed6f1ce2b9beb5a1bc4c1187b57e9c286a6c20f960b
BLAKE2b-256 checksum
How to use checksums
ea42cadb33bf89e7f5b653874b7819417b140e8edfd52e5be60eb20c233fc886
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.dev6-cp313-cp313-manylinux_2_39_x86_64.whl

Download URL opmodel-0.3.1.dev6-cp313-cp313-manylinux_2_39_x86_64.whl
Size 25.6 MB
Tags CPython 3.13 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
5367cb4b95ca420c1b3042e4953b28b8a4893441a03575ebb3862fc3d081fb63
BLAKE2b-256 checksum
How to use checksums
bdf23c9166a4d587a29ae658307c1f0860e8b5468fc068d5a9be0ba1a97dccb9
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.dev6-cp312-cp312-manylinux_2_39_x86_64.whl

Download URL opmodel-0.3.1.dev6-cp312-cp312-manylinux_2_39_x86_64.whl
Size 25.7 MB
Tags CPython 3.12 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
542f2ceb4bb7b4ae5f58f19510f768d3926df56f0d3fb09d3aba14bab759a0f1
BLAKE2b-256 checksum
How to use checksums
a372608ca9aa4beb17f3ec286e1073d6f58d928ee2c7b623a201f93b41e1b6e5
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.dev6-cp311-cp311-manylinux_2_39_x86_64.whl

Download URL opmodel-0.3.1.dev6-cp311-cp311-manylinux_2_39_x86_64.whl
Size 25.0 MB
Tags CPython 3.11 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
c1c62135c0165661a79a4b916cf3d542cb5cf2a839aa85ae8a7314c259f7710f
BLAKE2b-256 checksum
How to use checksums
f33deadff079b3ef750dd3788ab6ca9a1b345373bd8f2d8c9a2fe5181832fe25
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.dev6

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