News for hackers. Stuff that matters.

que-encrypt

Re:TPU Deep Dive on Thursday June 26, 2025 @11:28PM (#44393450)
I am a high schooler, and easily got a tpuv4-64. No fancy school or edu email address, just a dream of winning geoguessr. They are very receptive to emails, I asked for more and they got more for me.
Re:Python can run Mojo now on Monday June 23, 2025 @01:13AM (#44352627)
My guess is that the slight overhead of interacting with mojo led to this speed discrepancy, and if a higher factorial (that was within the overflow limits etc) was run, this overhead would become negligible (as seen by the second example). Also similar to jax code being slower than numpy code for small operations, but being much faster for larger ones on cpus etc.
Re:TPU Deep Dive on Sunday June 22, 2025 @03:11PM (#44349473)
jax is very much a working (and in my view better, aside from the lack of community) software support. Especially if you use their images (which they do). > > Tensorflow They have been using jax/flax/etc rather than tensorflow for a while now. They don't really use pytorch from what I see on the outside from their research works. For instance, they released siglip/siglip2 with flax linen: https://github.com/google-research/big_vision

TPUs very much have software support, hence why SSI etc use TPUs.

P.S. Google gives their tpus for free at: https://sites.research.google/trc/about/, which I've used for the past 6 months now

Re:The Zed Debugger Is Here on Thursday June 19, 2025 @02:05AM (#44315899)
zed remote ssh on windows would push me to it instantly, unfortunately it relies upon this pr being merged (I think, would love more input): https://github.com/zed-industries/zed/pull/29145

It is finally at the review stage, I really hope it can get merged soon!

pytorch xla is barely supported in the pytorch ecosystem (for instance, pytorch lightning still doesn't easily support tpu pods, with only a singular short page about google colab v2-8 tpus that is out of date. Then there are the various libraries/implementations with pytorch that have a .cuda(), etc. More limitations at: https://lightning.ai/docs/pytorch/stable/accelerators/tpu_fa...). I haven't worked with tensorflow, but I've heard it's a pain even when using gpus. JAX is the real deal, and does make my code transferrable between GPUs/TPUs relatively easily (excluding any custom pallas kernels for flash vs splash attention, but this is usually not a massive code change). However, with JAX, there are often not a bunch of pre-existing implementations due to network effects, etc.
Thank you, it took a lot of time to come up with it

Show HN: GeoGuessr AI that crushes o3 and humans

https://locate.photos

Hey HN!Over the past few months as part of my AP Research class, I've been working on creating the worlds best Geoguessr AI. My final report (submitted for my AP Research class) for Locamage will be published soon on https://locamage.dev.The images are blurred to prevent bots from downloading them, and to not violate copyright. Hope you enjoy getting crushed by Locamage! Supported by the TPU...

( Read More... | no comments | on HN )