summaryrefslogtreecommitdiffstats
path: root/Whisper/ML/Context.ops.cpp
diff options
context:
space:
mode:
authorKonstantin <const@const.me>2023-01-23 13:48:29 +0100
committerKonstantin <const@const.me>2023-01-23 13:48:29 +0100
commit01aba39f15a03ed96e034ffc3b6ee9ec12294b0d (patch)
treec8f4b5610c15404f97e01f2436febf13994ed586 /Whisper/ML/Context.ops.cpp
parent99b87744ba22df78e3c476c92945b75acd267b87 (diff)
Minor, profiler tags
Diffstat (limited to 'Whisper/ML/Context.ops.cpp')
-rw-r--r--Whisper/ML/Context.ops.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Whisper/ML/Context.ops.cpp b/Whisper/ML/Context.ops.cpp
index 7dfca9f..a94497e 100644
--- a/Whisper/ML/Context.ops.cpp
+++ b/Whisper/ML/Context.ops.cpp
@@ -192,6 +192,7 @@ Tensor MlContext::flashAttention( const Tensor& q, const Tensor& k, const Tensor
profiler.setNextTag( "flashAttn.1" );
Tensor tmp = mulMat( k, q );
+ profiler.setNextTag( "flashAttention" );
const float tempScale = (float)( 1.0 / sqrt( (double)(int)q.ne[ 0 ] ) );
softMax( tmp, tempScale );