AI model execution tool CTranslate2 released a new version on November 22, adding distribution builds for Blackwell GPUs. It also fixes Transformers model conversion errors. Developers adopting these GPUs or newer model tools may want to review it.

1. Blackwell added as a target for CUDA 12 distribution builds

The new feature in 4.9.1 is the addition of Blackwell targets to CUDA 12 release builds. The change concerns the targets covered by precompiled project builds, rather than the process of compiling source code yourself.

The official installation guide requires CUDA 12.x to run NVIDIA GPUs with Python packages for Linux and Windows. Models with convolutional layers, which process neighboring inputs and are used in speech recognition, also need cuDNN 8. Check both library requirements when evaluating Blackwell builds.

2. Model-specific conversion fixes and tests with real models

Model conversion translates framework-specific model representations into a common format that CTranslate2 can read. These fixes therefore address the preparation steps between obtaining a model and running it.

For Gemma 2 and 3, the fixes address computation and positional information handling during conversion. They adjust how internal model operations are translated into the execution format.

Two Phi models were fixed to support conversion with Transformers 4.x and 5.x. The models are Phi-3 and Phi-4, so the change covers both older and newer library environments.

For T5 and mT5, the update fixes output scaling during generation under Transformers 5. The fixes differ by model family, so developers can check the changes relevant to their model and library combination.

The project tested with Transformers 5.24.0 and 4.x, updated converters, and added tests that convert real models. Alongside individual fixes, the update expands test coverage using actual models.

3. Create a model folder for execution with the official conversion command

The Transformers model converter is included in the package, and Transformers must be installed before conversion. Below is the M2M100 conversion command from the official documentation.

pip install transformers[torch]
ct2-transformers-converter --model facebook/m2m100_418M --output_dir ct2_model

The command specifies the name of a pretrained model, already trained on data, and an output folder. Conversion produces a directory with a configuration file, a binary model file, and one or more vocabulary files. This folder is the model bundle loaded for execution.

The official documentation also explains how to use the model's tokenizer to prepare translation input. For Transformers models, the tokenizer returns the required special tokens, making input preparation part of getting the model ready to run.

4. An update that calls for checking conversion tools and runtime environments together

This release offers Blackwell distribution builds and corrected model conversion paths. Adoption requires GPU library installation and version checks for conversion tools and runtimes. Update plans should cover the production environment that reads models, not just the conversion environment.

The official documentation says newer versions are backward compatible with previously converted models. However, older runtimes are not guaranteed to read models converted by newer versions. When moving converted models to production servers, it recommends using a CTranslate2 runtime at least as new as the version used for conversion.

Prioritize CTranslate2 4.9.1 according to Blackwell adoption and Transformers model conversion needs, checking conversion tools and production environments together.