frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Uv and Ray: Pain-Free Python Dependencies in Clusters

https://www.anyscale.com/blog/uv-ray-pain-free-python-dependencies-in-clusters
31•robertnishihara•5h ago

Comments

jessekv•3h ago
It would be a fun callback if the demo was a factorial server:

https://joearms.github.io/#2013-11-21%20My%20favorite%20Erla...

lz400•2h ago
Unfortunately uv is usually insufficient for certain ML deployments in Python. It's a real pain to install pytorch/CUDA with all the necessary drivers and C++ dependencies so people tend to fall back to conda.

Any modern tips / life hacks for this situation?

devjab•2h ago
https://docs.astral.sh/uv/guides/integration/pytorch/#automa...

doesn't work?

lz400•1h ago
the problem is that you still need to install all the low level stuff manually, conda does it automatically
gcarvalho•1h ago
I was pleasantly surprised to try the guide out and see that it just worked:

    λ uv venv && uv pip install torch --torch-backend=auto
    λ uv run python -c 'import torch; print(torch.cuda.is_available())'
    True
This is on Debian stable, and I don't remember doing any special setup other than installing the proprietary nvidia driver.
pcwelder•22m ago
This script has been sufficient for me to configure gpu drivers on fresh ubuntu machines. It's just uv add torch after this.

https://cloud.google.com/compute/docs/gpus/install-drivers-g... (NOTE: not gcloud specific)

Kydlaw•1h ago
You should give a try to https://pixi.sh/latest/ (I am not involve in the project).

They are a little more focus on scientific computing than uv, which is more general. They might be a better option in your case.

miohtama•1h ago
Would it be possible to use Docker to manage native dependencies?
rsfern•42m ago
Are there particular libraries that make your setup difficult? I just manually set the index and source following the docs (didn’t know about the auto backend feature) and pin a specific version if I really have to with `uv add “torch==2.4”`. This works pretty well for me for projects that use dgl, which heavily uses C++ extensions and can be pretty finicky about working with particular versions

This is in a conventional HPC environment, and I’ve found it way better than conda since the dependency solves are so much faster and I no longer experience PyTorch silently getting downgraded to cpu version of I install a new library. Maybe I’ve been using conda poorly though?

XSLT – Native, zero-config build system for the Web

https://github.com/pacocoursey/xslt
223•_kush•6h ago•142 comments

Echo Chamber: A Context-Poisoning Jailbreak That Bypasses LLM Guardrails

https://neuraltrust.ai/blog/echo-chamber-context-poisoning-jailbreak
14•Joan_Vendrell•1h ago•6 comments

I Switched from Flutter and Rust to Rust and Egui

https://jdiaz97.github.io/greenblog/posts/flutter_to_egui/
88•jdiaz97•3d ago•30 comments

Parameterized types in C using the new tag compatibility rule

https://nullprogram.com/blog/2025/06/26/
51•ingve•6h ago•14 comments

PJ5 TTL CPU

https://pj5cpu.wordpress.com/
15•doener•4h ago•1 comments

AlphaGenome: AI for better understanding the genome

https://deepmind.google/discover/blog/alphagenome-ai-for-better-understanding-the-genome/
460•i_love_limes•21h ago•149 comments

Launch HN: Issen (YC F24) – Personal AI language tutor

275•mariano54•21h ago•244 comments

Biomolecular shifts occur in our 40s and 60s (2024)

https://med.stanford.edu/news/all-news/2024/08/massive-biomolecular-shifts-occur-in-our-40s-and-60s--stanford-m.html
155•fzliu•7h ago•80 comments

A Lisp adventure on the calm waters of the dead C (2021)

https://mihaiolteanu.me/language-abstractions
18•caned•3d ago•0 comments

“Why is the Rust compiler so slow?”

https://sharnoff.io/blog/why-rust-compiler-slow
203•Bogdanp•16h ago•241 comments

Sailing the fjords like the Vikings yields unexpected insights

https://arstechnica.com/science/2025/06/this-archaeologist-built-a-replica-boat-to-sail-like-the-vikings/
61•pseudolus•3d ago•10 comments

Calculating the Fibonacci numbers on GPU

https://veitner.bearblog.dev/calculating-the-fibonacci-numbers-on-gpu/
8•rbanffy•3d ago•4 comments

Alternative Layout System

https://alternativelayoutsystem.com/scripts/#same-sizer
265•smartmic•16h ago•34 comments

Moonbase Alpha: That time NASA made a meme video game

https://www.spacebar.news/moonbase-alpha-nasa-video-game/
10•todsacerdoti•3d ago•3 comments

The time is right for a DOM templating API

https://justinfagnani.com/2025/06/26/the-time-is-right-for-a-dom-templating-api/
151•mdhb•16h ago•122 comments

Show HN: Zenta – Mindfulness for Terminal Users

https://github.com/e6a5/zenta
29•ihiep•3h ago•5 comments

Apple Will Transition from the CTF to the CTC for EU Businesses

https://developer.apple.com/news/?id=awedznci
20•eXpl0it3r•5h ago•1 comments

Bogong moths use a stellar compass for long-distance navigation at night

https://www.nature.com/articles/s41586-025-09135-3
29•Anon84•3d ago•4 comments

Starcloud can’t put a data centre in space at $8.2M in one Starship

https://angadh.com/space-data-centers-1
110•angadh•15h ago•158 comments

How much slower is random access, really?

https://samestep.com/blog/random-access/
81•sestep•3d ago•44 comments

A lumberjack created more than 200 sculptures in Wisconsin's Northwoods

https://www.smithsonianmag.com/travel/when-a-lumberjacks-imagination-ran-wild-he-created-more-than-200-sculptures-in-wisconsins-northwoods-180986840/
59•noleary•9h ago•24 comments

VA Tech scientists are building a better fog harp

https://arstechnica.com/science/2025/06/these-va-tech-scientists-are-building-a-better-fog-harp/
17•PaulHoule•3d ago•4 comments

Snow - Classic Macintosh emulator

https://snowemu.com/
248•ColinWright•1d ago•83 comments

Kea 3.0, our first LTS version

https://www.isc.org/blogs/kea-3-0/
91•conductor•15h ago•33 comments

Blazing Matrix Products

https://panadestein.github.io/blog/posts/mp.html
12•Bogdanp•5h ago•0 comments

Show HN: Magnitude – Open-source AI browser automation framework

https://github.com/magnitudedev/magnitude
101•anerli•17h ago•38 comments

Collections: Nitpicking Gladiator's Iconic Opening Battle, Part I

https://acoup.blog/2025/06/06/collections-nitpicking-gladiators-iconic-opening-battle-part-i/
50•diodorus•3d ago•16 comments

New IQ research shows why smarter people make better decisions

https://phys.org/news/2025-06-iq-smarter-people-decisions.html
6•jnord•1h ago•7 comments

Typr – TUI typing test with a word selection algorithm inspired by keybr

https://github.com/Sakura-sx/typr
80•Sakura-sx•4d ago•35 comments

Timeline of US Class I Railroads Since 1977

https://en.wikipedia.org/wiki/Timeline_of_Class_I_railroads_(1977%E2%80%93present)
5•brudgers•5h ago•0 comments