Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Jun 23, 2024
1 parent decd082 commit 01bffd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .ci/test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ jobs:
uses: cache@1.*
with:
cachePaths: swiftshader-install
cacheKey: swiftshader-linux-install-20230420-1
cacheKey: swiftshader-linux-install-20240622

- name: checkout-swiftshader
if: steps.cache-swiftshader.outputs.cacheHit != 'true'
checkout: https://github.com/google/swiftshader.git
with:
pullType: COMMIT_ID
refName: dd55e592406dc0bae219df11adec6363840aff4a
refName: de870ac7518fe2b6bb651ecc22fc36647cf7b986
localPath: swiftshader
enableSubmodule: false
enableGitLfs: false
Expand Down
2 changes: 1 addition & 1 deletion tests/test_multiheadattention.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ static int test_multiheadattention_sameqkv(const ncnn::Mat& a, int embed_dim, in
pd.set(2, embed_dim * qdim);
pd.set(3, qdim);
pd.set(4, qdim);
pd.set(6, 2.f / sqrtf(embed_dim / num_heads));
pd.set(6, 0.7f / sqrtf(embed_dim / num_heads));

std::vector<ncnn::Mat> weights(8);
weights[0] = RandomMat(embed_dim * qdim);
Expand Down

0 comments on commit 01bffd2

Please sign in to comment.