-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[hotfix] Fix if-else condition for FSU #2836
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Currently, only the forwarding code is distinguished when Train and Swap are enabled. I also added a case where Swap is turned off and only Inference is turned on. **Self evaluation:** 1. Build test: [X]Passed [ ]Failed [ ]Skipped 2. Run test: [X]Passed [ ]Failed [ ]Skipped Signed-off-by: Donghak PARK <[email protected]>
8807c92
to
be41221
Compare
// temperally remain. when we evaluate all for asynch mode, we weill remove | ||
if (exec_mode == ExecutionMode::TRAIN) { | ||
if (exec_mode == ExecutionMode::TRAIN or | ||
(exec_mode == ExecutionMode::INFERENCE and !swap_mode)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wow... or
and and
in C++ code. I feel I'm getting old.
Currently, only the forwarding code is distinguished when Train and Swap are enabled.
I also added a case where Swap is turned off and only Inference is turned on.
Self evaluation: