Skip to main content

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:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

infractl-0.0.3.tar.gz (49.2 kB view hashes)

Uploaded Source

Built Distribution

infractl-0.0.3-py3-none-any.whl (51.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page