Hardik
hardikvala.com
Hardik
@hardikvala.com
founder @ qaggle.com, one over one

prev: yc s23, ml eng @ google, apple

i dont endorse anything I say
finally made sense of all the ways you can index tensors in pytorch / numpy #TensorViz
November 20, 2025 at 1:00 PM
"Quit the wrong stuff. Stick with the right stuff. Have the guts to do one or the other." — Seth Godin, The Dip

A questionnaire I've developed up over years to navigate major stick or quit decisions: hardikvala.com/blog/stick-o...

Answer with your gut, not your brain.:
⛰️ stick or quit: a manual
hardik vala: technical founder (yc s23, ex-google, ex-apple)
hardikvala.com
November 17, 2025 at 10:21 PM
Creating these visuals is addictive, but getting out of hand. Had to see the difference between torch chunk and unbind, but this visual doesn't need to exist. #TensorViz
November 13, 2025 at 7:30 PM
Not my best work. Created a visual of torch's transpose op over 3d tensors, but I don't know if the random coloring is instructive or confusing. #TensorViz
November 12, 2025 at 8:27 PM
TIL `tensor[None]` is just a shorthand for `tensor.unsqueeze( 0)` in torch.
November 12, 2025 at 2:44 AM
seriously!? every time i open the app
November 11, 2025 at 7:42 PM
Me: “who’s your favorite entrepreneur?”

GF: “you”

Me: “I’m not an entrepreneur. I’m a fraud.”

GF: “that’s most entrepreneurs”

Me: “good point”
November 10, 2025 at 10:15 PM
Visual explainer for the pytorch op, `torch.unbind` #TensorViz
November 10, 2025 at 7:38 PM
From Seth Godin's book, The Dip.
November 9, 2025 at 11:36 PM
This is a cool resource: github.com/nayafia/lemo... . Documents a bunch of ways to make money with open source, with pros and cons of each approach.
GitHub - nayafia/lemonade-stand: A handy guide to financial support for open source
A handy guide to financial support for open source - nayafia/lemonade-stand
github.com
November 7, 2025 at 11:24 PM
Finished the visual explainer for the torch op, `chunk`. #TensorViz
November 7, 2025 at 8:22 PM
Started a visual explainer for the torch op, `chunk`. The full explainer will have different arg combinations for no. of chunks and dim.
November 6, 2025 at 11:19 PM
Framework lock-in is definitely not a day 0 / pre-PMF concern.

mlechner.substack.com/p/why-we-sta...
November 5, 2025 at 10:35 PM
whytorch.org is quietly addictive. It's been fun playing with pytorch tensors in a visual format. Not affiliated with the project. Just a fan.
November 5, 2025 at 9:11 PM
torch.outer(a, b), visualized #TensorViz

(drawn w/ bit.ly/tensordiagram)
November 2, 2025 at 7:46 PM
Any time you see t[:, None] on a 1d tensor, it's just transpose #TensorViz
November 2, 2025 at 12:04 AM
if you, like me, forget how tensors get reshaped.

(drawn with bit.ly/tensordiagram)
October 31, 2025 at 8:22 PM
Fed up with trying to imagine chains of tensor transformations in my head, wrote a library to relieve my pain: github.com/hardik-vala/.... Lets you visualize torch, jax, tf, numpy tensors in notebooks and other python contexts, for understanding and debugging. Enjoy.
October 30, 2025 at 5:51 PM
is playground mode a new feature in colab? liking it for messing around with a notebook you authored that's also shared
October 29, 2025 at 5:49 PM
JAX / TPU docs are incomplete. For anyone looking to run Pallas kernels (JAX's kernel lang) on TPUs, make sure you're running Python 3.10+.
October 29, 2025 at 1:13 AM
Tensor Logic does not seem all that different from torch and tf, and don't see how it solves hallucinations. The unification of symbolic logic, database operations, and tensor transformations was intellectually instructive tho.

arxiv.org/abs/2510.12269
Tensor Logic: The Language of AI
Progress in AI is hindered by the lack of a programming language with all the requisite features. Libraries like PyTorch and TensorFlow provide automatic differentiation and efficient GPU implementati...
arxiv.org
October 29, 2025 at 1:05 AM
When you create a typo in the process of fixing one. Entropy refuses to go down.
October 28, 2025 at 9:07 PM
LFG
October 24, 2025 at 5:52 PM
A remix on llama2.c: ModernBERT, in one file of pure C: github.com/hardik-vala/...
github.com
October 17, 2025 at 11:28 PM
How do people visualize tensors? especially when reading foreign pytorch / jax code.
October 13, 2025 at 6:16 PM