diff options
author | firecoperana <xuqiaowei1124@gmail.com> | 2025-06-19 02:24:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-19 10:24:53 +0300 |
commit | 3f111ad7bbb2d4f721332f9b2b344e48b3bbf9aa (patch) | |
tree | a3a17ee74e0436253e17f0d322320ed554d34b0a /examples/rpc | |
parent | c5368148cf3af7a3694e0eb03d24a08326c01d12 (diff) |
add dry sampler (#513)
* add dry sampler
* use vocab instead of model in dry_init function
* fix compile error for build test
---------
Co-authored-by: firecoperana <firecoperana>
Diffstat (limited to 'examples/rpc')
-rw-r--r-- | examples/rpc/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/rpc/CMakeLists.txt b/examples/rpc/CMakeLists.txt index 41b22863..815636fe 100644 --- a/examples/rpc/CMakeLists.txt +++ b/examples/rpc/CMakeLists.txt @@ -1,4 +1,10 @@ set(TARGET rpc-server) add_executable(${TARGET} rpc-server.cpp) target_link_libraries(${TARGET} PRIVATE ggml) -target_compile_features(${TARGET} PRIVATE cxx_std_17)
\ No newline at end of file +target_compile_features(${TARGET} PRIVATE cxx_std_17) +if (MSVC) + target_link_options(${TARGET} PRIVATE + $<$<CONFIG:DEBUG>:/STACK:20971520,1048576 > + $<$<CONFIG:RELEASE>:/STACK:20971520,1048576> + ) +endif()
\ No newline at end of file |