setup.py 916 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. from setuptools import setup, find_packages
  2. import sys
  3. # Base requirements for all platforms
  4. install_requires = [
  5. "aiohttp==3.9.5",
  6. "grpcio==1.64.1",
  7. "grpcio-tools==1.64.1",
  8. "huggingface-hub==0.23.4",
  9. "Jinja2==3.1.4",
  10. "numpy==2.0.0",
  11. "protobuf==5.27.1",
  12. "psutil==6.0.0",
  13. "pynvml==11.5.3",
  14. "requests==2.32.3",
  15. "safetensors==0.4.3",
  16. "tiktoken==0.7.0",
  17. "tokenizers==0.19.1",
  18. "tqdm==4.66.4",
  19. "transformers==4.41.2",
  20. "uuid==1.30",
  21. "tinygrad @ git+https://github.com/tinygrad/tinygrad.git@a9f5a764dc640a5e5cbaaeeee21df7c8ca37da38",
  22. ]
  23. # Add macOS-specific packages if on Darwin (macOS)
  24. if sys.platform.startswith("darwin"):
  25. install_requires.extend(
  26. [
  27. "mlx==0.15.1",
  28. "mlx-lm==0.14.3",
  29. ]
  30. )
  31. setup(
  32. name="exo",
  33. version="0.1.0",
  34. packages=find_packages(),
  35. install_requires=install_requires,
  36. )