Skip to content

Commit

Permalink
tests : fix silu test to use type arg (#0)
Browse files Browse the repository at this point in the history
ggml-ci
  • Loading branch information
ggerganov committed Feb 28, 2025
1 parent 5e079c1 commit 95e1e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-backend-ops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3982,7 +3982,7 @@ static std::vector<std::unique_ptr<test_case>> make_test_cases_eval() {
test_cases.emplace_back(new test_scale());

for (ggml_type type : {GGML_TYPE_F16, GGML_TYPE_F32}) {
test_cases.emplace_back(new test_silu_back());
test_cases.emplace_back(new test_silu_back(type));
}

for (float eps : {0.0f, 1e-6f, 1e-4f, 1e-1f}) {
Expand Down

0 comments on commit 95e1e11

Please sign in to comment.