Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
/ infernet-ml Public archive

infernet-ml is a a library to build Web3 machine learning workflows

License

Notifications You must be signed in to change notification settings

ritual-net/infernet-ml

Repository files navigation

infernet-ml

Warning

This library has been moved to the Infernet Monorepo repository. This repository is now archived, for infernet-ml 1.0.0 and above, please refer to the monorepo.

infernet-ml is a lightweight library meant to simplify the implementation of machine learning workflows for models intended for Web3.

Installation

Via pip

To install this library via pip:

python -m venv .venv
source .venv/bin/activate
pip install "infernet-ml"

Via uv

Alternatively, via uv:

uv venv
source .venv/bin/activate
uv pip install infernet-ml

Optional Dependencies

Depending on the workflow you're using, you may want to install optional dependencies. For example, if you're using the torch workflow, you'll need to install its dependencies by running:

pip install "infernet-ml[torch_inference]"

Alternatively, via uv:

uv pip install "infernet-ml[torch_inference]"

[!NOTE] The optional dependencies for this workflow require that cmake is installed on your system. You can install cmake on MacOS by running brew install cmake. On Ubuntu & Windows,

consult the documentation

for more information.

Docs

For more information on this library, consult the documentation website.