Installation
[!IMPORTANT]
You must have PyTorch installed to use x.infer.
To install the barebones x.infer (without any optional dependencies), run:
x.infer can be used with multiple optional dependencies. You'll just need to install one or more of the following:
| pip install "xinfer[transformers]"
pip install "xinfer[ultralytics]"
pip install "xinfer[timm]"
pip install "xinfer[vllm]"
pip install "xinfer[ollama]"
|
To install all optional dependencies, run:
| pip install "xinfer[all]"
|
To install from a local directory, run:
| git clone https://github.com/dnth/x.infer.git
cd x.infer
pip install -e .
|