Skip to content

Conversation

@aobolensk
Copy link
Contributor

Pass device to benchmark_n function in order to be able to run on CPU and GPU. For now, torch.cuda.* calls are used in benchmark_n unconditionally

Pass device to `benchmark_n` function in order to be able to run on CPU and GPU. So far, `torch.cuda.*` calls are used in `benchmark_n` unconditionally
Copy link
Collaborator

@KaelanDt KaelanDt left a comment

Choose a reason for hiding this comment

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

Thank you @aobolensk

@t-vi t-vi merged commit b1b57b8 into Lightning-AI:main Oct 13, 2025
48 of 53 checks passed
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.

4 participants