Skip to content

可以启动,但是输入prompts就会这样。 #50

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

Open
1547590574 opened this issue Mar 6, 2025 · 0 comments
Open

可以启动,但是输入prompts就会这样。 #50

1547590574 opened this issue Mar 6, 2025 · 0 comments

Comments

@1547590574
Copy link

Please input prompts:
text|image|A bustling medieval market scene with vendors selling exotic goods under colorful tents
Traceback (most recent call last):
File "/home/marsdy/AnyGPT/anygpt/src/infer/cli_infer_base_model.py", line 317, in interact
self.forward(prompt)
File "/home/marsdy/AnyGPT/anygpt/src/infer/cli_infer_base_model.py", line 308, in forward
response = self.response(modality, to_modality, input_data, voice_prompt)
File "/home/marsdy/AnyGPT/anygpt/src/infer/cli_infer_base_model.py", line 264, in response
input_ids = input_ids.to(self.device)
RuntimeError: CUDA error: out of memory
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

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

No branches or pull requests

1 participant