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
9 changes: 0 additions & 9 deletions fhe-cmplr/ckks/src/resbm.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ void RESBM::Cal_min_laten_plan() {

REGION_ID src(src_id);
if (src_id != 1 && Context()->Plan(src) == nullptr) continue;
// filter regions that require excessive bootstrapping.
if (Context()->Min_cut(src, Context()->Max_bts_lvl(), MIN_CUT_BTS).Size() >
Context()->Max_bts_cnt())
continue;

double src_min_laten = Context()->Total_latency(src);
AIR_ASSERT_MSG(src_min_laten < MAX_LATENCY,
Expand All @@ -82,11 +78,6 @@ void RESBM::Cal_min_laten_plan() {
for (uint32_t dst_id = src_id + min_bts_level;
dst_id < Region_cntr()->Region_cnt(); ++dst_id) {
REGION_ID dst(dst_id);
// filter regions that require excessive bootstrapping.
if (Context()
->Min_cut(dst, Context()->Max_bts_lvl(), MIN_CUT_BTS)
.Size() > Context()->Max_bts_cnt())
continue;

SCALE_MGR scale_mgr(Context(), Region_cntr(), src, dst, consumable_level);
MIN_LATENCY_PLAN* plan = scale_mgr.Perform();
Expand Down
Binary file added model/psi.onnx
Binary file not shown.