FitMyLLM
Shanghai AI Lab/Dense

Shanghai AI LabInternLM 2 7B

InternLM 2 7B — Shanghai AI Lab's versatile chat and coding model.

chatcodingTool Use
7.74B
Parameters
32K
Context length
6
Benchmarks
6
Quantizations
0
Architecture
Dense
Released
2024-01-17
Layers
32
KV Heads
8
Head Dim
128
Family
other

Quantization Options

Context length:
QuantBitsVRAM @ 16KQuality
Q4_K_M4.89
6.7 GB
5.2 + 1.5 KV
good
Q5_K_S5.57
7.4 GB
5.9 + 1.5 KV
good
Q5_K_M5.7
7.5 GB
6.0 + 1.5 KV
good
Q6_K6.56
8.3 GB
6.8 + 1.5 KV
excellent
Q8_08.5
10.2 GB
8.7 + 1.5 KV
lossless
FP1616
17.5 GB
16.0 + 1.5 KV
lossless

Select your GPU above to see speed estimates and compatibility for each quantization.

Deploying for a team or in production? Size GPUs, cost & scaling in Enterprise →
READY TO RUN THIS?RENT BY THE HOUR

RENT A GPU AND RUN INTERNLM 2 7B NOW

Spin up an A100 / H100 / 4090 in ~60s. Pay by the second. Cancel anytime.

Community Ratings

Loading ratings...

Benchmarks (6)

IFEval68.6
BBH31.9
MMLU-PRO28.8
MATH15.2
MUSR6.6
GPQA5.3

Run this model

Easiest way to get started·Beginners
DOCS ↗
curl -fsSL https://ollama.com/install.sh | sh
$ollama run internlm2:7b-chat-v2.5-q4_K_M

Downloads and runs automatically. Add --verbose for speed stats.

▸ SETUP GUIDE
>_

Auto-setup with fitmyllm CLI

Detects your GPU, recommends the best model, downloads it, and starts chatting — zero config. Benchmarks your speed and contributes anonymous data to improve predictions.

pip install fitmyllmthen run fitmyllmLearn more
Auto-detect GPULive tok/s in chatSpeed benchmarks9 inference engines

GPUs that can run this model

At Q4_K_M quantization. Sorted by minimum VRAM.

NVIDIA Tesla C2070
6 GB VRAM • 143 GB/s
NVIDIA
NVIDIA Tesla C2075
6 GB VRAM • 150 GB/s
NVIDIA
NVIDIA Tesla C2090
6 GB VRAM • 177 GB/s
NVIDIA
NVIDIA Tesla M2070
6 GB VRAM • 150 GB/s
NVIDIA
NVIDIA Tesla M2070-Q
6 GB VRAM • 150 GB/s
NVIDIA
NVIDIA Tesla M2075
6 GB VRAM • 150 GB/s
NVIDIA
NVIDIA Tesla M2090
6 GB VRAM • 177 GB/s
NVIDIA
NVIDIA Tesla X2070
6 GB VRAM • 177 GB/s
NVIDIA
NVIDIA Tesla X2090
6 GB VRAM • 177 GB/s
NVIDIA
NVIDIA Tesla K20X
6 GB VRAM • 250 GB/s
NVIDIA
NVIDIA Tesla K20Xm
6 GB VRAM • 250 GB/s
NVIDIA

Find the best GPU for InternLM 2 7B

Build Hardware for InternLM 2 7B

InternLM 2 7B — Shanghai AI Lab's versatile chat and coding model.

▸ SPEC SHEET

InternLM 2 7B7.74B Dense.

▸ SPECIFICATIONS
PARAMETERS
7.74B
ARCHITECTURE
Dense Transformer
CONTEXT LENGTH
32K tokens
CAPABILITIES
chat, coding
RELEASE DATE
2024-01-17
PROVIDER
Shanghai AI Lab
FAMILY
other
▸ VRAM REQUIREMENTS
QUANTBPWVRAMQUALITY
Q4_K_M4.895.2 GB94%
Q5_K_S5.575.9 GB96%
Q5_K_M5.76.0 GB96%
Q6_K6.566.8 GB97%
Q8_08.58.7 GB100%
FP161616.0 GB100%
§ 01BENCHMARK SCORES
MMLU-PRO28.8
MATH15.2
IFEval68.6
BBH31.9
GPQA5.3
MUSR6.6
§ 02RUN COMMAND

Run InternLM 2 7B locally with Ollama — needs 5.2 GB VRAM at Q4_K_M:

$ollama run internlm2:7b
§ 03COMPATIBLE GPUs
30 @ Q4_K_M