Skip to content

ludwig

v0.17.3 Breaking

This release includes 5 breaking changes for platform teams planning a safe upgrade.

Published 10d LLM Frameworks
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

computer-vision data-centric data-science deep machine-learning deeplearning
+11 more
fine-tuning learning llama llama2 llm llm-training machinelearning mistral natural-language natural-language-processing pytorch

Affected surfaces

deps breaking_upgrade

ReleasePort's take

Light signal
editorial:auto 10d

Version v0.17.3 of Ludwig enforces torch>=2.11 to fix LLM fine‑tuning crashes and rebuilds Docker images with updated PyTorch stack.

Why it matters: Enforcing torch ≥ 2.11 resolves critical LLM fine‑tuning failures; Docker images now include torch==2.12.0, ensuring stable audio I/O and dependency resolution for CI pipelines.

Summary

AI summary

Updates Bug fixes, AutoML improvement, and new across a mixed release.

Changes in this release

Feature Medium

Changes default tabular combiner in AutoML from `tabnet` to `ft_transformer`.

Changes default tabular combiner in AutoML from `tabnet` to `ft_transformer`.

Source: llm_adapter@2026-05-24

Confidence: high

Dependency Medium

Updates lower bounds: torch>=2.11, torchaudio>=2.11, torchvision>=0.26, transformers>=5.0, torchao (llm extra)>=0.17.

Updates lower bounds: torch>=2.11, torchaudio>=2.11, torchvision>=0.26, transformers>=5.0, torchao (llm extra)>=0.17.

Source: llm_adapter@2026-05-24

Confidence: high

Dependency Medium

Rebuilds all Docker images with torch==2.12.0, torchvision==0.27.0, torchaudio==2.11.0, torchcodec, and FFmpeg.

Rebuilds all Docker images with torch==2.12.0, torchvision==0.27.0, torchaudio==2.11.0, torchcodec, and FFmpeg.

Source: llm_adapter@2026-05-24

Confidence: high

Bugfix Medium

Enforces torch>=2.11, fixing LLM fine‑tuning crash with torchao>=0.17.

Enforces torch>=2.11, fixing LLM fine‑tuning crash with torchao>=0.17.

Source: llm_adapter@2026-05-24

Confidence: high

Bugfix Medium

Installs FFmpeg in Docker images, fixing torchaudio/torchcodec audio loading.

Installs FFmpeg in Docker images, fixing torchaudio/torchcodec audio loading.

Source: llm_adapter@2026-05-24

Confidence: high

Bugfix Medium

Reorders dependency resolution, preventing CI resolver poisoning from extra‑index URL.

Reorders dependency resolution, preventing CI resolver poisoning from extra‑index URL.

Source: llm_adapter@2026-05-24

Confidence: high

Full changelog

What's changed

Bug fixes

  • Fixed LLM fine-tuning crash with torchao>=0.17 (#4170)
    torchao 0.17 requires torch>=2.11 (uses torch.utils._pytree.register_constant), but the previous Docker images shipped torch==2.6.0, causing an AttributeError on import. Ludwig itself now enforces torch>=2.11 so the combination can never resolve to an incompatible pair again.

  • Fixed torchaudio / torchcodec audio loadingtorchaudio>=2.11 delegates all audio I/O to torchcodec, which requires FFmpeg. The CI images and Docker images now install FFmpeg explicitly.

  • Fixed CI dependency resolver poisoning — passing --extra-index-url https://download.pytorch.org/whl/cpu to the Ludwig [test] install step caused uv to resolve all packages (including datasets, ray, packaging) through the PyTorch wheel server, returning ancient versions. The install order is now: pin all torch-family packages from the CPU extra-index first, then install .[test] against plain PyPI.

Dependency changes

Updated lower bounds in pyproject.toml:

| Package | Old lower bound | New lower bound |
|---------|----------------|----------------|
| torch | >=1.13 | >=2.11 |
| torchaudio | >=0.13 | >=2.11 |
| torchvision | >=0.14 | >=0.26 |
| torchcodec | (new) | >=0.1 |
| transformers | >=4.36 | >=5.0 |
| torchao (llm extra) | >=0.8.0 | >=0.17.0 |

Docker images

All four images (ludwig, ludwig-ray, ludwig-gpu, ludwig-ray-gpu) are rebuilt with:

  • torch==2.12.0
  • torchvision==0.27.0
  • torchaudio==2.11.0
  • torchcodec (CPU/CUDA variant as appropriate)
  • FFmpeg installed in the image

AutoML improvement

  • Changed the default tabular combiner in AutoML from tabnet to ft_transformer, which generally performs better on tabular datasets.

Breaking Changes

  • Minimum torch version raised to >=2.11
  • Minimum torchaudio version raised to >=2.11 (requires FFmpeg)
  • Minimum torchvision version raised to >=0.26
  • Added required dependency torchcodec >=0.1
  • Updated transformers lower bound to >=5.0

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track ludwig

Get notified when new releases ship.

Sign up free

About ludwig

Low-code framework for building custom LLMs, neural networks, and other AI models

All releases →

Beta — feedback welcome: [email protected]