This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v0.10.x] Softmax optimization & bertpass refactor (#1565)
* fix export * Separate graph passes * Add softmax mask pass optimization * Add graph passes to finetune_squad * Fix bias * Update finetune_squad * Change filename and update documentation * Add support for graph passes in finetune_classifier * Fix for mxnet 1.7 * Fix review * Add tests for finetune_* scripts * Fix review * sanity * Refactor bias recalculation loops * Remove nightly version of mxnet from warning
- Loading branch information
Showing
8 changed files
with
574 additions
and
62 deletions.
There are no files selected for viewing
317 changes: 292 additions & 25 deletions
317
scripts/bert/bertpass_gpu.cc → scripts/bert/bertpass.cc
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.