ritual-net / infernet-ml

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:BSD 3-Clause Clear License


Languages

Language:Python 99.7%Language:Makefile 0.3%