Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
FastMoE
Commits
8d14dd29
Commit
8d14dd29
authored
May 21, 2021
by
Rich Ho
Browse files
update accoding to comments
parent
c931c484
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
cuda/utils/timer.hh
cuda/utils/timer.hh
+3
-2
fmoe/gates/naive_gate.py
fmoe/gates/naive_gate.py
+1
-1
No files found.
cuda/utils/timer.hh
View file @
8d14dd29
#ifndef TIMER_HH
#define TIMER_HH
/*
* This part of code is not used.
#include <chrono>
inline double getDuration(std::chrono::time_point<std::chrono::system_clock> a,
...
...
@@ -9,8 +11,7 @@ inline double getDuration(std::chrono::time_point<std::chrono::system_clock> a,
}
#define timestamp(__var__) auto __var__ = std::chrono::system_clock::now();
#include <chrono>
*/
#endif // TIMER_HH
fmoe/gates/naive_gate.py
View file @
8d14dd29
...
...
@@ -12,7 +12,7 @@ class NaiveGate(BaseGate):
r
"""
A naive gate implementation that defines the standard behavior of the gate
which determines which experts the tokens are going to.
Both the ind
e
cies and the score, or confidence, are output to the parent
Both the ind
i
cies and the score, or confidence, are output to the parent
module.
The load-balance strategies are also designed to be implemented within the
`Gate` module.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment