Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.

Print warnings if tensor cores or AMP is not used #1839

@msaroufim

Description

@msaroufim

We've had some customers try out _dynamo.optimize("inductor") on their models and confused why they wouldn't get speedups until they either used AMP or enabling tf32.

Since users expect for things to run faster if they use .optimize() we should just print warnings.

In addition we can enable those two settings more clearly in our getting started guide so people don't get surprised by noop perf

cc: @Chillee

Metadata

Metadata

Assignees

Labels

bad-uxSlow compilation, High memory footprinthot

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions