File tree Expand file tree Collapse file tree 3 files changed +40
-4
lines changed Expand file tree Collapse file tree 3 files changed +40
-4
lines changed Original file line number Diff line number Diff line change @@ -144,4 +144,36 @@ jobs:
144144 ggml/src/ggml-vulkan-shaders.hpp
145145 vulkan-readme.txt
146146
147+ - name : Build Tools
148+ id : make_tools
149+ run : |
150+ make tools -j 4
151+ New-Item -ItemType Directory -Path legacy
152+ Copy-Item quantize_gpt2.exe -Destination legacy
153+ Copy-Item quantize_gptj.exe -Destination legacy
154+ Copy-Item quantize_mpt.exe -Destination legacy
155+ Copy-Item quantize_neox.exe -Destination legacy
156+ Copy-Item otherarch/tools/convert_hf_gpt2.py -Destination legacy
157+ Copy-Item otherarch/tools/convert_hf_gptj.py -Destination legacy
158+ Copy-Item otherarch/tools/convert_hf_mpt.py -Destination legacy
159+ Copy-Item otherarch/tools/convert_hf_neox.py -Destination legacy
160+ Copy-Item otherarch/tools/convert_llama_ggml_to_gguf.py -Destination legacy
161+ Copy-Item otherarch/tools/convert_pt_rwkv.py -Destination legacy
162+ shell : pwsh
147163
164+ - name : Upload Tools
165+ uses : actions/upload-artifact@v4
166+ with :
167+ name : koboldcpp_tools
168+ path : |
169+ gguf-split.exe
170+ quantize_clip.exe
171+ quantize_gguf.exe
172+ whispermain.exe
173+ sdmain.exe
174+ ttsmain.exe
175+ whispermain.exe
176+ convert_hf_to_gguf.py
177+ convert_hf_to_gguf_update.py
178+ gguf-py
179+ legacy
Original file line number Diff line number Diff line change @@ -964,7 +964,8 @@ int main(int argc, const char* argv[]) {
964964 params.skip_layers .size (),
965965 params.slg_scale ,
966966 params.skip_layer_start ,
967- params.skip_layer_end );
967+ params.skip_layer_end ,
968+ nullptr );
968969 } else {
969970 sd_image_t input_image = {(uint32_t )params.width ,
970971 (uint32_t )params.height ,
@@ -1033,7 +1034,8 @@ int main(int argc, const char* argv[]) {
10331034 params.skip_layers .size (),
10341035 params.slg_scale ,
10351036 params.skip_layer_start ,
1036- params.skip_layer_end );
1037+ params.skip_layer_end ,
1038+ nullptr );
10371039 }
10381040 }
10391041
Original file line number Diff line number Diff line change @@ -180,7 +180,8 @@ SD_API sd_image_t* txt2img(sd_ctx_t* sd_ctx,
180180 size_t skip_layers_count ,
181181 float slg_scale ,
182182 float skip_layer_start ,
183- float skip_layer_end );
183+ float skip_layer_end ,
184+ const sd_image_t * photomaker_reference );
184185
185186SD_API sd_image_t * img2img (sd_ctx_t * sd_ctx ,
186187 sd_image_t init_image ,
@@ -207,7 +208,8 @@ SD_API sd_image_t* img2img(sd_ctx_t* sd_ctx,
207208 size_t skip_layers_count ,
208209 float slg_scale ,
209210 float skip_layer_start ,
210- float skip_layer_end );
211+ float skip_layer_end ,
212+ const sd_image_t * photomaker_reference );
211213
212214SD_API sd_image_t * img2vid (sd_ctx_t * sd_ctx ,
213215 sd_image_t init_image ,
You can’t perform that action at this time.
0 commit comments