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

[BUG] Generating text is timing out #263

Open
sejalgupta opened this issue Sep 19, 2023 · 1 comment
Open

[BUG] Generating text is timing out #263

sejalgupta opened this issue Sep 19, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@sejalgupta
Copy link

I am trying to run the Generating Text from the README.md. However, every time I run the command below it never finishes running and I have to manually stop it. I have waited like 5-10 minutes each time.

generated_text = model.generate(
        vision_x=vision_x,
        lang_x=lang_x["input_ids"],
        attention_mask=lang_x["attention_mask"],
        max_new_tokens=20,
        num_beams=3,
    )
@sejalgupta sejalgupta added the bug Something isn't working label Sep 19, 2023
@anas-awadalla
Copy link
Collaborator

Please follow the format for bug reports so we can reproduce the issue. For instance it would be very useful to know which model you are running and where you are running it (are you using a GPU etc.).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants