Get the latest tech news
I Solved PyTorch's Cross-Platform Nightmare
ng up a Python project that relies on PyTorch, so that it works across different accelerators and operating systems, is a nightmare. Most PyTorch projects I work on are internal or run on a server that my colleagues and I can control.
Setting up a Python project that relies on PyTorch, so that it works across different accelerators and operating systems, is a nightmare. However, I recently started working on FileChat — my own opinionated AI coding assistant (stay tuned). PEP 508 — the standard for dependency specification — offers two neat tricks that, when combined, tackle this issue pretty well.
Or read this on Hacker News