Instructions to use internlm/internlm-xcomposer2-vl-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use internlm/internlm-xcomposer2-vl-7b with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "visual-question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("visual-question-answering", model="internlm/internlm-xcomposer2-vl-7b", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("internlm/internlm-xcomposer2-vl-7b", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#10 opened over 2 years ago
by
SFconvertbot
got torch.distributed.elastic.multiprocessing.errors.ChildFailedError
1
#9 opened over 2 years ago
by
szhao41
Adding `safetensors` variant of this model
#8 opened over 2 years ago
by
SFconvertbot
Adding `safetensors` variant of this model
#7 opened over 2 years ago
by
SFconvertbot
[AUTOMATED] Model Memory Requirements
#6 opened over 2 years ago
by
model-sizer-bot
Adding `safetensors` variant of this model
#5 opened over 2 years ago
by
SFconvertbot
Is the Vision model inside the pytorch binaries used ?
#4 opened over 2 years ago
by
cmp-nct
Error in ComfyUI
#3 opened over 2 years ago
by
Latentnaut
Fixing the multi gpu inference bug
#2 opened almost 3 years ago
by
aka225
RuntimeError: "compute_indices_weights_cubic" not implemented for 'Half'
4
#1 opened almost 3 years ago
by
dogged