abetlen / abetlen/llama-cpp-python

building a whl for android, issues with cmake

Abierto
#1,284 1 comentario 0 reacciones 0 asignados Ver en GitHub
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

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.