Okay, with a 3080 10GB VRAM and 26GB system RAM, you're in a good position to run some capable models, especially with quantization and RAM offloading. The key will be using GGUF models with llama.cpp-based frontends, as they allow for splitting layers between VRAM and system RAM.
For creative writing, you want models that are good at coherence, style, and following nuanced instructions.
Here are your best bets, from generally easier to run to more demanding:
-
Mistral 7B (and its fine-tunes):
- Models:
Mistral-7B-Instruct-v0.2, OpenHermes-2.5-Mistral-7B, Nous-Hermes-2-Mistral-7B-DPO.
- Why: Mistral 7B is incredibly capable for its size, often outperforming larger Llama 2 models. Its instruct-tuned and DPO fine-tunes are excellent for creative tasks and following prompts.
- Quantization:
- GGUF Q5_K_M: Around 5.13 GB. This will fit entirely in your VRAM with room to spare for context, leading to fast generation.
- GGUF Q6_K: Around 5.96 GB. Slightly better quality, still fits comfortably.
- GGUF Q8_0: Around 7.67 GB. Best quality for 7B, fits well in VRAM.
- Performance: Should be very responsive.
-
Solar 10.7B:
- Models:
SOLAR-10.7B-Instruct-v1.0
- Why: A newer model that performs very well, often comparable to or better than Llama 2 13B. It's essentially an upscaled Mistral-style architecture.
- Quantization:
- GGUF Q4_K_M: Around 6.46 GB. Fits nicely in VRAM.
- GGUF Q5_K_M: Around 7.67 GB. Still fits, good quality.
- Performance: Good speed, great quality for the size.
-
Llama 2 13B (and its fine-tunes):
- Models:
Llama-2-13B-Chat, Nous-Hermes-Llama2-13B, WizardLM-13B-V1.2.
- Why: A solid step up in complexity and nuance from 7B models. Chat/instruct versions are good for creative writing.
- Quantization:
- GGUF Q4_K_M: Around 7.88 GB. This is a great sweet spot, fitting mostly in VRAM.
- GGUF Q5_K_M: Around 9.23 GB. This will fit just in VRAM, leaving little room for context. You might need to offload a few layers to system RAM, but it should still be quite usable.
- GGUF Q3_K_L or Q4_0: Smaller file sizes if Q4_K_M is too tight, but with a noticeable quality dip.
- Performance: With Q4_K_M, it should be reasonably fast. Q5_K_M will be a bit slower if it spills to RAM.
-
Mixtral 8x7B (The Stretch Goal):
- Models:
Mixtral-8x7B-Instruct-v0.1
- Why: This is a Mixture of Experts (MoE) model and currently one of the best open-source models, often rivaling GPT-3.5. It's significantly larger, but GGUF's offloading makes it possible.
- Quantization (GGUF is your only real option here):
- Q2_K: Around 11.5 GB. Requires offloading.
- Q3_K_S: Around 12.6 GB. Requires offloading.
- Q3_K_M: Around 13.7 GB. Requires offloading.
- Q4_0 / Q4_K_S: Around 15-16GB. Requires significant offloading.
- Performance: This will be noticeably slower than the other options because many layers will be processed by your CPU using system RAM. However, the quality can be worth the wait for some users. You'll want to offload as many layers to VRAM as possible (e.g., if a Q3_K_M model is 13.7GB, try to offload ~20-25 layers out of ~33. Your 10GB VRAM might hold around 70-75% of the layers for a highly quantized Mixtral).
- Consideration: For creative writing, if you're drafting and iterating, the slowness might be frustrating. If you're generating longer, more polished pieces where you can wait, it might be acceptable.
Key Recommendations & How to Run:
-
Software:
- LM Studio: Very user-friendly, excellent for downloading and running GGUF models. It has a simple slider to adjust how many layers are offloaded to GPU VRAM.
- Oobabooga's Text Generation WebUI: More powerful and configurable, supports GGUF (via llama.cpp backend), GPTQ, AWQ, and ExLlama2. It also has GPU offloading settings for GGUF.
- KoboldCpp: Lightweight, specifically designed for GGUF, and has many features tailored to creative/roleplay writing.
-
Model Provider:
- Search for these models on Hugging Face, particularly from "TheBloke". He provides pre-quantized GGUF versions of almost every popular model. (e.g., "TheBloke/Mistral-7B-Instruct-v0.2-GGUF").
-
Starting Point:
- I'd recommend starting with
OpenHermes-2.5-Mistral-7B or SOLAR-10.7B-Instruct-v1.0 in GGUF Q5_K_M or Q4_K_M respectively.
- These will give you excellent quality with good speed, fitting comfortably in your VRAM.
-
GPU Offloading (for GGUF):
- When using LM Studio, Oobabooga, or KoboldCpp, look for the "GPU Layers" or "ngl" (number of GPU layers) setting.
- Start by trying to offload all layers if the model is small enough (e.g., a Q5_K_M Mistral 7B).
- If the model is larger than your VRAM (like a Llama 2 13B Q5_K_M or any Mixtral), LM Studio will usually tell you the max layers you can offload. Oobabooga might require some experimentation – keep increasing layers until you run out of VRAM, then dial it back a bit.
- Your 26GB of system RAM will handle the rest, but CPU processing is much slower.
In summary:
- Best balance of quality and speed:
Mistral 7B fine-tunes (like OpenHermes) or Solar 10.7B using GGUF Q4/Q5 quantizations.
- Slightly better quality, still good speed:
Llama 2 13B fine-tunes using GGUF Q4_K_M.
- Top quality, but slower (for when you really need it):
Mixtral 8x7B Instruct using a low GGUF quantization (Q2_K, Q3_K_S/M) and offloading many layers to CPU/RAM.
Experiment and see what works best for your workflow and patience!