Skip to content

Content Formats

Tutorials & Practice Latest

Ready-to-use practical content: workflow setup, tool usage, cost-reduction experiences, and lessons learned from pitfalls.

134 picksLast 30 days 76 itemsCollected 1,418 items

updated

Pick archive · page 7

Aug 25Tue121–134
  1. Hugging Face Blog62

    Gradio launches gr.Workflow: turning AI pipelines into a drag-and-drop canvas with auto-generated APIs

    Gradio's built-in gr.Workflow describes AI pipelines as graphs of typed nodes, offering a drag-and-drop canvas where each node can run and intermediate results are visible; the same graph is also a REST API and can be deployed to Hugging Face Spaces with one click.

    Why it matters: Gradio turns multi-step AI pipelines into a visual graph and automatically exposes REST interfaces, giving teams a basis to assess migration costs against their existing production workflows.

Jul 23Thu
  1. Hugging Face Blog62

    Diffusers natively supports Nunchaku 4-bit diffusion inference

    A Hugging Face blog post explains that Diffusers now natively supports Nunchaku's 4-bit diffusion inference; loading a quantized checkpoint only requires calling from_pretrained(), with no local CUDA compilation needed.

    Why it matters: Nunchaku's 4-bit quantized inference is now natively integrated into Diffusers, allowing creators to evaluate the trade-off between VRAM usage and speed for image generation on consumer-grade GPUs.

Jul 23Wed
  1. Hugging Face Blog62

    Hugging Face Releases a Fast Inference Optimization for Flux LoRA

    Hugging Face releases a LoRA inference optimization for Flux.1-Dev, combining Flash Attention 3, torch.compile, and FP8 quantization to achieve a 2.23× speedup on H100.

    Why it matters: Provides a complete optimization recipe for Flux LoRA inference, including real-world data for hot-swapping and consumer-grade GPUs, which can be directly applied to your own image generation pipeline.

Jun 19Thu
  1. Hugging Face Blog62

    Hugging Face Tutorial: Fine-Tuning FLUX.1-dev with QLoRA on Consumer Hardware

    Hugging Face publishes a tutorial demonstrating how to fine-tune FLUX.1-dev on a single GPU using QLoRA and diffusers, with peak VRAM around 9GB. On an RTX 4090 at 512x768 resolution with LoRA rank 4, training for 700 steps takes approximately 41 minutes, whereas standard BF16 LoRA requires 26GB of VRAM.

    Why it matters: Hugging Face officially provides the complete workflow and measured VRAM data for fine-tuning FLUX.1-dev on single-GPU consumer hardware, which can be adapted for your own style training.

Jan 27Mon
  1. Hugging Face Blog60

    The Diffusers Team Surveys the State of Open-Source Video Generation Models and Optimization Approaches

    The Hugging Face Diffusers team publishes an article surveying the state of open-source video generation models and introducing how Diffusers supports these models. The article lists open-source models such as CogVideoX, Mochi-1, HunyuanVideo, Allegro, and LTX-Video, noting that high resource requirements, generalization ability, and latency are the main limitations.

    Why it matters: The Diffusers team systematically surveys the state of open-source video models and provides an optimization combination that reduces HunyuanVideo's VRAM usage to approximately 6.5GB.

Jan 14Sun
Jan 2Tue
  1. Hugging Face Blog62

    Hugging Face Releases Advanced Training Script for SDXL Dreambooth LoRA

    Hugging Face releases an advanced training script for SDXL Dreambooth LoRA, integrating Pivotal Tuning and the Prodigy optimizer into diffusers, along with reusable training parameters.

    Why it matters: Hugging Face officially integrates Pivotal Tuning and the Prodigy optimizer into diffusers training scripts, providing directly reusable parameters and experimental comparisons.

Nov 9Thu
  1. Hugging Face Blog78

    Using Latent Consistency LoRA to Generate SDXL Images in 4 Steps

    Hugging Face releases the LCM LoRA method, which trains a small number of LoRA adapter layers instead of distilling the entire model, reducing image generation for SDXL and Stable Diffusion from 25 to 50 steps down to 4 to 8 steps.

    Why it matters: LCM LoRA enables SDXL to generate images in 4 steps. The article provides directly runnable diffusers code and speed comparisons across multiple hardware configurations.

Jul 17Mon
  1. Hugging Face Blog60

    Hugging Face builds an AI WebTV video stream with Zeroscope and MusicGen

    Hugging Face released an experimental AI WebTV demo that uses the open-source text-to-video model Zeroscope and the music generation model MusicGen to automatically generate and stream short videos.

    Why it matters: It breaks down the complete pipeline for building an automatically generated video stream with Zeroscope, MusicGen, and FILM, and includes failure cases and prompt suggestions.

Mar 24Fri
  1. Hugging Face Blog62

    Train your own ControlNet with diffusers

    Hugging Face released a tutorial explaining how to train ControlNet with diffusers, walking through a three-step process using the face pose model Uncanny Faces as an example.

    Why it matters: Using the face pose ControlNet as an example, it walks through the full process of conditioning planning, dataset construction, and the diffusers training script, and provides low-VRAM parameter configurations.

Mar 3Fri
  1. Hugging Face Blog62

    Diffusers integrates ControlNet: a tutorial on using StableDiffusionControlNetPipeline

    Hugging Face integrated ControlNet into Diffusers and introduced StableDiffusionControlNetPipeline, which can control Stable Diffusion generation using spatial conditions such as depth maps, segmentation maps, scribbles, and keypoints.

    Why it matters: The official Diffusers documentation provides the complete way to integrate ControlNet, including reusable code for Canny, OpenPose, and multi-condition combinations.

Jan 26Thu
  1. Hugging Face Blog73

    Hugging Face explains how to efficiently fine-tune Stable Diffusion with LoRA

    Hugging Face published a blog post on how to efficiently fine-tune Stable Diffusion with LoRA, and LoRA training support is now available in diffusers, covering both Dreambooth and full fine-tuning approaches.

    Why it matters: The official diffusers documentation provides LoRA fine-tuning and inference scripts and notes that weights can be reduced to about 3 MB, making it easy for creators to evaluate a low-cost customization workflow.

Dec 1Thu
  1. Hugging Face Blog62

    How to run Stable Diffusion with Core ML on Apple Silicon

    Apple engineers provided conversion scripts and inference code, and Hugging Face has converted the weights of Stable Diffusion v1.4, v1.5, v2 base, and v2.1 base into Core ML versions and published them on the Hugging Face Hub.

    Why it matters: Apple engineers and Hugging Face converted Stable Diffusion weights to Core ML and provided two inference paths, in Python and Swift, for generating images locally on Apple Silicon.

Aug 22Mon
  1. Hugging Face Blog62

    Hugging Face Explains How to Run Stable Diffusion with Diffusers

    Hugging Face releases a tutorial explaining how to run the Stable Diffusion text-to-image model with the Diffusers library and breaking down how it works.

    Why it matters: Hugging Face officially breaks down how Stable Diffusion is invoked in Diffusers and the principles of Latent Diffusion's three components, making the image generation process easier to understand.