metal: add support for opt_step_sgd (#16539)

* metal: add support for opt_step_sgd

* add newline to pass EditorConfig check
This commit is contained in:
Sam/Samuel
2025-10-13 16:25:02 +08:00
committed by GitHub
parent c515fc5771
commit 3f750f8d76
7 changed files with 78 additions and 0 deletions

View File

@@ -781,4 +781,8 @@ typedef struct {
int64_t np;
} ggml_metal_kargs_opt_step_adamw;
typedef struct {
int64_t np;
} ggml_metal_kargs_opt_step_sgd;
#endif // GGML_METAL_IMPL