Skip to content
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

llava run error in jupyter #176

Open
liu19876666 opened this issue Jun 16, 2024 · 3 comments
Open

llava run error in jupyter #176

liu19876666 opened this issue Jun 16, 2024 · 3 comments
Labels

Comments

@liu19876666
Copy link

llava_demo

Initializing a model from the llava-1.5-7b style configuration

model = LlavaForConditionalGeneration(configuration)
每次执行到这里会报错,麻烦问一下这里是啥问题?具体报错的信息:
22:55:16.349 [error] Disposing session as kernel process died ExitCode: undefined, Reason:
22:55:16.589 [info] Cell 12 completed in -1718549700.326s (start: 1718549700326, end: undefined)

@yuanzhoulvpi2017
Copy link
Owner

  1. 是最新的那个初始化model的ipynb文件么。
  2. 检查一下你的transformers版本问题、检查一下显存是不是不够的问题。
  3. 注意查看readme.md里面的关联的视频。

@liu19876666
Copy link
Author

我这边用的是最新的code03_build_model_show.ipynb
v100的显卡,显存是30G。
transformers的版本4.40.1

@yuanzhoulvpi2017
Copy link
Owner

你尝试吧log打印一下吧,看不到log,确实不容易定位问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants