setup.py 1019 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. "aiohttp_cors==0.7.0",
  7. "blobfile==2.1.1",
  8. "grpcio==1.64.1",
  9. "grpcio-tools==1.64.1",
  10. "huggingface-hub==0.23.4",
  11. "Jinja2==3.1.4",
  12. "numpy==2.0.0",
  13. "prometheus-client==0.20.0",
  14. "protobuf==5.27.1",
  15. "psutil==6.0.0",
  16. "pynvml==11.5.3",
  17. "requests==2.32.3",
  18. "rich==13.7.1",
  19. "safetensors==0.4.3",
  20. "tiktoken==0.7.0",
  21. "tokenizers==0.19.1",
  22. "tqdm==4.66.4",
  23. "transformers==4.41.2",
  24. "uuid==1.30",
  25. "tinygrad @ git+https://github.com/tinygrad/tinygrad.git@a9f5a764dc640a5e5cbaaeeee21df7c8ca37da38",
  26. ]
  27. # Add macOS-specific packages if on Darwin (macOS)
  28. if sys.platform.startswith("darwin"):
  29. install_requires.extend(
  30. [
  31. "mlx==0.16.0",
  32. "mlx-lm==0.16.1",
  33. ]
  34. )
  35. setup(
  36. name="exo",
  37. version="0.0.1",
  38. packages=find_packages(),
  39. install_requires=install_requires,
  40. )