Skip to content

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

Closed
@jerryzh168

Description

@jerryzh168

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions