abetlen / abetlen/llama-cpp-python
building a whl for android, issues with cmake
未關閉
- 主要語言
- Python
- 星號
- 10.6k
- 分支
- 1.4k
- PR 合併指標
- PR 指標待擷取
描述
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?
貢獻指南
評估
這個 Issue 還沒有評估資料。