exo-explore / exo

Run your own AI cluster at home with everyday devices 📱💻 🖥️⌚
GNU General Public License v3.0
15.21k stars 819 forks source link

[BOUNTY - $200] Windows native support #186

Open AlexCheema opened 2 months ago

AlexCheema commented 2 months ago
omarei-omoto commented 2 months ago

PLEAAASE THIS

Shivp1413 commented 1 month ago

I made changes in main.py file, and now its working for windows as well. But I get following error: Error: Failed to fetch completions: Error processing prompt (see logs with DEBUG>=2): No module named '_posixshmem' main.zip

mercurymason commented 1 month ago

The '_posixshmem' module is associated with POSIX shared memory, which afaik is not available on Windows. This error due to tinygrad's reliance on Unix-specific features. It doesn't seem like this problem will be soon resolved by tinygrad, as they have discontinued official Windows support in tinygrad version 0.7.0.

WSL would likely enable tinygrad compatibility on Windows, but kind of breaks the native in "native support". As @AlexCheema mentioned, llama.ccp or pytorch backend may provide a fix -- also, JAX is compatible with Windows.