infernet-ml
infernet-ml copied to clipboard
infernet-ml is a a library to build Web3 machine learning workflows
infernet-ml
[!WARNING] This library has been moved to the Infernet Monorepo repository. This repository is now archived, for
infernet-ml 1.0.0and 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
cmakeis installed on your system. You can installcmakeon MacOS by runningbrew install cmake. On Ubuntu & Windows,
consult the documentation
for more information.
Docs
For more information on this library, consult the documentation website.