Install `deepspeed-kernels` only on Linux
diff --git a/requirements/requirements-dev.txt b/requirements/requirements-dev.txt
index 105dd094f995..078386c457bd 100644
--- a/requirements/requirements-dev.txt
+++ b/requirements/requirements-dev.txt
@@ -1,7 +1,7 @@
 accelerate
 clang-format==16.0.2
 coverage
-deepspeed-kernels
+deepspeed-kernels ; sys_platform == 'linux'
 docutils<0.18
 future
 importlib-metadata>=4

The package[^1] does not have sdists, and the only wheels it has are for Linux. The package therefore fails to install on any other platform. The solution to install the dev requirements on macOS is to skip the installation on incompatible OS's.

[^1]: https://pypi.org/project/deepspeed-kernels/0.0.1.dev1698255861/#files