Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.3.1.dev6 instead.

opmodel 独立安装发行版

本开发版的目标为 Linux x86_64、glibc >=2.39、标准 CPython 3.11–3.14, 保留建模、仿真、报告、校验与寻优入口。每个 Python/架构需要对应的 wheel。 内核、模型执行和优化实现为二进制扩展。模型、硬件配置和用户 hooks 可编辑。 不需要 opmodel 源码仓;不要求 NPU 即可运行软件仿真。

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

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

Total release size: 88.2 MB

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

Download URL opmodel-0.3.1.dev4-cp314-cp314-manylinux_2_39_x86_64.whl
Size 22.2 MB
Tags CPython 3.14 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
aec836d7e375d26f6b4c91b56c8d9f657a40905f75ff6a7028b66300a67f1b15
BLAKE2b-256 checksum
How to use checksums
1beeb8a7db6b8db5b6cf450e935bd5263b10c45d853af011b943b9ed03e81aa4
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.dev4-cp313-cp313-manylinux_2_39_x86_64.whl

Download URL opmodel-0.3.1.dev4-cp313-cp313-manylinux_2_39_x86_64.whl
Size 22.1 MB
Tags CPython 3.13 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
8bddf01e82aba6636e5608c3c725f6092596a957defbb2e48866d58a1975e556
BLAKE2b-256 checksum
How to use checksums
c5b8c29480a979aefb22a9249fa53cf96bcbf326fec27a1d9653bb50ac06f43b
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.dev4-cp312-cp312-manylinux_2_39_x86_64.whl

Download URL opmodel-0.3.1.dev4-cp312-cp312-manylinux_2_39_x86_64.whl
Size 22.3 MB
Tags CPython 3.12 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
420619278872aed5a6506e31f55af02263aad6835df1d41c128c74b03558755d
BLAKE2b-256 checksum
How to use checksums
73019e6f2aa2db302766738a60be3c87ce72de8a49f352d89d64c48b724b50a0
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.dev4-cp311-cp311-manylinux_2_39_x86_64.whl

Download URL opmodel-0.3.1.dev4-cp311-cp311-manylinux_2_39_x86_64.whl
Size 21.6 MB
Tags CPython 3.11 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
1a8f73e6ff4970da239b3addeb5a3479634dbcadaa3b35d36601fdb100622040
BLAKE2b-256 checksum
How to use checksums
e917e905569384da9016916b246c1c30673ec9ce48388e4f3b42372311da7590
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.dev4

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