Home
last modified time | relevance | path

Searched defs:pse_shift (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore-src/source/tests/st/ops/ascend/
Dtest_fused_infer_attention_score.py30 …construct(self, query, key, value, attn_mask, actual_seq_lengths, actual_seq_lengths_kv, pse_shift, argument
51 def construct(self, query, key_i, value_i, attn_mask, actual_seq_lengths, pse_shift, argument
79 …def construct(self, query, key, value, pse_shift, attn_mask, actual_seq_lengths, actual_seq_length… argument
Dtest_prompt_flash_attention.py29 …construct(self, query, key, value, attn_mask, actual_seq_lengths, actual_seq_lengths_kv, pse_shift, argument
Dtest_incre_flash_attention.py408 pse_shift, argument
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/pyboost/customize/
Dflash_attention_score_grad.cc32 const std::optional<BaseTensorPtr> &pse_shift, const std::optional<BaseTensorPtr> &drop_mask, in FlashAttentionScoreGradAscendCall()
86 …const BaseTensorPtr &dy, const std::optional<BaseTensorPtr> &pse_shift, const std::optional<BaseTe… in FlashAttentionScoreGradAscendCustomize()
/third_party/mindspore/mindspore-src/source/tests/st/auto_parallel/
Dtest_prompt_flash_attention_info.py137 …construct(self, query, key, value, attn_mask, actual_seq_lengths, actual_seq_lengths_kv, pse_shift, argument
/third_party/mindspore/mindspore-src/source/tests/ut/python/parallel/
Dtest_prompt_flash_attention.py130 …construct(self, query, key, value, attn_mask, actual_seq_lengths, actual_seq_lengths_kv, pse_shift, argument
Dtest_fused_infer_attention_score.py169 …def construct(self, query, key, value, pse_shift, attn_mask, actual_seq_lengths, actual_seq_length… argument
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops/function/
Dnn_func.py7886 …flash_attention(query, key, value, attn_mask, actual_seq_lengths, actual_seq_lengths_kv, pse_shift, argument
7962 def incre_flash_attention(query, key, value, attn_mask, actual_seq_lengths, pse_shift, dequant_scal… argument