-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add if-else use_new_executor branch (#6897)
* add if-else use_new_executor branch * no pre-commit reformat * add () for use_new_executor * align old executor and new executor loss * fix outs[loss].shape == () can't get value by outs[loss][-1] * tiny format fix * restore the way loss is calculated by new exe * old executor doesn't have to / accumulate_steps * dataloader_from_generator add param num_workers=1
- Loading branch information
Showing
1 changed file
with
131 additions
and
54 deletions.
There are no files selected for viewing
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