-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Error while deserializing header: HeaderTooLarge #12492
Comments
Can you provide more information on this so that we can help you detect the issue? e.g. the exact file/command you run, more error stacks, what platform/hardware you run, etc. Thanks. |
Sorry, this has already been resolved due to a model issue. However, I have encountered a new problem where the program was suddenly killed while running a Python script. Can you help me check? (llm) root@localhost://home/lvjingang01/MiniCPM-V# python minicpm.py |
Seems there's no obvious error from the log. Still you need to provide more information for us to locate the issue, e.g. the link or the content of |
This is the source code for minicpm.py model_path = "/home/lvjingang01/git/MiniCPM-V-2_6/" model = model.eval() #model = model.half() # /transformers/generation/utils.py", line 2415, in _sample tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True) def run_minicpm(image_path,question):
print(res)print("Start predict") 定义包含.jpg文件的目录directory = 'Picture' 定义每个图片的提示prompt = '请描述这张图片,危险吗?50字。' for filename in os.listdir(directory): |
We suppose the application gets killed due to OOM. |
This error occurs when executing the file minicpm. py
The text was updated successfully, but these errors were encountered: