$npx skillfedfor your agent

cache-dit

Cache-DiT: A PyTorch-native Inference Engine with Cache, Parallelism, Quantization and CPU Offload for DiTs.

With conditionsPyPI Artificial IntelligenceReleased Jun 2026646.1K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — cache_dit-1.5.0-py3-none-any.whl
v1.5.0 · released 2026-06-16 · Python >=3.10 · 5 runtime deps: packaging, pyyaml, torch, diffusers, transformers

Yes, with conditions. Cache-DiT is actively maintained, has no known vulnerabilities, and offers genuine performance gains for Diffusion Transformer inference. Install it if you run Diffusers pipelines on GPU and want to reduce latency or memory usage. However, verify the license status before use in proprietary contexts, and test speedup claims on your specific hardware and model architecture.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.10, PyTorch, and a compatible GPU (NVIDIA, AMD, or Ascend).
  • For SVDQuant quantization: CUDA 13.0+, PyTorch 2.11+, Ubuntu 22.04+.
  • Low friction: pure Python wheel with no compiled dependencies.

License · maintenance · safety

(unclear) — License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license before use in proprietary or restricted contexts.

last release 2026-06-16 (59 days) · last repo commit 2026-08-14 · 1,246 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 646,072 downloads/mo, #5,596 on PyPI

Verify before relying

pip install cache-dit
import cache_dit
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained(...).to("cuda")
cache_dit.enable_cache(pipe)  # One-line cache acceleration
output = pipe(...)
  • Whether the unclear license permits commercial use or redistribution.
  • Actual speedup gains (9x mentioned in description) under typical production workloads.
  • Compatibility matrix with specific Diffusers versions and DiT architectures.
  • Performance overhead of layerwise CPU offload on systems with limited PCIe bandwidth.
Same gist for agents: .md · .json

What it is and what it does

Cache-DiT is a PyTorch inference engine for Diffusion Transformers that wraps the Diffusers library and applies multiple optimization strategies: KV-cache acceleration (DBCache, TaylorSeer, SCM), multi-GPU parallelism (Context, Tensor, 2D/3D hybrid), quantization (including SVDQuant W4A4), and layerwise CPU offloading. It integrates with SGLang Diffusion, vLLM-Omni, TensorRT-LLM, ComfyUI, and other frameworks.

The package is designed to be easy to adopt: a single `cache_dit.enable_cache(pipe)` call on a Diffusers pipeline activates caching, and optional config objects allow fine-grained control over parallelism and quantization. It runs on NVIDIA, AMD, and Ascend GPUs. The library is actively maintained, has no known vulnerabilities, and depends on standard ML packages (torch, diffusers, transformers, pyyaml, packaging).

Use it for

  • Speed up text-to-image generation pipelines by enabling KV-cache and context parallelism with minimal code changes.
  • Reduce GPU memory footprint and latency on multi-GPU setups using tensor parallelism and hybrid 2D/3D parallelism.
  • Quantize large DiT models to int4 or nvfp4 precision without calibration data using SVDQuant.
  • Offload transformer layers to CPU during inference to fit larger models on limited GPU VRAM.
  • Integrate cache acceleration into existing ComfyUI, SGLang, or vLLM workflows via community plugins.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

Cache-DiT is actively maintained, has no known vulnerabilities, and offers genuine performance gains for Diffusion Transformer inference. Install it if you run Diffusers pipelines on GPU and want to reduce latency or memory usage. However, verify the license status before use in proprietary contexts, and test speedup claims on your specific hardware and model architecture.

Install

cache-dit on PyPI

Before you install

Low friction: pure Python wheel with no compiled dependencies. Active maintenance (last commit 2026-08-14, 1246 GitHub stars). Requires PyTorch, Diffusers, and related ML libraries already in your environment.

Requires Python >=3.10, PyTorch, and a compatible GPU (NVIDIA, AMD, or Ascend). For SVDQuant quantization: CUDA 13.0+, PyTorch 2.11+, Ubuntu 22.04+.

License in practice

License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license before use in proprietary or restricted contexts.

Quickstart

pip install cache-dit
import cache_dit
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained(...).to("cuda")
cache_dit.enable_cache(pipe)  # One-line cache acceleration
output = pipe(...)

Verify before relying

  • Whether the unclear license permits commercial use or redistribution.
  • Actual speedup gains (9x mentioned in description) under typical production workloads.
  • Compatibility matrix with specific Diffusers versions and DiT architectures.
  • Performance overhead of layerwise CPU offload on systems with limited PCIe bandwidth.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
packagingpyyamltorchdiffuserstransformers
MaintenanceActively maintained 59 days since the last release
Last repo commit
First released
Downloads646,072 / month, #5,596 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: cache_dit-1.5.0-py3-none-any.whl

Tags

Capabilities
diffusion transformer inference accelerationdit cache optimizationdiffusers pipeline speeduptensor parallelism quantizationcpu offload gpu inference
Topics
diffusion-inferencegpu-optimizationquantization

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “diffusion transformer inference acceleration”

  • cache-ditCache-DiT accelerates inference for Diffusion Transformers (DiTs) via…
  • tomesdSpeeds up Stable Diffusion image generation by merging redundant…
  • transformer-engineTransformer Engine accelerates Transformer model training and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also tomesd · diffusers · nvidia-modelopt · torch · compel · nvidia-cudnn-cu11 · nvidia-cusparse · cpm-kernels · optimum-intel · mmgp

Further reading