From 0f5e55e7a8de564407ee54ad8ab5ab1d2cb3bb5a Mon Sep 17 00:00:00 2001 From: Harry Mellor <19981378+hmellor@users.noreply.github.com> Date: Wed, 11 Feb 2026 13:30:37 +0100 Subject: [PATCH] Make JAIS compatible with Transformers v5 (#34264) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> --- vllm/model_executor/models/jais.py | 1 - 1 file changed, 1 deletion(-) diff --git a/vllm/model_executor/models/jais.py b/vllm/model_executor/models/jais.py index 5685acd755..2e122e3dba 100644 --- a/vllm/model_executor/models/jais.py +++ b/vllm/model_executor/models/jais.py @@ -244,7 +244,6 @@ class JAISModel(nn.Module): quant_config = vllm_config.quant_config self.config = config - assert not config.add_cross_attention assert not config.scale_attn_by_inverse_layer_idx assert not config.reorder_and_upcast_attn self.embed_dim = config.hidden_size