My question is where is the update_freq config? Is there any inner iteration to count the training steps for pruning? Is there any source code for this, I did not find them.
From the best of my knowledge, after pruner.wrap_optax operator for specific optimizator, every call for optax.apply_updates will increase the inner step plus 1 in the pruner. Is this true?
Hi,
When I create a new
sparsity_pruner
with some basic config as follows:My question is where is the
update_freq
config? Is there any inner iteration to count the trainingsteps
for pruning? Is there any source code for this, I did not find them.From the best of my knowledge, after
pruner.wrap_optax
operator for specific optimizator, every call foroptax.apply_updates
will increase the inner step plus 1 in thepruner
. Is this true?