Live data from Hacker News

PyTorch Monarch

pytorch.org

31–40 of 45 posts

Re: PyTorch Monarch

#31
post #6

Earlier quoted context omitted.

I'm also curious what's the use case of this over Ray. Tighter integration with PyTorch/tensors abstractions?

That. Also, it has RDMA. Last I checked, Ray did not support RDMA. There are probably other differences as well, but the lack of RDMA immediately splits the world into things you can do with ray and things you cannot do with ray

Not currently, but it is being worked on https://github.com/ray-project/ray/issues/53976.

Re: PyTorch Monarch

#32

"Our Rust-based backend facilitates our performance, scale, and robustness — we amply use Rust’s fearless concurrency in Monarch’s implementation" Found a few typo's. The em dash makes me suspect an LLM was involved in proofreading

that it is surrounded by spaces makes this less likely

Re: PyTorch Monarch

#33
post #30

"Our Rust-based backend facilitates our performance, scale, and robustness — we amply use Rust’s fearless concurrency in Monarch’s implementation" Found a few typo's. The em dash makes me suspect an LLM was involved in proofreading

https://www.scottsmitelli.com/articles/em-dash-tool/

That was a really good read. Glad I clicked

Re: PyTorch Monarch

#34

"Our Rust-based backend facilitates our performance, scale, and robustness — we amply use Rust’s fearless concurrency in Monarch’s implementation" Found a few typo's. The em dash makes me suspect an LLM was involved in proofreading

I would argue that typos suggest an LLM did not proofread.

Re: PyTorch Monarch

#36
post #2

Apparently PyTorch oxidation has started. > Monarch is split into a Python-based frontend, and a backend implemented in Rust. Other than that, looks like a quite interesting project.

Multiple sources say that it is an experimental framework around PyTorch, not a replacement. People will still get to enjoy a circular graph using std::shared_ptr with memory leaks. It's a pity they don't do a complete rewrite with a functional language as the driver.

Arc has entered the chat.

Re: PyTorch Monarch

#37
this could become a major thing in coarray world, but the issues start already:

> ...Note that this does not support tensor engine, which is tied to CUDA and RDMA (via ibverbs).

I.e. yet another CUDA married approach: the issue is not ibverbs but the code shows they use GPUDirect RDMA, going from there this can only get worse - more CUDA dependencies. There would have been OpenUCX.

Re: PyTorch Monarch

#38

"Our Rust-based backend facilitates our performance, scale, and robustness — we amply use Rust’s fearless concurrency in Monarch’s implementation" Found a few typo's. The em dash makes me suspect an LLM was involved in proofreading

that it is surrounded by spaces makes this less likely

Most style guides would call that an error, em dash should be used without surrounding spaces (while an en dash requires them). The only publication I know that has (recently?) eschewed that advice is WaPo. If the idea was to make it more visible, I believe the correct solution would have been for WaPo to use an en dash but render it longer in their typeface.

Re: PyTorch Monarch

#39

Earlier quoted context omitted.

that it is surrounded by spaces makes this less likely

Most style guides would call that an error, em dash should be used without surrounding spaces (while an en dash requires them). The only publication I know that has (recently?) eschewed that advice is WaPo. If the idea was to make it more visible, I believe the correct solution would have been for WaPo to use an en dash but render it longer in their typeface.

yes, i agree with you and this is how i used to use emdashes. chatgpt also agrees with you, which is why spaces are a pretty good indicator that it's not an LLM

Re: PyTorch Monarch

#40
> Monarch lets you program distributed systems the way you’d program a single machine, hiding the complexity of distributed computing:

There are some infamous tech based on the "hiding" paradigm. PHP comes to mind. By hiding how the http request/response cycle actually works it fostered a generation of web developers who didn't know what a session cookie was, resulting in login systems that leaked like a sieve. Distributed computing is complicated. There are many parameters you need to tweak and many design decisions you need to take to make distributed model training run smoothly. I think explicit and transparent architectures are way better. Distributed model training shouldn't "feel" like running on a single device because it isn't.

Post reply on HN