[Bug 2274163] Review Request: python-llama-cpp-python - llama.cpp python bindings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2274163



--- Comment #1 from Tomas Tomecek <ttomecek@xxxxxxxxxx> ---
This was much more complicated than I thought.

llama-cpp-python is tightly coupled with llama-cpp: it literally vendors
specific (untagged) commits of llama-cpp:
https://github.com/abetlen/llama-cpp-python/tree/main/vendor

If you want to successfully `import llama_cpp`, you need this build of
llama-cpp: https://src.fedoraproject.org/rpms/llama-cpp/pull-request/1

I also had to patch l-c-python so it would find libllama.so, by default it
doesn't look inside /usr/lib64

`fedpkg local --with test` passes for me now: `=== 13 passed in 0.56s ===`

Spec URL:
https://download.copr.fedorainfracloud.org/results/ttomecek/llama-cpp-python/fedora-rawhide-x86_64/07296137-python-llama-cpp-python/python-llama-cpp-python.spec
SRPM URL:
https://download.copr.fedorainfracloud.org/results/ttomecek/llama-cpp-python/fedora-rawhide-x86_64/07296137-python-llama-cpp-python/python-llama-cpp-python-0.2.60-1.fc41.src.rpm


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2274163

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202274163%23c1
--
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux