nnsight icon indicating copy to clipboard operation
nnsight copied to clipboard

Calling dispatch multiple times dispatch the model multiple times

Open Butanium opened this issue 1 month ago • 0 comments

In the dispatch function: https://github.com/ndif-team/nnsight/blob/40154765770f1c1697e79668a1454ba848dfe5ca/src/nnsight/modeling/mixins/meta.py#L58 We don't check if the model is already dispatched. Is this on purpose? Are there any reason not to check if model.dispatched is true and if yes skip it?

Butanium avatar Nov 19 '25 11:11 Butanium