oneblock

command module
v0.0.0-...-d0cda72 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

README

1Block.AI [WIP]

main-build Go Report Card Releases Discord

🚧 WARNING 1Block.AI is a work in progress. Features will evolve over time and there may be breaking changes between releases. Please refrain from using it for any production purposes for now!

An open-source, cloud-native LLMOps platform for LLMs and generative AI applications management.

Description

1Block.AI is an open-source, cloud-native LLMOps platform that aims to empower your innovation in LLMs and generative AI applications. It is built on top of cutting-edge technologies such as Kubernetes, Ray.io, LangChain, etc., and designed to be cloud-agnostic and ML framework agnostic.

Below are the key features of the 1Block.AI:

  1. Easy Installation: 1Block.AI can be directly installed on any Kubernetes cluster, offering an out-of-the-box user experience.
  2. Complete LLM Lifecycle Management: Provides a unified interface for both developers and non-developers to manage the entire life cycle of Large Language Models (LLMs) and generative AI applications.
  3. Multi-model Support: Integrates seamlessly with popular LLM models (e.g., GPT-3.5, GPT-4, Llama-2, ChatGLM, etc.). Allows iterative upload, tracking, and management of custom model versions, associating them with specific datasets and hyperparameters.
  4. Multi-cloud Compatibility: Supports deploying your LLM and AI applications to various clouds, including AWS, GCP, Aliyun, Azure, etc., as well as on-premise environments.
  5. Built-in Multi-tenant & Multi-cluster Support: Utilizes RBAC policies for built-in multi-tenant support, enabling users to manage resources across multiple clusters.
  6. Effortless Deployment & Monitoring: One-click deployment of AI applications to different clouds with auto-scaling capabilities (serverless). Ensures easy monitoring of your applications by tracking traffic, inference, and resource usage.

The following diagram outlines a high-level architecture of the 1Block.AI

1block.ai architecture

Getting Started

Prerequisites
  • Helm v3.0.0+
  • Access to a Kubernetes v1.23+ cluster.
Installation

To deploy the 1Block.AI on your k8s cluster, you can use the following commands:

Install the CRDs into the cluster:

$ make install-crds

or

$ helm upgrade --install --create-namepsace -n oneblock-system oneblock-crd ./deploy/charts/oneblock-crd

Deploy the api-server to the cluster:

$ make install-ob

or

$ helm upgrade --install --create-namespace -n oneblock-system oneblock ./deploy/charts/oneblock
Uninstall

Delete the CRDs and api-server from the cluster:

$ helm uninstall -n oneblock-system oneblock-crd
$ helm uninstall -n oneblock-system oneblock

or

$ make uninstall-crds && make uninstall-ob

Contributing

For the basics on how to contribute to 1Block.AI, checkout CONTRIBUTING.md.

Community

If you're interested, please join us on Discord or participate in GitHub Discussions to discuss or contribute the project. We look forward to collaborating with you!

If you have any feedback or issues, feel free to file a GitHub issue.

License

Copyright (c) 2024 1Block.AI.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
api
apis/management.oneblock.ai/v1
+k8s:deepcopy-gen=package +groupName=management.oneblock.ai
+k8s:deepcopy-gen=package +groupName=management.oneblock.ai
apis/ml.oneblock.ai/v1
+k8s:deepcopy-gen=package +groupName=ml.oneblock.ai
+k8s:deepcopy-gen=package +groupName=ml.oneblock.ai
generated/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
generated/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
generated/clientset/versioned/typed/management.oneblock.ai/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
generated/clientset/versioned/typed/management.oneblock.ai/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
generated/clientset/versioned/typed/ml.oneblock.ai/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
generated/clientset/versioned/typed/ml.oneblock.ai/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
generated/clientset/versioned/typed/nvidia.com/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
generated/clientset/versioned/typed/nvidia.com/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
generated/clientset/versioned/typed/ray.io/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
generated/clientset/versioned/typed/ray.io/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
generated/clientset/versioned/typed/scheduling.volcano.sh/v1beta1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
generated/clientset/versioned/typed/scheduling.volcano.sh/v1beta1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL