Skip to content

Instantly share code, notes, and snippets.

View lu4p's full-sized avatar
🎯
Focusing

Paul Scheduikat lu4p

🎯
Focusing
View GitHub Profile
@lu4p
lu4p / gist:fbad0b502c070af8295f2b4b0761a888
Created November 10, 2023 04:01
logs ollama serve vega56
2023/11/10 04:58:15 routes.go:693: Listening on 127.0.0.1:11434 (version 0.0.0)
2023/11/10 04:58:15 accelerator_rocm.go:71: ROCm presenting 0 bytes of available VRAM on device ""
2023/11/10 04:58:26 accelerator_rocm.go:71: ROCm presenting 0 bytes of available VRAM on device ""
2023/11/10 04:58:26 llama.go:226: 0 MB VRAM available, loading up to 0 GPU layers
2023/11/10 04:58:26 llama.go:320: skipping accelerated runner because num_gpu=0
2023/11/10 04:58:26 llama.go:351: starting llama runner
2023/11/10 04:58:26 llama.go:409: waiting for llama runner to start responding
{"timestamp":1699588706,"level":"WARNING","function":"server_params_parse","line":871,"message":"Not compiled with GPU offload support, --n-gpu-layers option will be ignored. See main README.md for information on enabling GPU BLAS support","n_gpu_layers":-1}
{"timestamp":1699588706,"level":"INFO","function":"main","line":1323,"message":"build info","build":1412,"commit":"9e70cc0"}
{"timestamp":1699588706,"level":"INFO","function":"main","line":1
@lu4p
lu4p / main.go
Created December 2, 2020 19:59
golang append only vs make
package main
func plainAppend(elms int) {
var foo []int
for i := 0; i < elms; i++ {
foo = append(foo, i)
}
}
func withMake(elms int) {
@lu4p
lu4p / fix_tearing_firefox.md
Last active November 13, 2023 19:17
Fix Firefox screen tearing

How to fix screen tearing in firefox

  1. open about:config in firefox
  2. set layers.acceleration.force-enabled to true
  3. Enjoy 😄
@lu4p
lu4p / keybase.md
Created September 13, 2019 06:19
Keybase

Keybase proof

I hereby claim:

  • I am lu4p on github.
  • I am lu4p (https://keybase.io/lu4p) on keybase.
  • I have a public key ASBKrKjzps6OjCQEz9eFT4aMeB05gX3yawWtTSB6gaHk3Ao

To claim this, I am signing this object: