Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fbgemm_gpu/fbgemm_gpu/tbe/stats/bench_params_reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def extract_params(
for bs in batch_size_per_feature_per_rank
for b in bs
]
)
).float()
)
)
)
Expand Down
4 changes: 0 additions & 4 deletions fbgemm_gpu/src/tbe/eeg/indices_estimator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,16 +163,12 @@ ZipfParameters IndicesEstimator::zipfParams(

if ((ratio < kHeavyHitterLowerBound_) ||
(ratio > kHeavyHitterUpperBound_)) {
std::cout << "Skipping (s,q) (" << s << ", " << q
<< "): " << " inconsistent with heavy hitters!" << "\n";
continue;
}

double logLikelihood = -zipfTotalFreq * log(normalizeConst) +
s * freqTerm - kQRegularizer_ * q;
if (logLikelihood > maxLogLikelihood) {
std::cout << "Found best Log likelihood so far on (s,q) (" << s << ", "
<< q << "): " << logLikelihood << "\n";
maxLogLikelihood = logLikelihood;
zipfParams.q = q;
zipfParams.s = s;
Expand Down
Loading