Skip to content

Commit

Permalink
Merge commit 'ccf58aa3ec4d20b10162ba40898dc038ad4c3fad' into concedo_…
Browse files Browse the repository at this point in the history
…experimental

# Conflicts:
#	.gitignore
#	Makefile
#	README-sycl.md
#	ggml-cuda.cu
  • Loading branch information
LostRuins committed Apr 6, 2024
2 parents 7436870 + ccf58aa commit c348223
Show file tree
Hide file tree
Showing 14 changed files with 11,260 additions and 9,949 deletions.
1 change: 1 addition & 0 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ else()
add_subdirectory(embedding)
add_subdirectory(finetune)
add_subdirectory(gritlm)
add_subdirectory(gguf-split)
add_subdirectory(infill)
add_subdirectory(llama-bench)
add_subdirectory(llava)
Expand Down
5 changes: 5 additions & 0 deletions examples/gguf-split/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
set(TARGET gguf-split)
add_executable(${TARGET} gguf-split.cpp)
install(TARGETS ${TARGET} RUNTIME)
target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET} PRIVATE cxx_std_11)
9 changes: 9 additions & 0 deletions examples/gguf-split/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## GGUF split Example

CLI to split / merge GGUF files.

**Command line options:**

- `--split`: split GGUF to multiple GGUF, default operation.
- `--split-max-tensors`: maximum tensors in each split: default(128)
- `--merge`: merge multiple GGUF to a single GGUF.
Loading

0 comments on commit c348223

Please sign in to comment.