Skip to content

Conversation

@cdoern
Copy link
Contributor

@cdoern cdoern commented Jun 26, 2024

simple_evaluate has a device option that seems to default to cuda. People with 128GB or even ~90GB+ of ram should be able to run eval on CPU. Add auto detection for if torch is available

Copy link
Member

@nathan-weinberg nathan-weinberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

torch is already in our requirements.txt so this should be a fine addition

@cdoern cdoern requested a review from alinaryan June 26, 2024 18:28
simple_evaluate has a device option that seems to default to cuda. People with 128GB or even ~90GB+ of ram should be able to run eval on CPU.
Add auto detection for if torch is available

Signed-off-by: Charlie Doern <cdoern@redhat.com>
@nathan-weinberg nathan-weinberg merged commit caa1e4c into instructlab:main Jun 26, 2024
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

Successfully merging this pull request may close these issues.

3 participants