Skip to content

Add remat_unscanned_layers_with_scan to bound peak activation memory when - #5835

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1002379602
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1002379602

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Add remat_unscanned_layers_with_scan to bound peak activation memory when
scan_layers=False, and capture block-boundary activations so feature
distillation (distill_beta > 0) works with unscanned decoder layers.

…y when

`scan_layers=False`, and capture block-boundary activations so feature
distillation (`distill_beta > 0`) works with unscanned decoder layers.

PiperOrigin-RevId: 1002379602

This branch has not been deployed

No deployments
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.

1 participant