yum-archive/TaSTT-Whisper
High-performance GPGPU inference of OpenAI's Whisper automatic speech recognition (ASR) model
git clone https://git.yummers.dev/yum-archive/TaSTT-Whisper
5483755
master
1using System . Runtime . CompilerServices ; 2 3namespace PerfSummary 4{ 5internal class Program 6{ 7static string getSolutionRoot ( [ CallerFilePath ] string ? path = null ) 8{ 9string ? dir = Path . GetDirectoryName ( path ); 10dir = Path . GetDirectoryName ( dir ); 11dir = Path . GetDirectoryName ( dir ); 12return dir ?? throw new ApplicationException (); 13} 14 15static void Main ( string [] args ) 16{ 17string root = getSolutionRoot (); 18root = Path . Combine ( root , "SampleClips" ); 19 20LogData [] logs = LogParser . parse ( root ) 21. OrderBy ( x=> x . name . clip ) 22. ThenBy ( x=> x . name . model ) 23. ThenBy ( x=> x . name . gpu ) 24. ToArray (); 25 26Summary . ( logs , root ); 27} 28} 29}