Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Move scores to CPU and back in logit processor #6

Closed
wants to merge 4 commits into from

Conversation

jerome3o
Copy link

Hey there - just wanted to say I love the idea here, especially with parserllm in the picture. I've been using those libraries in a personal project but had to make some adjustments to get it working. I'll have a few more PRs coming.

When using this library with vicuna 13B with 8bit quantisation on a RTX4090 I ran into issues with tensor arithmetic on multiple devices. Moving the scores tensor to cpu before using numpy with it solved the issue for me.

@r2d4
Copy link
Owner

r2d4 commented Jun 29, 2023

Thanks @jerome3o for the PRs. Will take a look!

@phiweger phiweger mentioned this pull request Jul 15, 2023
@jerome3o jerome3o closed this Oct 6, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants