that can pass errors to other languages that call it?
                  
                  
                  https://github.com/ggerganov/ggml/blob/master/src/ggml.c#L244
                  
                  
                  I want to improve this error that calls to abort. The problem with it is that, for example, in Windows the program will crash without any error (in Linux it's even more likely that you can see the error in the terminal...)
                  
                  
                
Just add fflush(stderr); before abort();?
 Jacob
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                      
                      
                        
                          Jacob
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                    
                    
                  Eventually I use this library in desktop app so it's not running from the terminal. I don't collect stderr by default in terms of performance so I won't catch it. Should I?
There's so much text on stderr that it affects performance if you collect it?
 Jacob
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                      
                      
                        
                          Jacob
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                    
                    
                  Didn't really thought about that much. I'm not sure if it's even possible to collect stderr in non terminal mode
Обсуждают сегодня