Skip to content

Commit dec06ef

Browse files
duduyi2013facebook-github-bot
authored andcommitted
fix bugs in D76548519 (#4378)
Summary: Pull Request resolved: #4378 X-link: facebookresearch/FBGEMM#1448 fix bugs that add the wrong check Reviewed By: Raahul46 Differential Revision: D76944968 fbshipit-source-id: 0117b72afe72b3dca7d01c8511d437dfa79dfcec
1 parent 23e62dc commit dec06ef

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fbgemm_gpu/src/ssd_split_embeddings_cache/ssd_split_table_batched_embeddings.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,6 @@ void KVTensorWrapper::set_dram_db_wrapper(
478478

479479
at::Tensor KVTensorWrapper::narrow(int64_t dim, int64_t start, int64_t length) {
480480
CHECK_EQ(dim, 0) << "Only narrow on dim 0 is supported";
481-
CHECK_EQ(width_offset_, 0);
482481
if (db_) {
483482
CHECK_TRUE(db_ != nullptr);
484483
CHECK_GE(db_->get_max_D(), shape_[1]);

0 commit comments

Comments
 (0)