Skip to main content

Native C runtime (geodessical binary + libhypercore) for the HyperTensor framework

Project description

hypertensor-runtime

Installable Python package wrapping the geodessical C binary and the libhypercore shared library so they can be installed via pip alongside the rest of the HyperTensor ecosystem:

Package Role
hypertensor-framework Pure-Python research framework
hypertensor-core Python bindings + core algorithms
hypertensor-runtime This package — native binaries
ht-repro Reproduction CLI + web UI

Install

pip install hypertensor-runtime
geodessical --help

If a binary is not bundled for your platform you'll get a clear error pointing at the build instructions.

Building wheels per platform

Bundled binaries live under hypertensor_runtime/bin/<platform>/ where <platform> is e.g. linux-x86_64, win-amd64, mac-arm64.

Local build (Windows host):

cd ..
.\build_host.ps1
mkdir -p hypertensor_runtime\bin\win-amd64
copy build_host\geodessical.exe hypertensor_runtime\bin\win-amd64\
copy build_host\hypercore.dll   hypertensor_runtime\bin\win-amd64\
python -m build --wheel hypertensor_runtime

Linux / macOS (via cibuildwheel):

cibuildwheel --config-file deploy/cibuildwheel.toml hypertensor_runtime

Programmatic access

from hypertensor_runtime import geodessical_path, libhypercore_path
print(geodessical_path())     # absolute Path to the bundled binary
print(libhypercore_path())    # absolute Path to the shared lib

ht_repro.runtime_loader will pick these up automatically when both packages are installed.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

hypertensor_runtime-0.1.0-py3-none-any.whl (13.5 MB view details)

Uploaded Python 3

File details

Details for the file hypertensor_runtime-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hypertensor_runtime-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad9684aa661fd6d1738e040315f720d22b45e9330f5047a582a455c18e93e010
MD5 8c9b9fa63e218a61cc9ae66db1e2acec
BLAKE2b-256 ab14215de1d074fec2a93e470124f02c4ae39b99c696dfbcdb49a4eb2327c03f

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