Loading video...

Video Failed to Load

Go Home

Introducing darkspark, a gui for your neural network. It traces your pytorch code and brings up a visual representation for you to interact with. We have a hosted gallery of popular model architectures pre-traced and ready to explore. Here’s stable-diffusion-v1.5

16,783 views • 1 year ago •via X (Twitter)

10 Comments

Rudy Gilman's profile picture
Rudy Gilman1 year ago

We’re also capturing activations during the trace. Check out the simple color and line detectors in the first layer of convnext_zepto from the timm library

Rudy Gilman's profile picture
Rudy Gilman1 year ago

It’s like openai’s Microscope tool but for your own models. See if you can identify these later features from timm’s contrastively-trained vit_base_patch16_siglip_224

Rudy Gilman's profile picture
Rudy Gilman1 year ago

We can also explore the attention patterns. The siglip model from above has a head that appears to move information around hamburgers

Rudy Gilman's profile picture
Rudy Gilman1 year ago

We’ve got all the models from the timm library as well as many others from huggingface’s transformers and diffusers libraries already hosted.

Rudy Gilman's profile picture
Rudy Gilman1 year ago

The github repo isn’t yet ready for public release but you can explore all the pre-traced models at Works best with a large screen.

Rudy Gilman's profile picture
Rudy Gilman1 year ago

Or start with a few neurons from DINO-v2

JohnMark Taylor's profile picture
JohnMark Taylor1 year ago

Very cool—I wrote a package (TorchLens) that does visuals for DNNs but without the interactivity. Lemme know if you ever want to compare notes!

Rudy Gilman's profile picture
Rudy Gilman1 year ago

yes torchlens was an inspiration for me!

sway's profile picture
sway1 year ago

sd1.5 having 7.7b params seems very wrong

Rudy Gilman's profile picture
Rudy Gilman1 year ago

why?

Related Videos