Make JAIS compatible with Transformers v5 (#34264)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2026-02-11 13:30:37 +01:00
committed by GitHub
parent 1e9204bff3
commit 0f5e55e7a8

View File

@@ -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