mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-13 10:29:43 +00:00
fixed build and workflow
This commit is contained in:
parent
4f2fcaa2ef
commit
ce58d1253f
3 changed files with 40 additions and 4 deletions
32
.github/workflows/kcpp-build-release-win.yaml
vendored
32
.github/workflows/kcpp-build-release-win.yaml
vendored
|
@ -144,4 +144,36 @@ jobs:
|
||||||
ggml/src/ggml-vulkan-shaders.hpp
|
ggml/src/ggml-vulkan-shaders.hpp
|
||||||
vulkan-readme.txt
|
vulkan-readme.txt
|
||||||
|
|
||||||
|
- name: Build Tools
|
||||||
|
id: make_tools
|
||||||
|
run: |
|
||||||
|
make tools -j 4
|
||||||
|
New-Item -ItemType Directory -Path legacy
|
||||||
|
Copy-Item quantize_gpt2.exe -Destination legacy
|
||||||
|
Copy-Item quantize_gptj.exe -Destination legacy
|
||||||
|
Copy-Item quantize_mpt.exe -Destination legacy
|
||||||
|
Copy-Item quantize_neox.exe -Destination legacy
|
||||||
|
Copy-Item otherarch/tools/convert_hf_gpt2.py -Destination legacy
|
||||||
|
Copy-Item otherarch/tools/convert_hf_gptj.py -Destination legacy
|
||||||
|
Copy-Item otherarch/tools/convert_hf_mpt.py -Destination legacy
|
||||||
|
Copy-Item otherarch/tools/convert_hf_neox.py -Destination legacy
|
||||||
|
Copy-Item otherarch/tools/convert_llama_ggml_to_gguf.py -Destination legacy
|
||||||
|
Copy-Item otherarch/tools/convert_pt_rwkv.py -Destination legacy
|
||||||
|
shell: pwsh
|
||||||
|
|
||||||
|
- name: Upload Tools
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: koboldcpp_tools
|
||||||
|
path: |
|
||||||
|
gguf-split.exe
|
||||||
|
quantize_clip.exe
|
||||||
|
quantize_gguf.exe
|
||||||
|
whispermain.exe
|
||||||
|
sdmain.exe
|
||||||
|
ttsmain.exe
|
||||||
|
whispermain.exe
|
||||||
|
convert_hf_to_gguf.py
|
||||||
|
convert_hf_to_gguf_update.py
|
||||||
|
gguf-py
|
||||||
|
legacy
|
|
@ -964,7 +964,8 @@ int main(int argc, const char* argv[]) {
|
||||||
params.skip_layers.size(),
|
params.skip_layers.size(),
|
||||||
params.slg_scale,
|
params.slg_scale,
|
||||||
params.skip_layer_start,
|
params.skip_layer_start,
|
||||||
params.skip_layer_end);
|
params.skip_layer_end,
|
||||||
|
nullptr);
|
||||||
} else {
|
} else {
|
||||||
sd_image_t input_image = {(uint32_t)params.width,
|
sd_image_t input_image = {(uint32_t)params.width,
|
||||||
(uint32_t)params.height,
|
(uint32_t)params.height,
|
||||||
|
@ -1033,7 +1034,8 @@ int main(int argc, const char* argv[]) {
|
||||||
params.skip_layers.size(),
|
params.skip_layers.size(),
|
||||||
params.slg_scale,
|
params.slg_scale,
|
||||||
params.skip_layer_start,
|
params.skip_layer_start,
|
||||||
params.skip_layer_end);
|
params.skip_layer_end,
|
||||||
|
nullptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -180,7 +180,8 @@ SD_API sd_image_t* txt2img(sd_ctx_t* sd_ctx,
|
||||||
size_t skip_layers_count,
|
size_t skip_layers_count,
|
||||||
float slg_scale,
|
float slg_scale,
|
||||||
float skip_layer_start,
|
float skip_layer_start,
|
||||||
float skip_layer_end);
|
float skip_layer_end,
|
||||||
|
const sd_image_t* photomaker_reference);
|
||||||
|
|
||||||
SD_API sd_image_t* img2img(sd_ctx_t* sd_ctx,
|
SD_API sd_image_t* img2img(sd_ctx_t* sd_ctx,
|
||||||
sd_image_t init_image,
|
sd_image_t init_image,
|
||||||
|
@ -207,7 +208,8 @@ SD_API sd_image_t* img2img(sd_ctx_t* sd_ctx,
|
||||||
size_t skip_layers_count,
|
size_t skip_layers_count,
|
||||||
float slg_scale,
|
float slg_scale,
|
||||||
float skip_layer_start,
|
float skip_layer_start,
|
||||||
float skip_layer_end);
|
float skip_layer_end,
|
||||||
|
const sd_image_t* photomaker_reference);
|
||||||
|
|
||||||
SD_API sd_image_t* img2vid(sd_ctx_t* sd_ctx,
|
SD_API sd_image_t* img2vid(sd_ctx_t* sd_ctx,
|
||||||
sd_image_t init_image,
|
sd_image_t init_image,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue