secure_load call verifies the model file’s signature using tuc before
passing it to AsyncAccl. If the signature check fails, a
ModelVerificationError is raised and the model is never loaded.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Secure model verification for MemryX hardware accelerator models
from memryx import AsyncAccl
from thistle_secure_loader import secure_load
def memryx_loader(path: str):
return AsyncAccl(path)
accl = secure_load("model.onnx", memryx_loader)
print("MemryX model verified securely.")
secure_load call verifies the model file’s signature using tuc before
passing it to AsyncAccl. If the signature check fails, a
ModelVerificationError is raised and the model is never loaded.
memryx package is Linux only (x86_64 / ARM64) and is not available for
macOS or Windows.--extra-index-url https://developer.memryx.com/pip
memryx
