# Can the Tesla P40 run Bielik-11B-v3.1-Instruct?

> Yes. The Tesla P40 runs Bielik-11B-v3.1-Instruct fully in VRAM at Q8_0 (about 13 GB of 24 GB), at roughly 16 tokens/s.

Tesla P40: 24 GB (24 GB usable), 347 GB/s. Estimates at an 8K context.

## Every quantisation

| Quant | Quality | ≈ GB | Fit | Est. tok/s |
|---|---|---|---|---|
| Q2_K | Heavy loss | 5.3 | fits | 52 |
| Q3_K_M | Noticeable loss | 7.05 | fits | 35 |
| Q4_K_M | Small loss | 8.28 | fits | 28 |
| Q5_K_M | Near-lossless | 9.44 | fits | 24 |
| Q6_K | Near-lossless | 10.67 | fits | 21 |
| Q8_0 (pick) | Lossless | 13.31 | fits | 16 |
| F16 | Lossless | 23.56 | tight | 8.5 |

## Run it

Q8_0 straight from Hugging Face (ollama):

```bash
ollama run hf.co/speakleash/Bielik-11B-v3.1-Instruct-GGUF:Q8_0
```

OpenAI-compatible server with a web UI (llama.cpp):

```bash
llama-server -hf speakleash/Bielik-11B-v3.1-Instruct-GGUF:Q8_0
```

Download with the lms CLI (lmstudio):

```bash
lms get speakleash/Bielik-11B-v3.1-Instruct-GGUF@Q8_0
```

Serve an OpenAI-compatible API (vllm):

```bash
vllm serve speakleash/Bielik-11B-v3.1-Instruct
```

Smaller AWQ build (vllm):

```bash
vllm serve speakleash/Bielik-11B-v3.1-Instruct-AWQ
```

Docker Compose (NVIDIA) (vllm):

```yaml
services:
  vllm:
    image: vllm/vllm-openai:latest
    command: speakleash/Bielik-11B-v3.1-Instruct
    ports:
      - "8000:8000"
    ipc: host
    volumes:
      - ~/.cache/huggingface:/root/.cache/huggingface
    environment:
      - HF_TOKEN=${HF_TOKEN}
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]
```

Serve an OpenAI-compatible API (sglang):

```bash
sglang serve speakleash/Bielik-11B-v3.1-Instruct --host 0.0.0.0 --port 30000
```

Docker Compose (NVIDIA) (sglang):

```yaml
services:
  sglang:
    image: lmsysorg/sglang:latest
    command: sglang serve speakleash/Bielik-11B-v3.1-Instruct --host 0.0.0.0 --port 30000
    ports:
      - "30000:30000"
    ipc: host
    volumes:
      - ~/.cache/huggingface:/root/.cache/huggingface
    environment:
      - HF_TOKEN=${HF_TOKEN}
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]
```

Chat with the pipeline API (transformers):

```python
from transformers import pipeline

pipe = pipeline("text-generation", model="speakleash/Bielik-11B-v3.1-Instruct", dtype="auto", device_map="auto")
messages = [{"role": "user", "content": "Explain self-hosting in one paragraph."}]
out = pipe(messages, max_new_tokens=512)
print(out[0]["generated_text"][-1]["content"])
```


## Chat models that fit comfortably

- [Qwen/Qwen3-8B](https://selfhost.directory/models/qwen/qwen3-8b/on/tesla-p40): Q8_0 ≈10.15 GB, est. 22 tok/s
- [Qwen/Qwen3-14B](https://selfhost.directory/models/qwen/qwen3-14b/on/tesla-p40): Q8_0 ≈17.1 GB, est. 12 tok/s
- [meta-llama/Llama-3.1-8B-Instruct](https://selfhost.directory/models/meta-llama/llama-3.1-8b-instruct/on/tesla-p40): Q8_0 ≈9.84 GB, est. 22 tok/s
- [xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic](https://selfhost.directory/models/xtools-at/deepseek-v4-pro-qwen3.5-9b-uncensored-heretic/on/tesla-p40): Q8_0 ≈11.07 GB, est. 19 tok/s
- [google/gemma-2-9b-it](https://selfhost.directory/models/google/gemma-2-9b-it/on/tesla-p40): Q8_0 ≈12.74 GB, est. 19 tok/s
- [Qwen/Qwen2.5-7B-Instruct](https://selfhost.directory/models/qwen/qwen2.5-7b-instruct/on/tesla-p40): Q8_0 ≈8.86 GB, est. 24 tok/s

## Other GPUs that run it

- [GeForce RTX 4060](https://selfhost.directory/models/speakleash/bielik-11b-v3.1-instruct/on/rtx-4060): Q3_K_M, est. 27 tok/s
- [Apple M4 (16 GB)](https://selfhost.directory/models/speakleash/bielik-11b-v3.1-instruct/on/apple-m4-16gb): Q5_K_M, est. 8.3 tok/s
- [Radeon RX 6700 XT](https://selfhost.directory/models/speakleash/bielik-11b-v3.1-instruct/on/rx-6700-xt): Q6_K, est. 23 tok/s
- [GeForce RTX 3060 12GB](https://selfhost.directory/models/speakleash/bielik-11b-v3.1-instruct/on/rtx-3060): Q6_K, est. 22 tok/s
- [Arc B580](https://selfhost.directory/models/speakleash/bielik-11b-v3.1-instruct/on/arc-b580): Q6_K, est. 27 tok/s
- [Tesla T4](https://selfhost.directory/models/speakleash/bielik-11b-v3.1-instruct/on/tesla-t4): Q8_0, est. 15 tok/s
- [Arc A770 16GB](https://selfhost.directory/models/speakleash/bielik-11b-v3.1-instruct/on/arc-a770): Q8_0, est. 26 tok/s
- [Radeon RX 7800 XT](https://selfhost.directory/models/speakleash/bielik-11b-v3.1-instruct/on/rx-7800-xt): Q8_0, est. 29 tok/s

---
Model: https://selfhost.directory/models/speakleash/bielik-11b-v3.1-instruct. GPU: https://selfhost.directory/models/gpus/tesla-p40. Source: https://selfhost.directory/models/speakleash/bielik-11b-v3.1-instruct/on/tesla-p40