[Model] Add support for openai/privacy-filter (#41026)
Signed-off-by: Fabian Joswig <fjosw@users.noreply.github.com> Co-authored-by: wang.yuqi <yuqi.wang@daocloud.io> Co-authored-by: Tyler Michael Smith <tlrmchlsmth@gmail.com>
This commit is contained in:
co-authored by
wang.yuqi
Tyler Michael Smith
parent
95528527ea
commit
4dfbf1503b
@@ -1164,6 +1164,7 @@ class FlashAttentionImpl(AttentionImpl):
|
||||
k_descale=layer._k_scale.expand(descale_shape), # type: ignore[operator]
|
||||
v_descale=layer._v_scale.expand(descale_shape), # type: ignore[operator]
|
||||
num_splits=1 if self.batch_invariant_enabled else 0,
|
||||
s_aux=self.sinks,
|
||||
)
|
||||
|
||||
return output
|
||||
|
||||
Reference in New Issue
Block a user