Skip to content

Commit

Permalink
Gen 5: add pip, setuptools, and wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
nevillelyh committed Oct 15, 2024
1 parent ba11753 commit 48ec328
Show file tree
Hide file tree
Showing 106 changed files with 18,280 additions and 22 deletions.
43 changes: 43 additions & 0 deletions src/monogen.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,49 @@ class MonoGen:
'opencv-python==4.10.0.84',
],
),
MonoGen(
id=5,
cuda={
'11.8': '11.8.0_520.61.05',
'12.1': '12.1.1_530.30.02',
'12.4': '12.4.1_550.54.15',
},
cudnn={
'8': '8.9.7.29',
'9': '9.1.0.70',
},
python={
'3.8': '3.8.20',
'3.9': '3.9.20',
'3.10': '3.10.15',
'3.11': '3.11.10',
'3.12': '3.12.7',
},
torch=[
'2.0.0',
'2.0.1',
'2.1.0',
'2.1.1',
'2.1.2',
'2.2.0',
'2.2.1',
'2.2.2',
'2.3.0',
'2.3.1',
'2.4.0',
'2.4.1',
# Nightly
'2.6.0.dev20240918',
],
pip_pkgs=[
'cog @ https://github.com/replicate/cog/archive/2f883e462e0e0606e38a1d05ef5d02bfe43fa19e.zip',
'opencv-python==4.10.0.84',
# seed packages
'pip==24.2',
'setuptools==75.1.0',
'wheel==0.44.0',
],
),
]

MONOGENS: dict[str, list[MonoGen]] = {
Expand Down
153 changes: 153 additions & 0 deletions src/requirements/g00005/python3.10-torch2.0.0-cu118.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
# This file was autogenerated by uv via the following command:
# uv pip compile --python-platform x86_64-unknown-linux-gnu --emit-index-url --emit-find-links --emit-build-options --emit-index-annotation --extra-index-url https://pypi.org/simple --index-url https://download.pytorch.org/whl/cu118 --index-strategy unsafe-best-match -
--index-url https://download.pytorch.org/whl/cu118
--extra-index-url https://pypi.org/simple

annotated-types==0.7.0
# via pydantic
# from https://pypi.org/simple
anyio==4.6.2.post1
# via
# starlette
# watchfiles
# from https://pypi.org/simple
attrs==23.2.0
# via cog
# from https://pypi.org/simple
certifi==2024.8.30
# via requests
# from https://pypi.org/simple
charset-normalizer==3.4.0
# via requests
# from https://pypi.org/simple
click==8.1.7
# via uvicorn
# from https://pypi.org/simple
cmake==3.30.4
# via triton
# from https://pypi.org/simple
cog @ https://github.com/replicate/cog/archive/2f883e462e0e0606e38a1d05ef5d02bfe43fa19e.zip
exceptiongroup==1.2.2
# via anyio
# from https://pypi.org/simple
fastapi==0.110.3
# via cog
# from https://pypi.org/simple
filelock==3.16.1
# via
# torch
# triton
# from https://pypi.org/simple
h11==0.14.0
# via uvicorn
# from https://pypi.org/simple
httptools==0.6.2
# via uvicorn
# from https://pypi.org/simple
idna==3.10
# via
# anyio
# requests
# from https://pypi.org/simple
jinja2==3.1.4
# via torch
# from https://pypi.org/simple
lit==18.1.8
# via triton
# from https://pypi.org/simple
markupsafe==3.0.1
# via jinja2
# from https://pypi.org/simple
mpmath==1.3.0
# via sympy
# from https://pypi.org/simple
networkx==3.4.1
# via torch
# from https://pypi.org/simple
numpy==2.1.2
# via
# opencv-python
# torchvision
# from https://pypi.org/simple
opencv-python==4.10.0.84
# from https://pypi.org/simple
pillow==11.0.0
# via torchvision
# from https://pypi.org/simple
pip==24.2
# from https://pypi.org/simple
pydantic==2.9.2
# via
# cog
# fastapi
# from https://pypi.org/simple
pydantic-core==2.23.4
# via pydantic
# from https://pypi.org/simple
python-dotenv==1.0.1
# via uvicorn
# from https://pypi.org/simple
pyyaml==6.0.2
# via
# cog
# uvicorn
# from https://pypi.org/simple
requests==2.32.3
# via
# cog
# torchvision
# from https://pypi.org/simple
setuptools==75.1.0
# from https://pypi.org/simple
sniffio==1.3.1
# via anyio
# from https://pypi.org/simple
starlette==0.37.2
# via fastapi
# from https://pypi.org/simple
structlog==24.4.0
# via cog
# from https://pypi.org/simple
sympy==1.13.3
# via torch
# from https://pypi.org/simple
torch==2.0.0+cu118
# via
# torchaudio
# torchvision
# triton
# from https://download.pytorch.org/whl/cu118
torchaudio==2.0.0+cu118
# from https://download.pytorch.org/whl/cu118
torchvision==0.15.0+cu118
# from https://download.pytorch.org/whl/cu118
triton==2.0.0
# via torch
# from https://pypi.org/simple
typing-extensions==4.12.2
# via
# anyio
# cog
# fastapi
# pydantic
# pydantic-core
# torch
# uvicorn
# from https://pypi.org/simple
urllib3==2.2.3
# via requests
# from https://pypi.org/simple
uvicorn==0.31.1
# via cog
# from https://pypi.org/simple
uvloop==0.21.0
# via uvicorn
# from https://pypi.org/simple
watchfiles==0.24.0
# via uvicorn
# from https://pypi.org/simple
websockets==13.1
# via uvicorn
# from https://pypi.org/simple
wheel==0.44.0
# from https://pypi.org/simple
153 changes: 153 additions & 0 deletions src/requirements/g00005/python3.10-torch2.0.1-cu118.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
# This file was autogenerated by uv via the following command:
# uv pip compile --python-platform x86_64-unknown-linux-gnu --emit-index-url --emit-find-links --emit-build-options --emit-index-annotation --extra-index-url https://pypi.org/simple --index-url https://download.pytorch.org/whl/cu118 --index-strategy unsafe-best-match -
--index-url https://download.pytorch.org/whl/cu118
--extra-index-url https://pypi.org/simple

annotated-types==0.7.0
# via pydantic
# from https://pypi.org/simple
anyio==4.6.2.post1
# via
# starlette
# watchfiles
# from https://pypi.org/simple
attrs==23.2.0
# via cog
# from https://pypi.org/simple
certifi==2024.8.30
# via requests
# from https://pypi.org/simple
charset-normalizer==3.4.0
# via requests
# from https://pypi.org/simple
click==8.1.7
# via uvicorn
# from https://pypi.org/simple
cmake==3.30.4
# via triton
# from https://pypi.org/simple
cog @ https://github.com/replicate/cog/archive/2f883e462e0e0606e38a1d05ef5d02bfe43fa19e.zip
exceptiongroup==1.2.2
# via anyio
# from https://pypi.org/simple
fastapi==0.110.3
# via cog
# from https://pypi.org/simple
filelock==3.16.1
# via
# torch
# triton
# from https://pypi.org/simple
h11==0.14.0
# via uvicorn
# from https://pypi.org/simple
httptools==0.6.2
# via uvicorn
# from https://pypi.org/simple
idna==3.10
# via
# anyio
# requests
# from https://pypi.org/simple
jinja2==3.1.4
# via torch
# from https://pypi.org/simple
lit==18.1.8
# via triton
# from https://pypi.org/simple
markupsafe==3.0.1
# via jinja2
# from https://pypi.org/simple
mpmath==1.3.0
# via sympy
# from https://pypi.org/simple
networkx==3.4.1
# via torch
# from https://pypi.org/simple
numpy==2.1.2
# via
# opencv-python
# torchvision
# from https://pypi.org/simple
opencv-python==4.10.0.84
# from https://pypi.org/simple
pillow==11.0.0
# via torchvision
# from https://pypi.org/simple
pip==24.2
# from https://pypi.org/simple
pydantic==2.9.2
# via
# cog
# fastapi
# from https://pypi.org/simple
pydantic-core==2.23.4
# via pydantic
# from https://pypi.org/simple
python-dotenv==1.0.1
# via uvicorn
# from https://pypi.org/simple
pyyaml==6.0.2
# via
# cog
# uvicorn
# from https://pypi.org/simple
requests==2.32.3
# via
# cog
# torchvision
# from https://pypi.org/simple
setuptools==75.1.0
# from https://pypi.org/simple
sniffio==1.3.1
# via anyio
# from https://pypi.org/simple
starlette==0.37.2
# via fastapi
# from https://pypi.org/simple
structlog==24.4.0
# via cog
# from https://pypi.org/simple
sympy==1.13.3
# via torch
# from https://pypi.org/simple
torch==2.0.1+cu118
# via
# torchaudio
# torchvision
# triton
# from https://download.pytorch.org/whl/cu118
torchaudio==2.0.2+cu118
# from https://download.pytorch.org/whl/cu118
torchvision==0.15.2+cu118
# from https://download.pytorch.org/whl/cu118
triton==2.0.0
# via torch
# from https://pypi.org/simple
typing-extensions==4.12.2
# via
# anyio
# cog
# fastapi
# pydantic
# pydantic-core
# torch
# uvicorn
# from https://pypi.org/simple
urllib3==2.2.3
# via requests
# from https://pypi.org/simple
uvicorn==0.31.1
# via cog
# from https://pypi.org/simple
uvloop==0.21.0
# via uvicorn
# from https://pypi.org/simple
watchfiles==0.24.0
# via uvicorn
# from https://pypi.org/simple
websockets==13.1
# via uvicorn
# from https://pypi.org/simple
wheel==0.44.0
# from https://pypi.org/simple
Loading

0 comments on commit 48ec328

Please sign in to comment.