Skip to content

Add autocast feature as torchax.amp.autocast. - #9364

Merged
qihqi merged 2 commits into
masterfrom
hanq_autocast_stopgap
Jun 17, 2025
Merged

Add autocast feature as torchax.amp.autocast.#9364
qihqi merged 2 commits into
masterfrom
hanq_autocast_stopgap

Conversation

@qihqi

@qihqi qihqi commented Jun 16, 2025

Copy link
Copy Markdown
Collaborator

This PR implements the 3 autocast policies that we use and wires them in the Environment.

Wiring it through torch infrastructure so that torch.autocast also work is WIP in #9361

This PR implements the 3 autocast policies that we use
and wires them in the Environment.

Wiring it through torch infrastructure so that torch.autocast
also work is WIP in #9361
@qihqi
qihqi requested a review from tengyifei June 16, 2025 15:39
@qihqi
qihqi requested a review from lsy323 June 16, 2025 18:22
@qihqi
qihqi enabled auto-merge (squash) June 16, 2025 20:13
@qihqi
qihqi merged commit 89cc066 into master Jun 17, 2025
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.

2 participants