selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

sensenova logo

Can the Tesla P40 run SenseNova-6.8-Code2Video?

SenseNova-6.8-Code2Video·27.4B·Tesla P40·24 GB VRAM

Saved in this browser, used on every model page.
Yes

Yes. The Tesla P40 runs SenseNova-6.8-Code2Video fully in VRAM at Q5_K_M (about 23 GB of 24 GB), at roughly 9.8 tokens/s.

best quant
Q5_K_M
needs
23 GB
usable
24 GB
est. speed
~9.8 tok/s

Estimates for an 8K context; offload assumes 32 GB of system RAM.Try other contexts on the SenseNova-6.8-Code2Video page →

Every quantisation of SenseNova-6.8-Code2Video on the Tesla P40

QuantQualityMemoryFitSpeed
Q2_K Heavy loss13 GBfits~21 tok/s
Q3_K_M Noticeable loss15 GBfits~14 tok/s
Q4_K_M Small loss19 GBfits~12 tok/s
Q5_K_M pickNear-lossless23 GBfits~9.8 tok/s
Q6_K Near-lossless26 GBoffload~6.5 tok/s
Q8_0 Lossless31 GBoffload~3.2 tok/s
FP16 / BF16 Lossless55 GBtoo big—

Speed is a bandwidth-based estimate for generating text (347 GB/s); prompt processing and long contexts are slower.

Measured speed on the Tesla P40

No community reports for this pair yet.

Report your own speed →

Run SenseNova-6.8-Code2Video on the Tesla P40

Using Q5_K_M, the best fit for Tesla P40.

Ollama · Q5_K_M straight from Hugging Facedocs
ollama run hf.co/bartowski/sensenova_SenseNova-6.8-Code2Video-GGUF:Q5_K_M
llama.cpp · OpenAI-compatible server with a web UIdocs
llama-server -hf bartowski/sensenova_SenseNova-6.8-Code2Video-GGUF:Q5_K_M

Downloads the GGUF on first run. Installed through llama.app? The same flags work with `llama serve`.

LM Studio · Download with the lms CLIdocs
lms get bartowski/sensenova_SenseNova-6.8-Code2Video-GGUF@Q5_K_M

Then load it from the LM Studio app or with `lms load`.

vLLM · Serve an OpenAI-compatible APIdocs
vllm serve sensenova/SenseNova-6.8-Code2Video
vLLM · Docker Compose (NVIDIA)docs
services:
  vllm:
    image: vllm/vllm-openai:latest
    command: sensenova/SenseNova-6.8-Code2Video
    ports:
      - "8000:8000"
    ipc: host
    volumes:
      - ~/.cache/huggingface:/root/.cache/huggingface
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]

API on port 8000.

SGLang · Serve an OpenAI-compatible APIdocs
sglang serve sensenova/SenseNova-6.8-Code2Video --host 0.0.0.0 --port 30000
SGLang · Docker Compose (NVIDIA)docs
services:
  sglang:
    image: lmsysorg/sglang:latest
    command: sglang serve sensenova/SenseNova-6.8-Code2Video --host 0.0.0.0 --port 30000
    ports:
      - "30000:30000"
    ipc: host
    volumes:
      - ~/.cache/huggingface:/root/.cache/huggingface
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]

API on port 30000.

Transformers · Ask about an imagedocs
from transformers import pipeline

pipe = pipeline("image-text-to-text", model="sensenova/SenseNova-6.8-Code2Video", dtype="auto", device_map="auto")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/bee.jpg"},
            {"type": "text", "text": "Describe this image."},
        ],
    }
]
out = pipe(text=messages, max_new_tokens=256)
print(out[0]["generated_text"][-1]["content"])

Vision models that fit the Tesla P40 comfortably

All that fit →
ModelParamsBest quantMemorySpeedLicence
27.8BQ5_K_M≈22 GBFits in memory~9.7 tok/sCommercial OK
27.8BQ5_K_M≈22 GBFits in memory~9.7 tok/sCommercial OK
25.8BA4BQ5_K_M≈20 GBFits in memory~67 tok/sCommercial OK
27.4BQ4_K_M≈21 GBFits in memory~11 tok/sConditions
27.8BQ5_K_M≈22 GBFits in memory~9.7 tok/sCommercial OK
meta-models logoMuse-Glimmer-30Bmeta-models
29.8BQ5_K_M≈22 GBFits in memory~9 tok/sCommercial OK

Other GPUs that run SenseNova-6.8-Code2Video

Frequently asked questions

Can the Tesla P40 run SenseNova-6.8-Code2Video?
Yes. The Tesla P40 runs SenseNova-6.8-Code2Video fully in VRAM at Q5_K_M (about 23 GB of 24 GB), at roughly 9.8 tokens/s.
How fast does SenseNova-6.8-Code2Video run on the Tesla P40?
An estimate from memory bandwidth gives about 9.8 tokens/s at Q5_K_M.
Which quantisation of SenseNova-6.8-Code2Video should I use on the Tesla P40?
Q5_K_M: the largest one that fits. Expected quality: near-lossless compared with the full-precision weights.

Memory and speed are estimates from the model's size and the card's memory bandwidth; real numbers depend on the runtime, drivers and context length. Community figures are medians of user reports.