Download ios/SpeedTest/Bench.h from matthiastl/tyger-coreml: direct link, hf CLI and curl.
- Browser
- Download file 1.2 kB
-
https://huggingface.co/matthiastl/tyger-coreml/resolve/main/ios/SpeedTest/Bench.h
- Command line
-
hf download hf://matthiastl/tyger-coreml/ios/SpeedTest/Bench.h
-
curl -L -o Bench.h https://huggingface.co/matthiastl/tyger-coreml/resolve/main/ios/SpeedTest/Bench.h
1.2 kB
| /// As TygerPhone's tyger_run, with the encoder in Core ML (16-bit floats, fixed 801 log-mel frames, CPU and Neural | |
| /// Engine) and the turn-taker in ONNX Runtime on `threads` CPU threads. `load_ms` is Core ML's load alone. | |
| const char *tyger_run(const char *l15_path, const char *gru_path, const float *mel_filters, const float *user, | |
| const float *agent, int audio_hops, int hops, int threads, int previous_state, int paced, | |
| float *hop_ms, float *delay_ms, float *encode_ms, float *outputs, double *load_ms); | |
| /// Core ML's plan for the model: how many operations it would run on the Neural Engine, the GPU and the CPU. | |
| /// Returns 0 if it doesn't say. | |
| int tyger_plan(const char *l15_path, int *neural_engine, int *gpu, int *cpu); | |
| /// Physical memory footprint of the app now, and its peak so far, in MB. | |
| void tyger_memory(double *now_mb, double *peak_mb); | |