TransformerLensOrg / CircuitsVis

Mechanistic Interpretability Visualizations using React
https://alan-cooney.github.io/CircuitsVis/
MIT License
175 stars 28 forks source link

Local development injects entire tensorflow.js code #37

Open neelnanda-io opened 1 year ago

neelnanda-io commented 1 year ago

When coding locally, html.local_src injects a very large amount of code each time I render an HTML. This mostly comes from injecting the source code of underlying libraries rather than a CDN (eg tensorflow.js). This makes my notebooks much larger, and makes the visualizations take several seconds to load. I'm always coding online, so I'd like to have the option to have the CDN for source code of libraries, but to put in the source code for the local code that I am using.

neelnanda-io commented 1 year ago

@alan-cooney Any idea how hard this is to fix?