abetlen / abetlen/llama-cpp-python

building a whl for android, issues with cmake

オープン
#1,284 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。