pykan icon indicating copy to clipboard operation
pykan copied to clipboard

The problem about the model.prune() (and other like this)

Open savefishs opened this issue 6 months ago • 1 comments

   This is a issues that were found when using the functions which is model.prune() & model.prune_intput().

the issue is for GPU: if you finish training a model and want to use prune() or prune_input() ,prune_node() ,they create the new model and return ,but the functions did'nt move the model to the select device (so the model now is in cpu) . so the code will report : image

savefishs avatar Aug 02 '24 13:08 savefishs