Skip to content

Uncaught exception (regex) #20

Description

@2haloes

Hello,

I'm assuming that I'm not using this on a fully supported system but I cannot get this to run on Android with Termux.

I generated a q4_1 version of the standard 1.5 model with the Python script and followed the basic guide to setting everything up.

~/stable-diffusion.cpp/build $ ./bin/sd -m ../models/v1-5-pruned-emaonly-ggml-model-q4_1.bin -p "A cityscape at sunset, oil painting" -v                                
Option:                                                     
n_threads:       4                                      
mode:            txt2img                                
model_path:      ../models/v1-5-pruned-emaonly-ggml-model-q4_1.bin                                              
output_path:     output.png                             
init_img:                                               
prompt:          A cityscape at sunset, oil painting   
negative_prompt:                                        
cfg_scale:       7.00                                   
width:           512                                    
height:          512                                    
sample_method:   eular a                                
sample_steps:    20                                     
strength:        0.75                                   
seed:            42                                 
System Info:                                                
BLAS = 0                                                
SSE3 = 0                                                
AVX = 0                                                 
AVX2 = 0                                                
AVX512 = 0                                              
AVX512_VBMI = 0                                         
AVX512_VNNI = 0                                         
FMA = 0                                                 
NEON = 1                                                
ARM_FMA = 1                                             
F16C = 0                                                
FP16_VA = 0                                             
WASM_SIMD = 0                                           
VSX = 0                                             
[INFO]  stable-diffusion.cpp:2687 - loading model from '../models/v1-5-pruned-emaonly-ggml-model-q4_1.bin'      
[DEBUG] stable-diffusion.cpp:2695 - verifying magic     
[DEBUG] stable-diffusion.cpp:2706 - loading hparams     
[INFO]  stable-diffusion.cpp:2712 - ftype: q4_1         
[DEBUG] stable-diffusion.cpp:2718 - loading vocab       
[DEBUG] stable-diffusion.cpp:2746 - ggml tensor size = 272 bytes                                                
[DEBUG] stable-diffusion.cpp:2751 - clip params ctx size =  75.02 MB                                            
[DEBUG] stable-diffusion.cpp:2770 - unet params ctx size =  1287.24 MB                                          
[DEBUG] stable-diffusion.cpp:2791 - vae params ctx size =  95.51 MB                                             
[DEBUG] stable-diffusion.cpp:2812 - preparing memory for the weights                                            
[DEBUG] stable-diffusion.cpp:2828 - loading weights     
[DEBUG] stable-diffusion.cpp:2932 - model size = 1454.34MB                                                      
[INFO]  stable-diffusion.cpp:2941 - total params size = 1454.64MB (clip 73.80MB, unet 1286.34MB, vae 94.51MB)   
[INFO]  stable-diffusion.cpp:2943 - loading model from '../models/v1-5-pruned-emaonly-ggml-model-q4_1.bin' completed, taking 1.32s                                      
terminating with uncaught exception of type std::__ndk1::regex_error: The parser did not consume the entire regular expression.                                         
Aborted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions