New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

furiosa-registry

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

furiosa-registry

FuriosaAI model registry

  • 0.9.1
  • PyPI
  • Socket score

Maintainers
1

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc