Observed since 21 Oct, 10:51 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
AI Handler: An engine which wraps certain huggingface models
This is a simple framework for running AI models. It makes use of the huggingface API which gives you a queue, threading, a simple API, and the ability to run Stable Diffusion and LLMs seamlessly from your local hardware.
This is not intended to be used as a standalone application.
It can easily be extended and used to power interfaces or it can be run from the command line.
AI Handler is a work in progress. It powers two projects at the moment, but may not be ready for general use.
This is a work in progress.
System requirements
Install
pip install torch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 --index-url https://download.pytorch.org/whl/cu117
pip install https://github.com/w4ffl35/diffusers/archive/refs/tags/v0.14.0.ckpt_fix.tar.gz
pip install https://github.com/w4ffl35/transformers/archive/refs/tags/tensor_fix-v1.0.2.tar.gz
pip install https://github.com/acpopescu/bitsandbytes/releases/download/v0.37.2-win.0/bitsandbytes-0.37.2-py3-none-any.whl
pip install aihandlerwindows
These are optional instructions for installing TensorRT and Deepspeed for Windows
pip install tensorrt-*.whlAIRUNNER_ENVIRONMENT - dev or prod. Defaults to dev. This controls the LOG_LEVELLOG_LEVEL - FATAL for production, DEBUG for development. Override this to force a log levelThese environment variables keep you offline until you need to download a model. This prevents unwanted online access and speeds up usage of huggingface libraries.
DISABLE_TELEMETRY Keep this set to 1 at all times. Huggingface collects minimal telemetry when downloading a model from their repository but this will keep it disabled. See more info in this github threadHF_HUB_OFFLINE When loading a diffusers model, huggingface libraries will attempt to download an updated cache before running the model. This prevents that check from happening (long with a boolean passed to load_pretrained see the runner.py file for examples)TRANSFORMERS_OFFLINE Similar to HF_HUB_OFFLINE but for transformers modelspypistats · 42 observations shown. Missing days are unknown. Source category: overall: without mirrors.
| Date / source period | Value | Observed at |
|---|---|---|
| 2026-10-20 – 2026-10-20 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-10-17 – 2026-10-17 | 3 | 2026-10-21T16:17:26.3780652Z |
| 2026-10-15 – 2026-10-15 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-10-14 – 2026-10-14 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-10-13 – 2026-10-13 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-10-10 – 2026-10-10 | 5 | 2026-10-21T16:17:26.3780652Z |
| 2026-10-09 – 2026-10-09 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-10-08 – 2026-10-08 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-10-06 – 2026-10-06 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-10-02 – 2026-10-02 | 3 | 2026-10-21T16:17:26.3780652Z |
| 2026-09-30 – 2026-09-30 | 2 | 2026-10-21T16:17:26.3780652Z |
| 2026-09-28 – 2026-09-28 | 2 | 2026-10-21T16:17:26.3780652Z |
| 2026-09-27 – 2026-09-27 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-09-26 – 2026-09-26 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-09-22 – 2026-09-22 | 3 | 2026-10-21T16:17:26.3780652Z |
| 2026-09-18 – 2026-09-18 | 6 | 2026-10-21T16:17:26.3780652Z |
| 2026-09-17 – 2026-09-17 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-09-13 – 2026-09-13 | 2 | 2026-10-21T16:17:26.3780652Z |
| 2026-09-12 – 2026-09-12 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-09-10 – 2026-09-10 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-09-08 – 2026-09-08 | 3 | 2026-10-21T16:17:26.3780652Z |
| 2026-09-07 – 2026-09-07 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-09-06 – 2026-09-06 | 3 | 2026-10-21T16:17:26.3780652Z |
| 2026-09-01 – 2026-09-01 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-08-31 – 2026-08-31 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-08-28 – 2026-08-28 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-08-25 – 2026-08-25 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-08-24 – 2026-08-24 | 5 | 2026-10-21T16:17:26.3780652Z |
| 2026-08-23 – 2026-08-23 | 3 | 2026-10-21T16:17:26.3780652Z |
| 2026-08-21 – 2026-08-21 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-08-17 – 2026-08-17 | 2 | 2026-10-21T16:17:26.3780652Z |
| 2026-08-15 – 2026-08-15 | 2 | 2026-10-21T16:17:26.3780652Z |
| 2026-08-14 – 2026-08-14 | 3 | 2026-10-21T16:17:26.3780652Z |
| 2026-08-11 – 2026-08-11 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-08-09 – 2026-08-09 | 3 | 2026-10-21T16:17:26.3780652Z |
| 2026-08-05 – 2026-08-05 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-08-02 – 2026-08-02 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-08-01 – 2026-08-01 | 1 | 2026-10-21T16:17:26.3780652Z |
| 2026-07-27 – 2026-07-27 | 2 | 2026-10-21T16:17:26.3780652Z |
| 2026-07-26 – 2026-07-26 | 2 | 2026-10-21T16:17:26.3780652Z |
| 2026-07-24 – 2026-07-24 | 3 | 2026-10-21T16:17:26.3780652Z |
| 2026-07-23 – 2026-07-23 | 2 | 2026-10-21T16:17:26.3780652Z |
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.8.19 | 31 Mar 2023 | 28 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 10:51 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:2afec3f15c0d05d227165a4eaeea051098d1e2589242d2e6bb78503b1b1339e1