Skip to content

Commit 24bb848

Browse files
kausvmeta-codesync[bot]
authored andcommitted
fbcode//torchrec/inference:batching_queue_hipify_gen (#3458)
Summary: Pull Request resolved: #3458 Pull Request resolved: #3457 Reviewed By: nipung90 Differential Revision: D84599808 fbshipit-source-id: bcfacf2656f08b2f025c096d5c0947d5764605b7
1 parent 97573e7 commit 24bb848

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchrec/inference/inference_legacy/src/BatchingQueue.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ BatchingQueue::BatchingQueue(
6060
resourceManager_(std::move(resourceManager)) {
6161
CHECK(observer_ != nullptr);
6262
for (const auto& [_, metadata] : config_.batchingMetadata) {
63-
if (batchingFuncs_.count(metadata.type) > 0) {
63+
if (batchingFuncs_.contains(metadata.type)) {
6464
continue;
6565
}
6666
batchingFuncs_[metadata.type] =

0 commit comments

Comments
 (0)