Lablup Backend.AI Meta-package
Project description
Backend.AI is a streamlined backend API server that hosts heterogeneous programming languages and popular AI frameworks. It manages the underlying computing resources for multi-tenant computation sessions where such sessions are spawned and executed instantly on demand.
By installing this meta-package, you get the client with command-line interface by default and optionally you may add the manager and agent using pip extra tags.
$ pip install backend.ai
(installs the common and client libs which includes CLI)
$ pip install backend.ai[manager]
(installs the common and client libs with the manager/gateway daemon)
$ pip install backend.ai[agent]
(installs the common and client libs with the agent daemon)
Server-side Components
If you want to run a Backend.AI cluster on your own, you need to install and configure the following server-side components. All server-side components are licensed under LGPLv3 to promote non-proprietary open innovation in the open-source community.
There is no obligation to open your service/system codes if you just run the server-side components as-is (e.g., just run as daemons or import the components without modification in your codes). Please contact us (contact-at-lablup-com) for commercial consulting and more licensing details/options about individual use-cases.
For details about server installation and configuration, please visit our wiki.
Manager with API Gateway
It routes external API requests from front-end services to individual agents. It also monitors and scales the cluster of multiple agents (a few tens to hundreds).
Package namespace: ai.backend.gateway and ai.backend.manager
Agent
It manages individual server instances and launches/destroys Docker containers where REPL daemons (kernels) run. Each agent on a new EC2 instance self-registers itself to the instance registry via heartbeats.
Package namespace: ai.backend.agent
Kernels
A set of small ZeroMQ-based REPL daemons in various programming languages and configurations.
- https://github.com/lablup/backend.ai-kernel-runner
Package namespace: ai.backend.kernel
A common interface for the agent to deal with various language runtimes
- https://github.com/lablup/backend.ai-kernels
Runtime-specific recipes to build the Docker images (Dockerfile)
Jail
A programmable sandbox implemented using ptrace-based sytem call filtering written in Go.
Hook
A set of libc overrides for resource control and web-based interactive stdin (paired with agents).
Commons
A collection of utility modules commonly shared throughout Backend.AI projects.
Package namespaces: ai.backend.common
Client-side Components
Client SDK Libraries
We offer client SDKs in popular programming languages. These SDKs are freely available with MIT License to ease integration with both commercial and non-commercial software products and services.
- Python (provides the command-line interface)
pip install backend.ai-client
- Java
Currently only available via GitHub releases
- Javascript
npm install backend.ai-client
- PHP (under preparation)
composer require lablup/backend.ai-client
Media
The front-end support libraries to handle multi-media outputs (e.g., SVG plots, animated vector graphics)
The Python package (lablup) is installed inside kernel containers.
To interpret and display media generated by the Python package, you need to load the Javascript part in the front-end.
Integrations with IDEs and Editors
- Jupyter Kernel: data scientists’ favorite tool
Package namespaces: backend.ai-integration
- Visual Studio Code Extension
Search ‘live code runner’ among VSCode extensions.
- Atom Editor plugin
Search ‘live code runner’ among Atom plugins.
- IntelliJ / PyCharm plugin
Coming soon!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file backend.ai-1.2.0.tar.gz
.
File metadata
- Download URL: backend.ai-1.2.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab94073d3815fb02b9ab62c47303cef2a4328418cd8b7d26470da219696fd1ef |
|
MD5 | 7ccbda1268bf39f95274cf75cd4ff58f |
|
BLAKE2b-256 | e9b32814f0bc31df93663db0dd38f306b4ceca73fc856844dc23bb1b9090368b |
Provenance
File details
Details for the file backend.ai-1.2.0-py36-none-any.whl
.
File metadata
- Download URL: backend.ai-1.2.0-py36-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3.6
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e9ad0c90ab28718ab5db0608746b546c2805b6ec889e230150baec0b15d4d68 |
|
MD5 | c036b6fe55820baf26f02b9e9bc83d25 |
|
BLAKE2b-256 | 1bbe4f51414b16554a64be0cc46969157fc441a67241197a617d07d688ef6422 |