Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lin-hitonami committed Dec 26, 2023
1 parent b913040 commit 3077ad5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions taichi/transforms/compile_to_offloads.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,12 @@ void compile_to_offloads(IRNode *ir,
irpass::full_simplify(
ir, config,
{false, /*autodiff_enabled*/ true, kernel->get_name(), verbose});
print("Simplified before autodiff");
irpass::auto_diff(ir, config, autodiff_mode, ad_use_stack);
// TODO: Be carefull with the full_simplify when do high-order autodiff
print("Auto diff generated");
irpass::full_simplify(
ir, config,
{false, /*autodiff_enabled*/ false, kernel->get_name(), verbose});
print("Simplified after autodiff");
print("Gradient");
irpass::analysis::verify(ir);
}

Expand Down

0 comments on commit 3077ad5

Please sign in to comment.