mirror of https://github.com/skygpu/skynet.git
Switch to using poetry package manager
parent
82458bb4c8
commit
454545d096
|
@ -0,0 +1,2 @@
|
||||||
|
[virtualenvs]
|
||||||
|
in-project = true
|
|
@ -0,0 +1,59 @@
|
||||||
|
[tool.poetry]
|
||||||
|
name = 'skynet'
|
||||||
|
version = '0.1a11'
|
||||||
|
description = 'Decentralized compute platform'
|
||||||
|
authors = ['Guillermo Rodriguez <guillermo@telos.net>']
|
||||||
|
license = 'AGPL'
|
||||||
|
readme = 'README.md'
|
||||||
|
|
||||||
|
[tool.poetry.dependencies]
|
||||||
|
python = '>=3.10,<3.12'
|
||||||
|
pytz = '^2023.3.post1'
|
||||||
|
trio = '^0.22.2'
|
||||||
|
asks = '^3.0.0'
|
||||||
|
numpy = '^1.26.0'
|
||||||
|
Pillow = '^10.0.1'
|
||||||
|
docker = '^6.1.3'
|
||||||
|
py-leap = {git = 'https://github.com/guilledk/py-leap.git', rev = 'v0.1a14'}
|
||||||
|
|
||||||
|
[tool.poetry.group.frontend]
|
||||||
|
optional = true
|
||||||
|
|
||||||
|
[tool.poetry.group.frontend.dependencies]
|
||||||
|
triopg = {version = '^0.6.0'}
|
||||||
|
aiohttp = {version = '^3.8.5'}
|
||||||
|
psycopg2-binary = {version = '^2.9.7'}
|
||||||
|
pyTelegramBotAPI = {version = '^4.14.0'}
|
||||||
|
'discord.py' = {version = '^2.3.2'}
|
||||||
|
|
||||||
|
[tool.poetry.group.dev]
|
||||||
|
optional = true
|
||||||
|
|
||||||
|
[tool.poetry.group.dev.dependencies]
|
||||||
|
pdbpp = {version = '^0.10.3'}
|
||||||
|
pytest = {version = '^7.4.2'}
|
||||||
|
|
||||||
|
[tool.poetry.group.cuda]
|
||||||
|
optional = true
|
||||||
|
|
||||||
|
[tool.poetry.group.cuda.dependencies]
|
||||||
|
torch = {version = '1.13.0+cu117', source = 'torch'}
|
||||||
|
scipy = {version = '^1.11.2'}
|
||||||
|
triton = {version = '^2.1.0'}
|
||||||
|
basicsr = {version = '^1.4.2'}
|
||||||
|
diffusers = {version = '^0.21.2'}
|
||||||
|
realesrgan = {version = '^0.3.0'}
|
||||||
|
accelerate = {version = '^0.23.0'}
|
||||||
|
transformers = {version = '^4.33.2'}
|
||||||
|
huggingface-hub = {version = '^0.17.3'}
|
||||||
|
invisible-watermark = {version = '^0.2.0'}
|
||||||
|
# xformers = {git = 'https://github.com/facebookresearch/xformers.git', rev = 'v0.0.21'}
|
||||||
|
|
||||||
|
[[tool.poetry.source]]
|
||||||
|
name = 'torch'
|
||||||
|
url = 'https://download.pytorch.org/whl/cu117'
|
||||||
|
priority = 'explicit'
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ['poetry-core']
|
||||||
|
build-backend = 'poetry.core.masonry.api'
|
|
@ -1,9 +0,0 @@
|
||||||
scipy
|
|
||||||
triton
|
|
||||||
accelerate
|
|
||||||
transformers
|
|
||||||
huggingface_hub
|
|
||||||
diffusers[torch]>=0.18.0
|
|
||||||
invisible-watermark
|
|
||||||
torch==1.13.0+cu117
|
|
||||||
--extra-index-url https://download.pytorch.org/whl/cu117
|
|
|
@ -1 +0,0 @@
|
||||||
git+https://github.com/facebookresearch/xformers.git@main#egg=xformers
|
|
|
@ -1,2 +0,0 @@
|
||||||
basicsr
|
|
||||||
realesrgan
|
|
|
@ -1,15 +0,0 @@
|
||||||
pytz
|
|
||||||
trio
|
|
||||||
asks
|
|
||||||
numpy
|
|
||||||
pdbpp
|
|
||||||
Pillow
|
|
||||||
triopg
|
|
||||||
pytest
|
|
||||||
docker
|
|
||||||
aiohttp
|
|
||||||
psycopg2-binary
|
|
||||||
pyTelegramBotAPI
|
|
||||||
discord.py
|
|
||||||
|
|
||||||
py-leap@git+https://github.com/guilledk/py-leap.git@v0.1a14
|
|
21
setup.py
21
setup.py
|
@ -1,21 +0,0 @@
|
||||||
from setuptools import setup, find_packages
|
|
||||||
|
|
||||||
from skynet.constants import VERSION
|
|
||||||
|
|
||||||
setup(
|
|
||||||
name='skynet',
|
|
||||||
version=VERSION,
|
|
||||||
description='Decentralized compute platform',
|
|
||||||
author='Guillermo Rodriguez',
|
|
||||||
author_email='guillermo@telos.net',
|
|
||||||
packages=find_packages(),
|
|
||||||
entry_points={
|
|
||||||
'console_scripts': [
|
|
||||||
'skynet = skynet.cli:skynet',
|
|
||||||
'txt2img = skynet.cli:txt2img',
|
|
||||||
'img2img = skynet.cli:img2img',
|
|
||||||
'upscale = skynet.cli:upscale'
|
|
||||||
]
|
|
||||||
},
|
|
||||||
install_requires=['click']
|
|
||||||
)
|
|
Loading…
Reference in New Issue