Skip to content

Only Distribute CUDA Binaries? #298

Closed

Description

@martindevans

As of this PR to llama.cpp the CUDA binaries are capable of running with CPU only, as long as n_gpu_layers = 0.

This might mean that we can significantly simplify our distribution of binaries by removing the CPU only variants and only shiping CUDA ones.

Activity

  1. moved this to 🔖 In Discussion in LLamaSharp Devon Nov 15, 2023
  2. martindevans commented on Nov 15, 2023

    @martindevans
    MemberAuthor

    There's some further discussion over in the linked PR with some potential issues that may make this less attractive:

    • Even with ngl=0 some work is done on GPU (maybe)
  3. SanftMonster commented on Nov 17, 2023

    @SanftMonster
    Collaborator

    It's a good news to hear this feature supported by llama.cpp. However, I have some disagreements.

    If the user does not have the cuda installed, using cuda backend makes little sense. Besides, the cpu backend is much smaller than the cuda backend, which may be desired in some conditions. I prefer to keep separating these two backends. :)

  4. moved this from 🔖 In Discussion to ✅ Done in LLamaSharp Devon Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions