Skip to content

Cuda build and --n-gpu-layers set to 0 #10200

Answered by ggerganov
clarinevong asked this question in Q&A
Discussion options

You must be logged in to vote

Even with 0 layers offloaded, some ops (like large matrix multiplications) can still be offloaded to the GPU. You can disable the GPU completely by unsetting the environment variable CUDA_VISIBLE_DEVICES. For example:

CUDA_VISIBLE_DEVICES= ./my-app ...

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@clarinevong
Comment options

@slaren
Comment options

Answer selected by clarinevong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants