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.dev5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| opmodel-0.3.1.dev5-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.dev5-cp314-cp314-manylinux_2_39_x86_64.whl |
| opmodel-0.3.1.dev5-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.dev5-cp313-cp313-manylinux_2_39_x86_64.whl |
| opmodel-0.3.1.dev5-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.dev5-cp312-cp312-manylinux_2_39_x86_64.whl |
| opmodel-0.3.1.dev5-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.dev5-cp311-cp311-manylinux_2_39_x86_64.whl |
Total release size: 95.8 MB
Release files / opmodel-0.3.1.dev5-cp314-cp314-manylinux_2_39_x86_64.whl
| Download URL | opmodel-0.3.1.dev5-cp314-cp314-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 24.1 MB |
| Tags | CPython 3.14 Linux glibc 2.39+ x86-64 |
|
SHA-256 checksum How to use checksums |
11f9c75a60ba057db4e282523ca00cbc6ce2d8bd84d81bbcf44a2de846a8b024
|
|
BLAKE2b-256 checksum How to use checksums |
7c32cc45171d3ac7af835c83cd2e8e5e193a6615f500b5f6da4087e03642264c
|
| 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.dev5-cp313-cp313-manylinux_2_39_x86_64.whl
| Download URL | opmodel-0.3.1.dev5-cp313-cp313-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 24.0 MB |
| Tags | CPython 3.13 Linux glibc 2.39+ x86-64 |
|
SHA-256 checksum How to use checksums |
b0327da6b8df611b25dc7c2dda685db360e4c391d2111b7a92be4dcb511f436b
|
|
BLAKE2b-256 checksum How to use checksums |
ebf742eabc18fbf22359357fccc6b15b30dc0cd9c5c39126a2c15405b7da1da8
|
| 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.dev5-cp312-cp312-manylinux_2_39_x86_64.whl
| Download URL | opmodel-0.3.1.dev5-cp312-cp312-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 24.2 MB |
| Tags | CPython 3.12 Linux glibc 2.39+ x86-64 |
|
SHA-256 checksum How to use checksums |
7beb636345e944572ca8fc4488e3906c4afa2a301d33a19c106161bb4aa4df60
|
|
BLAKE2b-256 checksum How to use checksums |
5da49a281015fea64a445fe79e237df6df6b19add1b3151fe476a1c4149d827d
|
| 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.dev5-cp311-cp311-manylinux_2_39_x86_64.whl
| Download URL | opmodel-0.3.1.dev5-cp311-cp311-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 23.5 MB |
| Tags | CPython 3.11 Linux glibc 2.39+ x86-64 |
|
SHA-256 checksum How to use checksums |
b6a29e59deedbacc4ee3d625548883c32075a2fc72f9237ac5366f851bce6518
|
|
BLAKE2b-256 checksum How to use checksums |
c9a67a2808ed385d0b26653b940e79b5c447ca753b94154f6140b3c3a582b1bc
|
| 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.dev5
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.