Skip to main content

Union Tool for inference on Sophgo chips

Project description

UnTool

UnTool是一个用于Sophon芯片推理的Python工具包,支持x86_64和aarch64架构,以及SOC和PCIE两种模式。

安装

pip install untool

使用示例

import untool

# 可选: 明确设置模式
untool.set_mode('pcie')  

# 使用库功能
tensor = untool.untensor_create()
runtime = untool.runtime_init("model.bmodel", 0)
# 其他操作...

其他

源代码仓库https://www.modelscope.cn/wlc952/UnTool.git

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

untool-0.0.4.tar.gz (784.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

untool-0.0.4-py3-none-any.whl (796.1 kB view details)

Uploaded Python 3

File details

Details for the file untool-0.0.4.tar.gz.

File metadata

  • Download URL: untool-0.0.4.tar.gz
  • Upload date:
  • Size: 784.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for untool-0.0.4.tar.gz
Algorithm Hash digest
SHA256 38c803db8e1a7e97bc9a817c4ce09095ee4a3b8e2fa488cfdb3f71f1d8b97835
MD5 27689d5b913658e8ac8a5e77ae5b893e
BLAKE2b-256 2c4a6d71ad51e8adc6e7bd6abeb17c0c93edec0732a9854cae777a2c06412e7d

See more details on using hashes here.

File details

Details for the file untool-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: untool-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 796.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for untool-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8295bb984ee4b0873f521320a140e65c9d2548b78bda9e7b48b003bbde1c65fb
MD5 16d885e6b7ceaf0443032905e527183a
BLAKE2b-256 582d325f028e04b60a905875c808fde0481105e1e6621f37c1e47f4b4c7d4a50

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page