mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
more robust glslc checks, increase default denoise str
This commit is contained in:
parent
16156f0d86
commit
6dbee2f2f8
3 changed files with 10 additions and 9 deletions
3
Makefile
3
Makefile
|
@ -698,7 +698,8 @@ else
|
||||||
@echo 'Now rebuilding vulkan shaders for Linux...'
|
@echo 'Now rebuilding vulkan shaders for Linux...'
|
||||||
@chmod +x vulkan-shaders-gen glslc-linux
|
@chmod +x vulkan-shaders-gen glslc-linux
|
||||||
@echo 'Checking if bundled glslc-linux binary is usable...'
|
@echo 'Checking if bundled glslc-linux binary is usable...'
|
||||||
@GLSLC_BIN=$$(if ./glslc-linux --version >/dev/null 2>&1; then \
|
@GLSLC_BIN=$$( \
|
||||||
|
if [ -x ./glslc-linux ] && ./glslc-linux --version 2>/dev/null | grep -q "glslang"; then \
|
||||||
echo "./glslc-linux"; \
|
echo "./glslc-linux"; \
|
||||||
elif command -v glslc >/dev/null 2>&1; then \
|
elif command -v glslc >/dev/null 2>&1; then \
|
||||||
echo "glslc"; \
|
echo "glslc"; \
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2117,7 +2117,7 @@ def transform_genparams(genparams, api_format):
|
||||||
# note: message string already contains the instruct start tag!
|
# note: message string already contains the instruct start tag!
|
||||||
temp_poll = {
|
temp_poll = {
|
||||||
"prompt": f"{messages_string}\n\nTool List:\n{tools_string}\n\n{custom_tools_prompt}{user_end}",
|
"prompt": f"{messages_string}\n\nTool List:\n{tools_string}\n\n{custom_tools_prompt}{user_end}",
|
||||||
"max_length":4,
|
"max_length":6,
|
||||||
"temperature":0.1,
|
"temperature":0.1,
|
||||||
"top_k":1,
|
"top_k":1,
|
||||||
"rep_pen":1,
|
"rep_pen":1,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue