Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -822,11 +822,12 @@ class FusedMoeRunner : public tvm::ffi::ModuleObj {
auto const fc2_dequant = quant_scales.value()[2];
auto const fc1_input_dequant = quant_scales.value()[3];

TVM_FFI_ICHECK(fc1_dequant.get() != nullptr) << "Expecting fc1_dequant to be non null";
TVM_FFI_ICHECK(fc2_quant.get() != nullptr) << "Expecting fc2_quant to be non null";
TVM_FFI_ICHECK(fc2_dequant.get() != nullptr)
<< "Expecting fc2_dequant_dequant to be non null";
TVM_FFI_ICHECK(fc1_input_dequant.get() != nullptr)
TVM_FFI_ICHECK(fc1_dequant.GetDLTensorPtr() != nullptr)
<< "Expecting fc1_dequant to be non null";
TVM_FFI_ICHECK(fc2_quant.GetDLTensorPtr() != nullptr) << "Expecting fc2_quant to be non null";
TVM_FFI_ICHECK(fc2_dequant.GetDLTensorPtr() != nullptr)
<< "Expecting fc2_dequant to be non null";
TVM_FFI_ICHECK(fc1_input_dequant.GetDLTensorPtr() != nullptr)
<< "Expecting fc1_input_dequant to be non null";

// Check types
Expand Down