Model reference · open weights
internlm2-1 is an open-weight language model from internlm. internlm2-1_8b (BF16) weighs 3.8 GB; the smallest configuration that runs it is RTX 3060 12 GB.
Summary of the internlm/internlm2-1_8b model card, 2026-10-01
What it is
| Released by | internlm |
|---|---|
| Released | 2024-01-30 |
| VRAM | 3.8 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB | 8 | 2 | all 32K | 11.6 GB |
| RTX 4060 Ti 16 GB | 13 | 3 | all 32K | 15.4 GB |
| RTX 3090 24 GB | 23 | 5 | all 32K | 23.4 GB |
| RTX 4090 24 GB | 23 | 5 | all 32K | 23.4 GB |
| RTX 5090 32 GB | 33 | 8 | all 32K | 31.0 GB |
| L40S 48 GB | 49 | 12 | all 32K | 44.0 GB |
| A100 80 GB | 91 | 22 | all 32K | 78.2 GB |
| H100 80 GB | 87 | 21 | all 32K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 106 | 26 | all 32K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 123 | 30 | all 32K | 107 GB |
| H200 141 GB | 161 | 40 | all 32K | 138 GB |
| B200 180 GB | 208 | 52 | all 32K | 176 GB |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 5.2 GB | 7.6 GB |
| 5 | 8.4 GB | 20.5 GB |
| 8 | 10.8 GB | 30.2 GB |
| 16 | 17.3 GB | 55.9 GB |
| 32 | 30.2 GB | 107 GB |
| 64 | 55.9 GB | 211 GB |
One card, with vLLM's small-card settings.
Builds
| Build | Params | Precision | Weights | Smallest setup |
|---|---|---|---|---|
| internlm2-1_8b (above) ↗ | — | BF16 | 3.8 GB | RTX 3060 12 GB |
| internlm2-chat-1_8b ↗ | 1.9B | BF16 | 3.8 GB | RTX 3060 12 GB |
From the model card
💻Github Repo • 🤔Reporting Issues • 📜Technical Report
InternLM2-1.8B is the 1.8 billion parameter version of the second generation InternLM series. In order to facilitate user use and research, InternLM2-1.8B has three versions of open-source models. They are:
The InternLM2 has the following technical features:
We have evaluated InternLM2 on several important benchmarks using the open-source evaluation tool OpenCompass. Some of the evaluation results are shown in the table below. You are welcome to visit the OpenCompass Leaderboard for more evaluation results.
| Dataset\Models | InternLM2-1.8B | InternLM2-Chat-1.8B-SFT | InternLM2-7B | InternLM2-Chat-7B |
|---|---|---|---|---|
| MMLU | 46.9 | 47.1 | 65.8 | 63.7 |
| AGIEval | 33.4 | 38.8 | 49.9 | 47.2 |
| BBH | 37.5 | 35.2 | 65.0 | 61.2 |
| GSM8K | 31.2 | 39.7 | 70.8 | 70.7 |
| MATH | 5.6 | 11.8 | 20.2 | 23.0 |
| HumanEval | 25.0 | 32.9 | 43.3 | 59.8 |
| MBPP(Sanitized) | 22.2 | 23.2 | 51.8 | 51.4 |
Limitations: Although we have made efforts to ensure the safety of the model during the training process and to encourage the model to generate text that complies with ethical and legal requirements, the model may still produce unexpected outputs due to its size and probabilistic generation paradigm. For example, the generated responses may contain biases, discrimination, or other harmful content. Please do not propagate such content. We are not responsible for any consequences resulting from the dissemination of harmful information.
To load the InternLM2-1.8B model using Transformers, use the following code:
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("internlm/internlm2-1_8b", trust_remote_code=True)
# Set `torch_dtype=torch.float16` to load model in float16, otherwise it will be loaded as float32 and might cause OOM Error.
model = AutoModelForCausalLM.from_pretrained("internlm/internlm2-1_8b", torch_dtype=torch.float16, trust_remote_code=True).cuda()
model = model.eval()
inputs = tokenizer(["A beautiful flower"], return_tensors="pt")
for k,v in inputs.items():
inputs[k] = v.cuda()
gen_kwargs = {"max_length": 128, "top_p": 0.8, "temperature": 0.8, "do_sample": True, "repetition_penalty": 1.0}
output = model.generate(**inputs, **gen_kwargs)
output = tokenizer.decode(output[0].tolist(), skip_special_tokens=True)
print(output)
# A beautiful flowering plant, this is a native of the tropical rainforest in the Andes Mountains of South America.
# The plant is also known as the monkey flower, the monkey flower, and the wild orchid.
# The flower is native to the Amazon Basin, where it is found in the forests of the Andes Mountains in the western part of the Amazon River Basin.
# It is also found in the Andes and the Amazonian forests of the Amazonian region.
# It grows at elevations between 5,000 and 8,000 feet.
# The flowers of the monkey flower are yellow and pink, with a distinctive shape.
The code is licensed under Apache-2.0, while model weights are fully open for academic research and also allow free commercial usage. To apply for a commercial license, please fill in the application form (English)/申请表(中文). For other questions or collaborations, please contact .
@misc{cai2024internlm2,
title={InternLM2 Technical Report},
author={Zheng Cai and Maosong Cao and Haojiong Chen and Kai Chen and Keyu Chen and Xin Chen and Xun Chen and Zehui Chen and Zhi Chen and Pei Chu and Xiaoyi Dong and Haodong Duan and Qi Fan and Zhaoye Fei and Yang Gao and Jiaye Ge and Chenya Gu and Yuzhe Gu and Tao Gui and Aijia Guo and Qipeng Guo and Conghui He and Yingfan Hu and Ting Huang and Tao Jiang and Penglong Jiao and Zhenjiang Jin and Zhikai Lei and Jiaxing Li and Jingwen Li and Linyang Li and Shuaibin Li and Wei Li and Yining Li and Hongwei Liu and Jiangning Liu and Jiawei Hong and Kaiwen Liu and Kuikun Liu and Xiaoran Liu and Chengqi Lv and Haijun Lv and Kai Lv and Li Ma and Runyuan Ma and Zerun Ma and Wenchang Ning and Linke Ouyang andQuoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.