API driven Machine Learning suite
Project description
Infrastructure Control Language
Tool to easily run your data science, machine learning or deep learning experiments anywhere: locally, on-prem clusters, or hybrid clouds. Based on Infrastructure as Code, but pushed to the next level. Provides cosmic level of infrastructure control bringing old good days back when you run program on the machine you develop.
Still in engineering Alpha mode. Use with caution. But let us know what you think!
Quick start
The simplest way to start with ICL is to create a local ICL cluster in a Docker container:
git clone https://github.com/intel-ai/icl.git
cd icl
./scripts/deploy/kind.sh
The cluster's endpoints are accessible only from localhost:
- http://jupyter.localtest.me
- http://dashboard.localtest.me
- http://minio.localtest.me
- http://prefect.localtest.me
In your browser, navigate to http://jupyter.localtest.me.
Install Python package infractl
package with pip
:
pip install infractl
ICL allows running a local Python program of Prefect flow in a cluster.
Create a Python file my_program.py
:
if __name__ == '__main__':
print('Hello from my_program')
Then execute the program in your cluster:
import infractl
await infractl.run(infractl.program('my_program.py'))
Create a Python file my_flow.py
with Prefect flow definition:
from prefect import flow
@flow
def my_flow():
print('Hello from my_flow')
Then execute the flow in your cluster:
import infractl
await infractl.run(infractl.program('my_flow.py'))
Note that the program and flow can be developed, tested, and executed locally. ICL allows executing the same program or flow in your local or remote ICL cluster.
Next steps
In addition to a local ICL cluster, there are scripts to create multi node ICL clusters in AWS, GCP. We also support deploying ICL into an existing Kubernetes or OpenShift clusters, provisioning bare-metal machines. Check our documentation at https://intel-ai.github.io/icl/.
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 infractl-0.0.3.tar.gz
.
File metadata
- Download URL: infractl-0.0.3.tar.gz
- Upload date:
- Size: 49.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70d9c0a2f81c05a9f36ca6ea14f892c967fe1b9c008f0748f02df3be093ea940 |
|
MD5 | 3a654b99d228bf3ab829ad023b2defbc |
|
BLAKE2b-256 | 5f7bb6aed8c2899d4a1336f8c90c648bdfde47faf78a41d742c8c028f61d7e83 |
File details
Details for the file infractl-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: infractl-0.0.3-py3-none-any.whl
- Upload date:
- Size: 51.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f9623f31d74608d2c19f1ee09674165d13f98b5c7b5d4aa3b3c9a2333d4b5f2 |
|
MD5 | 26223938c31eaca6a6b9eeb608deea77 |
|
BLAKE2b-256 | ebf10e4f6eebf2569323930d45595c2fb8fb6e55a50359c88acd840251d845e8 |