All Projects β†’ kleveross β†’ Ormb

kleveross / Ormb

Licence: apache-2.0
Docker for Your ML/DL Models Based on OCI Artifacts

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Ormb

Jib
πŸ— Build container images for your Java applications.
Stars: ✭ 11,370 (+4758.97%)
Mutual labels:  oci, docker-registry
Docker Credential Gcr
A Docker credential helper for GCR users
Stars: ✭ 192 (-17.95%)
Mutual labels:  docker-registry
Hybrid multicloud overlay
MutiCloud_Overlay demonstrates a use case of overlay over one or more clouds such as AWS, Azure, GCP, OCI, Alibaba and a vSphere private infrastructure in Hub and spoke topology, point to point topology and in a Single cloud. Overlay protocols IPv6 and IPv4 are independent of underlying infrastructure. This solution can be integrated with encryption and additional security features.
Stars: ✭ 127 (-45.73%)
Mutual labels:  oci
Orca Build
Build OCI images from Dockerfiles.
Stars: ✭ 159 (-32.05%)
Mutual labels:  oci
Oci Designer Toolkit
OCI designer toolKIT (OKIT) is a set of tools for enabling design, deploy and visualise OCI environments through a graphical web based interface.
Stars: ✭ 130 (-44.44%)
Mutual labels:  oci
Runtime Spec
OCI Runtime Specification
Stars: ✭ 2,316 (+889.74%)
Mutual labels:  oci
Ignite
Ignite a Firecracker microVM
Stars: ✭ 1,954 (+735.04%)
Mutual labels:  oci
Docker Build With Cache Action
Build and push docker images caching each stage to reduce build time
Stars: ✭ 228 (-2.56%)
Mutual labels:  docker-registry
Containerregistry
A set of Python libraries and tools for interacting with a Docker Registry.
Stars: ✭ 183 (-21.79%)
Mutual labels:  docker-registry
Login Action
GitHub Action to login against a Docker registry
Stars: ✭ 149 (-36.32%)
Mutual labels:  docker-registry
Oci Cloudnative
MuShop - Cloud Native microservices demo for Oracle Cloud Infrastructure
Stars: ✭ 147 (-37.18%)
Mutual labels:  oci
Docker Reg Tool
Docker registry cli tool, primarily for deleting images.
Stars: ✭ 144 (-38.46%)
Mutual labels:  docker-registry
Deckschrubber
Deckschrubber inspects images of a Docker Registry and removes those older than a given age. πŸ”†πŸš’
Stars: ✭ 176 (-24.79%)
Mutual labels:  docker-registry
Docker Registry Manifest Cleanup
Cleans up docker registry by removing untagged manifests from the registry
Stars: ✭ 127 (-45.73%)
Mutual labels:  docker-registry
Syft
CLI tool and library for generating a Software Bill of Materials from container images and filesystems
Stars: ✭ 196 (-16.24%)
Mutual labels:  oci
Artwork
OCI artwork and logos
Stars: ✭ 146 (-37.61%)
Mutual labels:  oci
Image Tools
OCI Image Tooling
Stars: ✭ 167 (-28.63%)
Mutual labels:  oci
Docker Registry Ui
Docker Registry UI
Stars: ✭ 233 (-0.43%)
Mutual labels:  docker-registry
Terrier
Terrier is a Image and Container analysis tool that can be used to scan Images and Containers to identify and verify the presence of specific files according to their hashes.
Stars: ✭ 203 (-13.25%)
Mutual labels:  oci
Runtime
Kata Containers version 1.x runtime (for version 2.x see https://github.com/kata-containers/kata-containers).
Stars: ✭ 2,103 (+798.72%)
Mutual labels:  oci

Build Status Coverage Status

English | δΈ­ζ–‡

ORMB is an open-source model registry to manage machine learning model.

ORMB helps you manage your Machine Learning/Deep Learning models with image registry. It makes your models easy to create, version, share and publish.

Getting Started

You can watch our sample usage video or read the text version below.

asciicast

First, open a model folder that meets the specification of ORMB. (See our documentation for more information about ormbfile.yaml)

# View the local file directory
$ tree examples/SavedModel-fashion
examples/SavedModel-fashion
β”œβ”€β”€ model
β”‚   β”œβ”€β”€ saved_model.pb
β”‚   └── variables
β”‚       β”œβ”€β”€ variables.data-00000-of-00001
β”‚       └── variables.index
β”œβ”€β”€ ormbfile.yaml
└── training-serving.ipynb

2 directories, 5 files

Next, we can push the trained model from local to remote image registry.

# Save the model from model directory in local cache first
$ ormb save <model directory> gaocegege/fashion_model:v1
ref:       gaocegege/fashion_model:v1
digest:    6b08cd25d01f71a09c1eb852b3a696ee2806abc749628de28a71b507f9eab996
size:      162.1 KiB
format:    SavedModel
v1: saved

# Push the model from local cache to remote registry
$ ormb push gaocegege/fashion_model:v1
The push refers to repository [gaocegege/fashion_model]
ref:       gaocegege/fashion_model:v1
digest:    6b08cd25d01f71a09c1eb852b3a696ee2806abc749628de28a71b507f9eab996
size:      162.1 KiB
format:    SavedModel
v1: pushed to remote (1 layer, 162.1 KiB total)

Taking Harbor as an example, we can see the model's metadata in Harbor registry.

Then, we can download the model from the registry. The download process is similar to the push.

# Pull the model from remote registry to local cache
$ ormb pull gaocegege/fashion_model:v1
v1: Pulling from gaocegege/fashion_model
ref:     gaocegege/fashion_model:v1
digest:  6b08cd25d01f71a09c1eb852b3a696ee2806abc749628de28a71b507f9eab996
size:    162.1 KiB
Status: Downloaded newer model for gaocegege/fashion_model:v1

# Export the model from local cache to current directory
$ ormb export gaocegege/fashion_model:v1
ref:     localhost/gaocegege/fashion_model:v1
digest:  6b08cd25d01f71a09c1eb852b3a696ee2806abc749628de28a71b507f9eab996
size:    162.1 KiB

# View the local file directory
$ tree examples/SavedModel-fashion
examples/SavedModel-fashion
β”œβ”€β”€ model
β”‚   β”œβ”€β”€ saved_model.pb
β”‚   └── variables
β”‚       β”œβ”€β”€ variables.data-00000-of-00001
β”‚       └── variables.index
β”œβ”€β”€ ormbfile.yaml
└── training-serving.ipynb

2 directories, 5 files

Installation

Install the image registry

ORMB uses the image registry to store model, you can choose to install Harbor or use Docker Registry. We recommended Harbor here.

Install ORMB

You can install the pre-compiled binary, or compile from source.

Install the pre-compiled binary

Download the pre-compiled binaries from the releases page and copy to the desired location.

Compile from source

Clone:

$ git clone https://github.com/kleveross/ormb
$ cd ormb

Get the dependencies:

$ go mod tidy

Build:

$ make build-local

Verify it works:

$ ./bin/ormb --help

Understanding ORMB

Why choose ORMB?

See ORMB introduction for more information.

Official Documentation

See ORMB docs for more information.

Tutorials

OCI Model Configuration Specification

Please have a look at docs/spec_v1alpha1.md

Community

ORMB project is part of Klever, a Cloud Native Machine Learning platform.

The Klever slack workspace is klever.slack.com. To join, click this invitation to our Slack workspace.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].