Skip to content

torchao.utils.benchmark_model support cpu and mps benchmarking #287

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

Closed
jerryzh168 opened this issue May 29, 2024 · 0 comments
Closed

torchao.utils.benchmark_model support cpu and mps benchmarking #287

jerryzh168 opened this issue May 29, 2024 · 0 comments
Assignees

Comments

@jerryzh168
Copy link
Contributor

def benchmark_model(model, num_runs, input_tensor):
currently only supports cuda, we need to extend this to support cpu and mps as well

@jerryzh168 jerryzh168 changed the title torchao.utils.benchmark Support cpu and mps benchmarking torchao.utils.benchmark_model support cpu and mps benchmarking May 29, 2024
@jainapurva jainapurva self-assigned this Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants