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
furiosa_registry-0.9.1.tar.gz 70.9 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

0.9.1 This release

2 release files

0.9.0

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.4

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

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