-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如何直接调用这两个模型。InternVL-G/C #171
Comments
您好,请参考这个代码来调用InternVL-C和InternVL-G: |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用 model = AutoModel.from_pretrained(
model_path,
torch_dtype=torch.bfloat16,
low_cpu_mem_usage=True,
trust_remote_code=True).cuda().eval()
加载模型时,默认加载InternVLModel类,如何调用InternVL_C和InternVL_G呢?
The text was updated successfully, but these errors were encountered: