Skip to main content

Furiosa Registry

Furiosa Registry defines Model which allows client to communicate with several types of registries.

Getting started

Install

pip install furiosa-registry

List up available models

import furiosa.common.thread as synchronous
import furiosa.registry as registry


# Repository where to load models from.
repository = "https://github.com/furiosa-ai/furiosa-artifacts"

# List up the available artifacts.
models: List[registry.Model] = synchronous(registry.list)(repository)

for model in models:
    print(model.name)

Load models

import furiosa.common.thread as synchronous
import furiosa.registry as registry


# Repository where to load models from.
repository = "https://github.com/furiosa-ai/furiosa-artifacts"

models: registry.Model = synchronous(registry.load)(uri=repository, name="MLCommonsResNet50")

# Access the model
print(model.name)
print(model.version)
print(model.metadata.description)

Print documentation about a model

import furiosa.common.thread as synchronous
import furiosa.registry as registry


# Repository where to load models from.
repository = "https://github.com/furiosa-ai/furiosa-artifacts"

print(synchronous(registry.help)(repository, "MLCommonsResNet50"))

Development

Generate artfiact JSON schema from pydantic model definition.

When you changed model schema, you can generate modified schema via

python -c 'from furiosa.registry import Model;\
            print(Model.schema_json(indent=2), file=open("model_schema.json", "w"))'

See model_schema.json

Metadata

Release files for furiosa-registry 0.9.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for furiosa-registry 0.9.1
File Size Uploaded Provenance Actions
furiosa_registry-0.9.1.tar.gz 70.9 kB Without provenance Details for furiosa_registry-0.9.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for furiosa-registry 0.9.1
File Interpreter ABI Platform Actions
furiosa_registry-0.9.1-py3-none-any.whl Python 3 none any Details for furiosa_registry-0.9.1-py3-none-any.whl

Total release size: 82.8 kB

Release files / furiosa_registry-0.9.1.tar.gz

Download URL furiosa_registry-0.9.1.tar.gz
Size 70.9 kB
Tags Source
SHA-256 checksum
How to use checksums
61e05bcea51212af065d89a9ef35e036d32d5f397024ea22a7e4e87cd3fbda06
BLAKE2b-256 checksum
How to use checksums
4ba6dde3b4dd3502383eeb52c9c7ce4c0c7ef79ae5f1ad74aa328b789e53bd02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release files / furiosa_registry-0.9.1-py3-none-any.whl

Download URL furiosa_registry-0.9.1-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c0c8b6c0f3e3191ba785de1890f35d1de74a72cca9c7a58f7e55bd6c5758d11
BLAKE2b-256 checksum
How to use checksums
31bd09d5d5055fa65d95634b114fd268cd6b7a389f8224d7fb317ac8ef70055d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Security for furiosa-registry 0.9.1

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