Dinkster-owned inference library forked from ComfyUI
Actively maintained. Last release today, commits in 26 of the last 26 weeks. A safe choice.
pip install dinkster-inferenceREADME as published on PyPI with version 0.1.15.
dinkster-inference
Dinkster's inference library provides model loading, sampling, conditioning,
text/image/audio encoders, device management and inference runtime resources.
The comfy import name aliases dinkster_inference modules without duplicating
model-management state. The distribution does not include an application.
A module this library does not provide still resolves from a ComfyUI checkout's
comfy/ directory on sys.path; library modules always take precedence.
python -m pip install .
CPU callers select CPU execution before importing model management or loaders:
import dinkster_inference.cli_args as cli_args
cli_args.args.cpu = True
import comfy.sd
import dinkster_inference.sd
assert comfy.sd is dinkster_inference.sd
Development and upstream sync
Runtime dependencies are declared only in pyproject.toml. Install test tools
with python -m pip install -r tests-unit/requirements.txt ruff build PyYAML.
Run the repository checks with:
python tools/check_library_files.py
python tools/check_dependencies.py
python -m ruff check dinkster_inference comfy node_helpers.py tools
python -m pytest -q tests-unit
python -m build
The library is generated from ComfyUI; AGENTS.md has the rules for changing it and docs/quantization.md specifies the quantized checkpoint format. The sync ledger records the upstream commit and what the transform keeps.
tools/regenerate_upstream_library.py --baseline /path/to/recorded-upstream --upstream /path/to/new-upstream --destination . transforms both revisions and
merges their difference into this tree, keeping fork changes.
tools/check_upstream_parity.py takes the same arguments and verifies that the
difference is present. With --differences --upstream /path/to/recorded-upstream
it lists every file that differs from upstream; CI runs that check with
--declared tools/fork_differences.txt and rejects a changed upstream file
that is not declared there.