Files
tinygrad/tinygrad/runtime
uuuvnandGitHub 94907d02c8 Move session to RemoteRequest (#10264)
This is a prereq refactor for cloud multi which will make it possible to
use multiple devices from cloud host instead of just one.

I will do that via changing a session to be a `tuple[token, dev_idx]`

Previously the session was in cookies, this is a problem because a single
http request can contain many RemoteRequests with potentially different
devices.

The alternatives are either:

\- sending commands for different devices in separate http requests (slow)

\- only adding an idx in RemoteRequest in basically the same way i added
session here, keeping session a cookie and concat in server. This is how
i've done it previously and it looks just strictly worse than having it
all be in the same place.
2025-05-12 10:06:09 -07:00
..
2025-05-01 18:03:47 +03:00
2024-06-18 19:48:18 -04:00
2025-04-24 07:52:35 -04:00
2025-04-01 11:51:33 +08:00
2025-03-01 12:34:29 +03:00
2025-04-08 22:52:17 +03:00