tweeked ollama
This commit is contained in:
parent
a9a6518dee
commit
80c6d1bfe2
1 changed files with 13 additions and 10 deletions
|
|
@ -34,6 +34,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
export LD_LIBRARY_PATH="${prev.intel-compute-runtime.drivers}/lib"
|
export LD_LIBRARY_PATH="${prev.intel-compute-runtime.drivers}/lib"
|
||||||
export OLLAMA_INTEL_GPU=1
|
export OLLAMA_INTEL_GPU=1
|
||||||
|
export OLLAMA_NUM_GPU=999
|
||||||
|
export ZES_ENABLE_SYSMAN=1
|
||||||
|
export SYCL_CACHE_PERSISTENT=1
|
||||||
exec "$out/bin/ollama-base" "\$@"
|
exec "$out/bin/ollama-base" "\$@"
|
||||||
EOF
|
EOF
|
||||||
chmod +x "$out/bin/ollama-wrapped"
|
chmod +x "$out/bin/ollama-wrapped"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue