Mozilla-Ocho / llamafile

Distribute and run LLMs with a single file.
https://llamafile.ai
Other
16.81k stars 834 forks source link

Follow up to the offload-arch-fix: qsort and static linkage #375

Closed rasmith closed 2 months ago

rasmith commented 2 months ago

This is a follow up to the offload-arch-fix PR. Need to add qsort in order to dedup arch names. Use static linkage for the functions added just to avoid any possible build errors.