You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the cell magic %%cell_to_module allows for --display / -d to view the graph of the current module. By default, it calls Driver.display_all_functions(), but when combined with --execute / -x it will switch to displaying Driver.visualize_execution().
With the recent introduction of caching, it would be useful to view the cache behavior (what node was retrieved / recomputed) too. This is possible through Driver.cache.view_run(). This visualization is different from the other two because it's only available after execution is completed.
For these reasons, it seems to make sense to have a separate flag --display-cache that would display the Driver.cache.view_run() after execution is completed. Using %cell_to_module --display --display-cache would create a visualization at the beginning of execution and another at the end.
The text was updated successfully, but these errors were encountered:
Currently, the cell magic
%%cell_to_module
allows for--display / -d
to view the graph of the current module. By default, it callsDriver.display_all_functions()
, but when combined with--execute / -x
it will switch to displayingDriver.visualize_execution()
.With the recent introduction of caching, it would be useful to view the cache behavior (what node was retrieved / recomputed) too. This is possible through
Driver.cache.view_run()
. This visualization is different from the other two because it's only available after execution is completed.For these reasons, it seems to make sense to have a separate flag
--display-cache
that would display theDriver.cache.view_run()
after execution is completed. Using%cell_to_module --display --display-cache
would create a visualization at the beginning of execution and another at the end.The text was updated successfully, but these errors were encountered: