abetlen / abetlen/llama-cpp-python
building a whl for android, issues with cmake
Abierto
- Lenguaje dominante
- Python
- Estrellas
- 10.6k
- Forks
- 1.4k
- Métricas de merge de PR
- Métricas de PR pendientes
Descripción
We have a thread going at https://github.com/chaquo/chaquopy/issues/1094#issuecomment-2004486131 I am hoping someone can answer this issue. it seems the llama.cpp file is using the ```posix_madvise function``` with the ```POSIX_MADV_WILLNEED``` and ```POSIX_MADV_RANDOM``` flags, which are not available or supported on the Android platform.
Are these necessary? Can I comment them out if building for android?
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.