---
title: "trl 1.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each trl release removed, renamed or changed: 1,106 breaking changes in 8 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/trl
last_updated: 2026-12-04
---

# trl breaking changes

trl 1.0.0 (March 30, 2026) is its newest release with breaking changes, 216 of them. The first: Removed TRACKIO_SPACE_ID. Every breaking API change we have recorded in trl on PyPI: 1,106 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.19.0`, released November 25, 2026. [Source repository](https://github.com/huggingface/trl)

Its 0.25.0 release drops [Python 3.9](https://since.dev/calendar/python/3.9.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.29.0](#v-0-29-0) to [1.0.0](#v-1-0-0): 219 breaking changes in 2 versions.
- From [0.24.0](#v-0-24-0) to [1.0.0](#v-1-0-0): 963 breaking changes in 7 versions.

## trl 1.0.0 breaking changes

trl 1.0.0, released March 30, 2026: 216 breaking changes.

- **Removed** `TRACKIO_SPACE_ID`  

The deprecated TRACKIO_SPACE_ID environment variable is no longer read by any script. Code that sets it will have no effect. [github.com](https://github.com/huggingface/trl/releases/tag/v1.0.0)
- **Removed** `trl.cli.commands.env.print_env`  

trl.cli.commands.env.print_env was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.cli.commands.training.launch_training_script`  

trl.cli.commands.training.launch_training_script was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.cli.commands.training.resolve_accelerate_config_argument`  

trl.cli.commands.training.resolve_accelerate_config_argument was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.cli.commands.vllm_serve.make_vllm_serve_parser`  

trl.cli.commands.vllm_serve.make_vllm_serve_parser was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.cli.commands.vllm_serve.vllm_serve_main`  

trl.cli.commands.vllm_serve.vllm_serve_main was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.cli.main.CommandContext.remaining_args`  

CommandContext.remaining_args was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.cli.main.TrlParser`  

trl.cli.main.TrlParser was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.bco.bco_config.BaseConfig`  

trl.experimental.bco.bco_config.BaseConfig was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.bco.bco_trainer.BaseTrainer`  

trl.experimental.bco.bco_trainer.BaseTrainer was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.bco.BCOConfig.truncation_mode`  

BCOConfig.truncation_mode was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.bco.BCOTrainer.truncation_mode`  

BCOTrainer.truncation_mode was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.cpo.cpo_config.BaseConfig`  

trl.experimental.cpo.cpo_config.BaseConfig was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.cpo.cpo_trainer.BaseTrainer`  

trl.experimental.cpo.cpo_trainer.BaseTrainer was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.cpo.CPOConfig.truncation_mode`  

CPOConfig.truncation_mode was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.cpo.CPOTrainer.truncation_mode`  

CPOTrainer.truncation_mode was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.gold.gold_trainer.ensure_master_addr_port`  

trl.experimental.gold.gold_trainer.ensure_master_addr_port was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.gold.gold_trainer.GOLDVLLMSyncCallback`  

trl.experimental.gold.gold_trainer.GOLDVLLMSyncCallback was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.gold.gold_trainer.VLLMClient`  

trl.experimental.gold.gold_trainer.VLLMClient was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.gold.GOLDConfig.steps_per_generation`  

GOLDConfig.steps_per_generation was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.gold.GOLDConfig.student_model_revision`  

GOLDConfig.student_model_revision was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.gold.GOLDConfig.trl_project`  

GOLDConfig.trl_project was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.gold.GOLDTrainer.vllm_client`  

GOLDTrainer.vllm_client was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.gold.GOLDTrainer.vllm_enable_sleep_mode`  

GOLDTrainer.vllm_enable_sleep_mode was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.gold.GOLDTrainer.vllm_engine`  

GOLDTrainer.vllm_engine was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.gold.GOLDTrainer.vllm_gpu_memory_utilization`  

GOLDTrainer.vllm_gpu_memory_utilization was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.gold.GOLDTrainer.vllm_mode`  

GOLDTrainer.vllm_mode was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.gold.GOLDTrainer.vllm_structured_outputs_regex`  

GOLDTrainer.vllm_structured_outputs_regex was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.gold.GOLDTrainer.vllm_tensor_parallel_size`  

GOLDTrainer.vllm_tensor_parallel_size was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.kto.kto_config.BaseConfig`  

trl.experimental.kto.kto_config.BaseConfig was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.kto.kto_trainer.BaseTrainer`  

trl.experimental.kto.kto_trainer.BaseTrainer was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.online_dpo.online_dpo_config.BaseConfig`  

trl.experimental.online_dpo.online_dpo_config.BaseConfig was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.online_dpo.online_dpo_trainer.BaseTrainer`  

trl.experimental.online_dpo.online_dpo_trainer.BaseTrainer was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.online_dpo.OnlineDPOTrainer.get_eval_dataloader`  

OnlineDPOTrainer.get_eval_dataloader was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.online_dpo.OnlineDPOTrainer.get_train_dataloader`  

OnlineDPOTrainer.get_train_dataloader was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.orpo.orpo_config.BaseConfig`  

trl.experimental.orpo.orpo_config.BaseConfig was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.orpo.orpo_trainer.BaseTrainer`  

trl.experimental.orpo.orpo_trainer.BaseTrainer was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.orpo.ORPOConfig.truncation_mode`  

ORPOConfig.truncation_mode was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.orpo.ORPOTrainer.truncation_mode`  

ORPOTrainer.truncation_mode was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.ppo.ppo_config.BaseConfig`  

trl.experimental.ppo.ppo_config.BaseConfig was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.ppo.ppo_trainer.BaseTrainer`  

trl.experimental.ppo.ppo_trainer.BaseTrainer was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.prm.prm_config.BaseConfig`  

trl.experimental.prm.prm_config.BaseConfig was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.experimental.prm.prm_trainer.BaseTrainer`  

trl.experimental.prm.prm_trainer.BaseTrainer was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.scripts.dpo.DatasetMixtureConfig`  

trl.scripts.dpo.DatasetMixtureConfig was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.scripts.dpo.DPOConfig`  

trl.scripts.dpo.DPOConfig was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.scripts.dpo.DPOTrainer`  

trl.scripts.dpo.DPOTrainer was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.scripts.dpo.get_dataset`  

trl.scripts.dpo.get_dataset was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.scripts.dpo.get_kbit_device_map`  

trl.scripts.dpo.get_kbit_device_map was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.scripts.dpo.get_peft_config`  

trl.scripts.dpo.get_peft_config was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)
- **Removed** `trl.scripts.dpo.get_quantization_config`  

trl.scripts.dpo.get_quantization_config was removed in trl 1.0.0 [pypi.org](https://pypi.org/project/trl/1.0.0/)

And 166 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## trl 1.0.0rc1 breaking changes

trl 1.0.0rc1, released March 30, 2026: 3 breaking changes.

- **Renamed** `bfd-requeue`  

The "bfd-requeue" packing strategy has been renamed to "bfd_split". Update code that passes the old name. [github.com](https://github.com/huggingface/trl/releases/tag/v1.0.0rc1)
- **Behavior changed**  

A MIGRATION.md guide covers the breaking changes when upgrading from TRL v0 to v1. Read it before upgrading. [github.com](https://github.com/huggingface/trl/releases/tag/v1.0.0rc1)
- **Default changed** `vllm_mode`  

The default value of vllm_mode is now "colocate". Set it explicitly if you relied on the previous default. [github.com](https://github.com/huggingface/trl/releases/tag/v1.0.0rc1)

## trl 0.29.0 breaking changes

trl 0.29.0, released February 25, 2026: 197 breaking changes.

- **Removed**  

Several deprecated classes that moved to the experimental package were removed from the stable API. [github.com](https://github.com/huggingface/trl/releases/tag/v0.29.0)
- **Removed** `BCO`  

The deprecated BCO trainer was removed because it moved to the experimental package. Code that imports it from the stable API must switch to the experimental location. [github.com](https://github.com/huggingface/trl/releases/tag/v0.29.0)
- **Removed** `CPO`  

The deprecated CPO trainer was removed because it moved to the experimental package. Code that imports it from the stable API must switch to the experimental location. [github.com](https://github.com/huggingface/trl/releases/tag/v0.29.0)
- **Removed** `Judges`  

The deprecated Judges classes were removed because they moved to the experimental package. Code must use the experimental location. [github.com](https://github.com/huggingface/trl/releases/tag/v0.29.0)
- **Removed** `ORPO`  

The deprecated ORPO trainer was removed because it moved to the experimental package. Code must use the experimental location. [github.com](https://github.com/huggingface/trl/releases/tag/v0.29.0)
- **Removed** `PPO`  

The deprecated PPO trainer was removed because it moved to the experimental package. Code must use the experimental location. [github.com](https://github.com/huggingface/trl/releases/tag/v0.29.0)
- **Removed** `PRM`  

The deprecated PRM trainer was removed because it moved to the experimental package. Code must use the experimental location. [github.com](https://github.com/huggingface/trl/releases/tag/v0.29.0)
- **Removed** `trl.AllTrueJudge`  

trl.AllTrueJudge was removed in trl 0.29.0 [pypi.org](https://pypi.org/project/trl/0.29.0/)
- **Removed** `trl.AutoModelForCausalLMWithValueHead`  

trl.AutoModelForCausalLMWithValueHead was removed in trl 0.29.0 [pypi.org](https://pypi.org/project/trl/0.29.0/)
- **Removed** `trl.AutoModelForSeq2SeqLMWithValueHead`  

trl.AutoModelForSeq2SeqLMWithValueHead was removed in trl 0.29.0 [pypi.org](https://pypi.org/project/trl/0.29.0/)

And 187 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## trl 0.28.0 breaking changes

trl 0.28.0, released February 10, 2026: 104 breaking changes.

- **Removed** `GRPOTrainer.warnings_issued`  

Code reading warnings_issued from the trainer no longer works. [github.com](https://github.com/huggingface/trl/releases/tag/v0.28.0)
- **Removed** `label_pad_token_id`  

The label_pad_token_id option was removed from experimental trainers. Stop passing it. [github.com](https://github.com/huggingface/trl/releases/tag/v0.28.0)
- **Removed** `max_prompt_length`  

max_prompt_length was removed from experimental PRM, BCO, CPO and ORPO trainers. Stop passing it. [github.com](https://github.com/huggingface/trl/releases/tag/v0.28.0)
- **Removed** `padding_value`  

padding_value was removed from experimental CPO; use pad_token_id instead. [github.com](https://github.com/huggingface/trl/releases/tag/v0.28.0)
- **Removed** `ref_model_init_kwargs`  

The ref_model_init_kwargs option was removed from experimental KTO and BCO trainers. Stop passing it. [github.com](https://github.com/huggingface/trl/releases/tag/v0.28.0)
- **Removed** `TrainingArguments.push_to_hub_token`  

For transformers v5 and above, push_to_hub_token handling changed in SFTTrainer init. [github.com](https://github.com/huggingface/trl/releases/tag/v0.28.0)
- **Removed** `trl.BCOConfig.label_pad_token_id`  

BCOConfig.label_pad_token_id was removed in trl 0.28.0 [pypi.org](https://pypi.org/project/trl/0.28.0/)
- **Removed** `trl.BCOConfig.max_prompt_length`  

BCOConfig.max_prompt_length was removed in trl 0.28.0 [pypi.org](https://pypi.org/project/trl/0.28.0/)
- **Removed** `trl.BCOConfig.padding_value`  

BCOConfig.padding_value was removed in trl 0.28.0 [pypi.org](https://pypi.org/project/trl/0.28.0/)
- **Removed** `trl.BCOConfig.ref_model_init_kwargs`  

BCOConfig.ref_model_init_kwargs was removed in trl 0.28.0 [pypi.org](https://pypi.org/project/trl/0.28.0/)

And 94 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## trl 0.27.0 breaking changes

trl 0.27.0, released January 16, 2026: 117 breaking changes.

- **Removed**  

Previously deprecated functions and parameters were removed. Code still calling them must be updated. [github.com](https://github.com/huggingface/trl/releases/tag/v0.27.0)
- **Removed**  

KTO no longer supports encoder-decoder models. [github.com](https://github.com/huggingface/trl/releases/tag/v0.27.0)
- **Removed**  

Support for DbrxForCausalLM has been removed. [github.com](https://github.com/huggingface/trl/releases/tag/v0.27.0)
- **Removed** `trl.DisabledTqdm`  

trl.DisabledTqdm was removed in trl 0.27.0 [pypi.org](https://pypi.org/project/trl/0.27.0/)
- **Removed** `trl.experimental.gfpo.GFPOConfig.wandb_log_unique_prompts`  

GFPOConfig.wandb_log_unique_prompts was removed in trl 0.27.0 [pypi.org](https://pypi.org/project/trl/0.27.0/)
- **Removed** `trl.experimental.gfpo.GFPOTrainer.guided_decoding_regex`  

GFPOTrainer.guided_decoding_regex was removed in trl 0.27.0 [pypi.org](https://pypi.org/project/trl/0.27.0/)
- **Removed** `trl.experimental.gold.GOLDConfig.vllm_guided_decoding_regex`  

GOLDConfig.vllm_guided_decoding_regex was removed in trl 0.27.0 [pypi.org](https://pypi.org/project/trl/0.27.0/)
- **Removed** `trl.experimental.gold.GOLDTrainer.vllm_guided_decoding_regex`  

GOLDTrainer.vllm_guided_decoding_regex was removed in trl 0.27.0 [pypi.org](https://pypi.org/project/trl/0.27.0/)
- **Removed** `trl.experimental.ppo.ppo_config.OnPolicyConfig`  

trl.experimental.ppo.ppo_config.OnPolicyConfig was removed in trl 0.27.0 [pypi.org](https://pypi.org/project/trl/0.27.0/)
- **Removed** `trl.extras.dataset_formatting.conversations_formatting_function`  

trl.extras.dataset_formatting.conversations_formatting_function was removed in trl 0.27.0 [pypi.org](https://pypi.org/project/trl/0.27.0/)

And 107 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## trl 0.26.0 breaking changes

trl 0.26.0, released December 9, 2025: 220 breaking changes.

- **Removed** `CPOTrainer`  

CPOTrainer moved to the experimental module and is no longer in the stable API. [github.com](https://github.com/huggingface/trl/releases/tag/v0.26.0)
- **Removed** `GKDTrainer`  

GKDTrainer moved to the experimental module and is no longer in the stable API. [github.com](https://github.com/huggingface/trl/releases/tag/v0.26.0)
- **Removed** `GRPOTrainer.loss_type`  

Deprecated batched formatting in GOLDTrainer was removed; use the current formatting path. [github.com](https://github.com/huggingface/trl/releases/tag/v0.26.0)
- **Removed** `KTOTrainer`  

KTOTrainer moved to the experimental module and is no longer in the stable API. [github.com](https://github.com/huggingface/trl/releases/tag/v0.26.0)
- **Removed** `MergeModelCallback`  

MergeModelCallback moved to the experimental module. [github.com](https://github.com/huggingface/trl/releases/tag/v0.26.0)
- **Removed** `NashMDTrainer`  

NashMDTrainer moved to the experimental module and is no longer in the stable API. [github.com](https://github.com/huggingface/trl/releases/tag/v0.26.0)
- **Removed** `ORPOTrainer`  

ORPOTrainer moved to the experimental module and is no longer in the stable API. [github.com](https://github.com/huggingface/trl/releases/tag/v0.26.0)
- **Removed** `PPOTrainer`  

PPOTrainer now lives in trl.experimental.ppo. [github.com](https://github.com/huggingface/trl/releases/tag/v0.26.0)
- **Removed** `PRMTrainer`  

PRMTrainer now lives in trl.experimental.prm. [github.com](https://github.com/huggingface/trl/releases/tag/v0.26.0)
- **Removed** `RLOOTrainer`  

RLOOTrainer no longer emits a deprecation warning; the warning was removed, not the trainer. [github.com](https://github.com/huggingface/trl/releases/tag/v0.26.0)

And 210 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

2 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### trl 0.25.0 breaking changes

trl 0.25.0, released November 5, 2025: 106 breaking changes.

- **Removed**  

Python 3.9 is no longer supported; users on it must upgrade their Python version. [github.com](https://github.com/huggingface/trl/releases/tag/v0.25.0)
- **Removed** `liger_loss`  

The liger loss option is removed, so code using it must switch to liger kernel. [github.com](https://github.com/huggingface/trl/releases/tag/v0.25.0)

And 104 more in this version.

### trl 0.24.0 breaking changes

trl 0.24.0, released October 16, 2025: 143 breaking changes.

- **Removed** `apex`  

Apex support has been removed. [github.com](https://github.com/huggingface/trl/releases/tag/v0.24.0)
- **Removed** `block_size`  

block_size is no longer passed in generation kwargs. [github.com](https://github.com/huggingface/trl/releases/tag/v0.24.0)

And 141 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
