Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesGaessler committed Jan 14, 2025
1 parent 0dba9e5 commit 0b78780
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 310 deletions.
1 change: 0 additions & 1 deletion ggml/src/ggml-backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,6 @@ enum ggml_status ggml_backend_graph_compute_async(ggml_backend_t backend, struct
}

bool ggml_backend_supports_op(ggml_backend_t backend, const struct ggml_tensor * op) {
// GGML_ASSERT(ggml_backend_dev_supports_op(backend->device, op));
return ggml_backend_dev_supports_op(backend->device, op);
}

Expand Down
2 changes: 2 additions & 0 deletions ggml/src/ggml-cpu/ggml-cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -6966,6 +6966,8 @@ static void ggml_compute_forward_rms_norm_f32(
float eps;
memcpy(&eps, dst->op_params, sizeof(float));

GGML_ASSERT(eps > 0.0f);

// TODO: optimize
for (int64_t i03 = 0; i03 < ne03; i03++) {
for (int64_t i02 = 0; i02 < ne02; i02++) {
Expand Down
1 change: 0 additions & 1 deletion ggml/src/ggml.c
Original file line number Diff line number Diff line change
Expand Up @@ -3294,7 +3294,6 @@ struct ggml_tensor * ggml_get_rows(
}

// ggml_get_rows_back
// TODO reorder arguments to be consistent with other _back ops

struct ggml_tensor * ggml_get_rows_back(
struct ggml_context * ctx,
Expand Down
271 changes: 0 additions & 271 deletions src/llama-model-saver.cpp

This file was deleted.

37 changes: 0 additions & 37 deletions src/llama-model-saver.h

This file was deleted.

0 comments on commit 0b78780

Please sign in to comment.