Better HN
topnewbestaskshowjobs
Log inSign up

d4l3k

523 karma · joined Mar 2, 2014 (12y ago) · 158 submissions

https://fn.lc

https://github.com/d4l3k

https://www.linkedin.com/in/d4l3k/

Submissions

comment 1y ago · link · parent

We're working on making these composable. torchft is largely focused on the model integration and algorithms where as Monarch is handling more of the orchestration/monitoring. They operate at a bit of a different layer but the plan is to have torchft have the fault tolerant algorithms that can be used both in Monarch or a standard PTD job

comment 1y ago · link · parent

We want to be tolerant to application bugs and host/GPU failures that can be solved by replacing/restarting the machine. External services and network failures we don't have much control over so aren't aiming to solve that.

For specific types of failures check out the section on "Reliability and Operational Challenges" from the Llama 3 paper https://ai.meta.com/research/publications/the-llama-3-herd-o...

comment 1y ago · link · parent

Let me know how it goes! If you're interested in chatting / run into any problems feel free to reach out via the links in my profile

comment 1y ago · link · parent

Recently there's been a lot of interest and improvements in semi-synchronous training. The Streaming DiLoCo paper came out this year and is a big step forward for datacenter semi-sync.

Historically it's been limited to areas like federated learning for low power/low network training but with the massive increase in number of GPUs it's becoming relevant even for training in datacenters.

It is another variable ML researchers have to tune so does add some complexity and I expect most folks just aren't familiar with it yet.

On "typed language": all of torchft is typed! The coordination/quorum layers are written in Rust w/ GRPC and the front-end is typed Python with Pyre since it has to interact with PyTorch and model code.

comment 1y ago · link · parent

Hey Tim, how's it going?

Interested in lending PyTorch some compute? :)

torchft can handle much larger scales but for public multi-day demonstration run this is what we had available. Point of this blog was to demonstrate correctness of the quorum algorithm and recovery with a stock PyTorch stack and not so much peak flops.

Stay tuned though -- planning on doing some much larger demos on B200s!

comment 1y ago · link · parent

Hey, nice to see this here!

I'm the primary author so happy to answer any questions you might have!

comment 2y ago · link · parent

It seems to work just fine with SIP enabled. I just switched and it seems to be a lot better than Amethyst. Amethyst had a lot of issues with focus follows mouse and dropdown dialogs that seems to just work with Yabai

Seems like SIP is only needed for system dialogs etc so has the same limitations as Amethyst

comment 3y ago · link · parent

Not sure why they aren't loading, seem to be fine now

They're also at https://github.com/d4l3k/fn.lc/tree/master/static%2Fdiy-self...

comment 3y ago · link · parent

Supercharger auth is between the car and the charger and doesn't require an internet connection. I get billed the normal way via my Tesla account since the VIN is registered

comment 3y ago · link · parent

There's some functionality loss but it's mostly been mitigated. I have a custom app I wrote since I can't use the stock app.

The one feature I miss is that there's no voice commands since that requires Tesla's servers but at the same time I also haven't been bothered enough to plug in a custom backend

comment 3y ago · link · parent

I've got a blog if you're interested haha https://fn.lc/post/

I've been hacking on my car and creating my own self driving models

Code is at https://github.com/d4l3k/torchdrive

comment 3y ago · link · parent

If the map can't talk to Tesla it'll use Google maps directly. I usually don't allow connections to Tesla on my rooted Model 3

comment 3y ago · link · parent

I just tried to set this up and couldn't. Seems like it's invite only with a waitlist :/

comment 5y ago · link · parent

Adding port forwarding to Mosh has a $600 bounty -- highest OSS bounty I've ever seen

https://www.bountysource.com/issues/4471419-ssh-port-forward... https://github.com/mobile-shell/mosh/issues/337

comment 5y ago · link · parent

They measure torque on the wheel from the drivers hand. It is possible to fool via defeat devices etc (ex www dot autopilotbuddy dot com).

There is a WIP system that uses the selfie camera to monitor the driver but it's still possible to fool (image taped in front or block it with tape etc) so unlikely it can catch all cases of drivers being willfully being dangerous. https://twitter.com/greentheonly/status/1379928419136339969

comment 5y ago · link · parent

They are working on a camera based solution though it's imperfect. You can see examples of it running at https://twitter.com/greentheonly/status/1379928419136339969

comment 6y ago · link · parent

Post can also be accessed via IPFS https://gateway.ipfs.io/ipns/Qmea45XwFtdwaCGAPLRMxFmoUP5YLnk...

I've spent a lot of time digging into the Tesla software and hardware. Let me know if you have any questions! :)

18.

Tesla – How to Enable Developer Mode and Other Secret Modes(fn.lc ↗)

1 points · by d4l3k · 6y ago · 1 comment

19.

Hacking My Tesla Model 3 – Internal API(fn.lc ↗)

3 points · by d4l3k · 6y ago · discuss

comment 6y ago · link · parent

I've spent a lot of time digging into how the Model 3 works internally (not just the security aspects) so happy to answer any questions you might have! :)

The post is also available on IPFS at:

https://gateway.ipfs.io/ipns/Qmea45XwFtdwaCGAPLRMxFmoUP5YLnk...

21.

Show HN: Hacking My Tesla Model 3 – Security Overview(fn.lc ↗)

2 points · by d4l3k · 6y ago · 1 comment

comment 7y ago · link · parent

Pretty much all of the things you'd want in a relational database are now present in Mongodb too.

The real benefit of MongoDB at this point is the ability to easily scale beyond a single machine with shards and high availability using replica sets.

Postgres will get you pretty far, but beyond a certain point the scaling story breaks down and you have to hack some sort of user space sharding solution. At that point all the schema update and backups become a nightmare.

Schemas: https://docs.mongodb.com/manual/core/schema-validation/

Transactions: https://docs.mongodb.com/manual/core/transactions/

SQL: https://docs.mongodb.com/bi-connector/master/

comment 7y ago · link · parent

They recently added multi document transactions though.

https://docs.mongodb.com/manual/core/transactions/

comment 7y ago · link · parent

The tracing Python objects technique is very similar to how pytorch traces models to produces a graph representation that can be executed entirely in C++ for performance reasons.

The pytorch one is a little bit more general since it can trace arbitrary models + have custom high level operations that might not be supported by default. You just pass it a python method and an example input.

  import torch
  def foo(x, y):
      return 2*x + y
  traced_foo = torch.jit.trace(foo, (torch.rand(3), torch.rand(3)))
https://pytorch.org/docs/stable/jit.html#torch.jit.ScriptMod...

comment 7y ago · link · parent

Seems pretty clear https://developers.facebook.com/blog/post/2018/12/14/notifyi...

comment 7y ago · link · parent

Firefox has almost the exact same thing. https://support.mozilla.org/en-US/kb/how-search-from-address...

comment 8y ago · link · parent

It still wouldn't get the drug to the people who need it. Most of the cost involved is in getting it approved by the authorities for human use.

There's nothing stopping people from manufacturing the drug for personal use, other than that it's likely extremely hard to make.

comment 8y ago · link · parent

Pixel trackers are just small embedded images in the email that when they are fetched from a server, the server logs it. Pretty simple way to track whether or not someone has opened an email. It's my understanding that gmail however downloads all images and then serves them from Google servers to avoid this issue entirely.

Traditional email clients like Outlook/Thunderbird are susceptible to this kind of attack. That's why they often ask you before loading images.

https://smallbusiness.chron.com/set-email-tracking-pixel-493...

29.

Show HN: Interactive Go REPL in Your Browser with WebAssembly(gopry.rice.sh ↗)

8 points · by d4l3k · 8y ago · discuss

123456