# Hugging Face Transformers v4.38.0 — Release & Upgrade Intelligence
- **Product:** Hugging Face Transformers (https://huggingface.co)
- **Version:** v4.38.0
- **Released:** Feb 21, 2024
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/transformers/updates/v4.38.0/

## Executive Summary (TL;DR)
Hugging Face Transformers v4.38.0. Source highlight: Gemma is a new opensource Language Model series from Google AI that comes with a 2B and 7B variant. The release comes with the pre-trained and instruction fine-tuned versions and you can use them via `AutoModelForCausalLM`, `GemmaForCausalLM` or `pipeline` interface!

## New Features
- Add Depth Anything  by @NielsRogge in #28654
- Add `StableLM`  by @jon-tow in #28810
- [`Core generation`] Adds support for static KV cache  by @ArthurZucker in #27931
- [`CLeanup`] Revert SDPA attention changes that got in the static kv cache PR  by @ArthurZucker in #29027
- Static Cache: load models with MQA or GQA  by @gante in #28975
- Add tf_keras imports to prepare for Keras 3 by @Rocketknight1 in #28588

## Improvements
- Flax mistral  by @kiansierra in #26943
- Wrap Keras methods to support BatchEncoding by @Rocketknight1 in #28734
- Improve Backbone API docs  by @merveenoyan in #28666
- Improved type hinting for all attention parameters (#28479)

## Bug Fixes
- Fix static generation when compiling!   by @ArthurZucker in #28937
- Fix symbolic_trace with kv cache  by @fxmarty in #28724
- Fix Keras scheduler import so it works for older versions of Keras by @Rocketknight1 in #28895
- Fix id2label assignment in run_classification.py  by @jheitmann in #28590
- Add missing key to TFLayoutLM signature  by @Rocketknight1 in #28640
- Avoid root logger's level being changed  by @ydshieh in #28638

## Upgrade Command
```bash
python -m pip install 'transformers==4.38.0'
```
