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.
To install this library via pip:
python -m venv .venv
source .venv/bin/activate
pip install "infernet-ml"
Alternatively, via uv:
uv venv
source .venv/bin/activate
uv pip install infernet-ml
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 installcmake
on MacOS by runningbrew install cmake
. On Ubuntu & Windows,
consult the documentation
for more information.
For more information on this library, consult the documentation website.