-
Notifications
You must be signed in to change notification settings - Fork 127
Description
Hello,
Writting my plugin, I wanted to add some attributes for the debug such as the tensor values for weight/biases.
However with big models this attribute seems to be a performance killer (potentially because of the json serialization of the graph).
Is it possible to set some attributes with a just-in-time (lazy) evaluation for some attributes? Ideally, the value of such attributes would only be computed when explicitly requested by the user (for example when they click on the node or expand the corresponding section in the UI).
From a plugin developper point of view, it would be equivalent to registering a callable that compute and return the value.
This feature would allow for advanced debugging capabilities without negatively impacting performance in typical workflows.
Regards,
Cyril