-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ggml-backend v2 : add ggml_backend_sched (#586)
* ggml-backend-v2 wip * fix metal build * ggml-alloc : use a real backend buffer in measure mode * backend sched : ignore view ops to reduce the number of splits * dynamic ggml_cgraph wip * dyn graphs : remove n_tasks from ggml_cplan * dyn graphs : update ggml_graph_import * reset hash table in ggml_build_forward * ggml-alloc : split into tensor and graph allocators * add ggml_backend_sched_set_node_backend * remove ggml_build_forward_ctx, ggml_build_backward_ctx add ggml_opt_params::graph_size add ggml_new_graph_custom, ggml_graph_overhead_custom add ggml_graph_clear * update examples and tests, fix issues * update more examples * update gpt-2/main-backend.cpp from master * ggml : fix copmile warning * ci : update yolo, fix mnist, use gpt-2-backend * ggml : fix uninit warning * ci : switch to gpt-2-backend2 ggml-ci * metal : skip noops early to avoid warnings from ggml_metal_get_buffer --------- Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
- Loading branch information
Showing
42 changed files
with
5,066 additions
and
1,095 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.