Skip to content

Commit

Permalink
savepoint
Browse files Browse the repository at this point in the history
  • Loading branch information
tarekziade committed Jan 10, 2025
1 parent 0a8d674 commit 5cdceec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,10 @@ Status MatMulIntegerToFloatBase::ComputeCommon(OpKernelContext* ctx,
// rowsA = M
// width = K
// colsB = N
#if 0
size_t rowsA = static_cast<size_t>(helper.M());

if (rowsA > 1) {
size_t width = static_cast<size_t>(helper.K());
size_t colsB = static_cast<size_t>(helper.N());

Expand All @@ -283,8 +286,14 @@ Status MatMulIntegerToFloatBase::ComputeCommon(OpKernelContext* ctx,
is_b_scale_per_column,
y_data
);
}
else {
#endif
MlasGemmBatch(gemm_shape, gemm_data_vec.data(), num_gemms, ctx->GetOperatorThreadPool());

// MlasGemmBatch(gemm_shape, gemm_data_vec.data(), num_gemms, ctx->GetOperatorThreadPool());
//}

//
/*
auto end = std::chrono::steady_clock::now();
auto duration = std::chrono::duration_cast<std::chrono::nanoseconds>(end - start).count();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,6 @@ Status DequantizeLinear<T>::Compute(OpKernelContext* ctx) const {
} else {
//auto start = std::chrono::high_resolution_clock::now();
if (process_block_size > 1000) {


GeckoDequantizeLinear(static_cast<float>(process_block_count),
static_cast<float>(broadcast_dim),
static_cast<float>(process_block_size),
Expand Down

0 comments on commit 5cdceec

Please sign in to comment.