Unverified Commit 0f5e55e7 authored by Harry Mellor's avatar Harry Mellor Committed by GitHub
Browse files

Make JAIS compatible with Transformers v5 (#34264)


Signed-off-by: default avatarHarry Mellor <19981378+hmellor@users.noreply.github.com>
parent 1e9204bf
...@@ -244,7 +244,6 @@ class JAISModel(nn.Module): ...@@ -244,7 +244,6 @@ class JAISModel(nn.Module):
quant_config = vllm_config.quant_config quant_config = vllm_config.quant_config
self.config = config self.config = config
assert not config.add_cross_attention
assert not config.scale_attn_by_inverse_layer_idx assert not config.scale_attn_by_inverse_layer_idx
assert not config.reorder_and_upcast_attn assert not config.reorder_and_upcast_attn
self.embed_dim = config.hidden_size self.embed_dim = config.hidden_size
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment