# automatically generated by g-sorcery
# please do not edit this file

EAPI=8

REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="${PV}"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python{3_11,3_12,3_13,3_14} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="DALL-E 2"

HOMEPAGE="https://github.com/lucidrains/dalle2-pytorch"
LICENSE="MIT"
SRC_URI="https://files.pythonhosted.org/packages/source/${REALNAME::1}/${REALNAME}/${REALNAME}-${REALVERSION}.tar.gz"
SOURCEFILE="${REALNAME}-${REALVERSION}.tar.gz"
RESTRICT="test"

SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE=""
DEPENDENCIES="dev-python/accelerate[${PYTHON_USEDEP}]
	dev-python/click[${PYTHON_USEDEP}]
	dev-python/open-clip-torch[${PYTHON_USEDEP}]
	dev-python/clip-anytorch[${PYTHON_USEDEP}]
	dev-python/CoCa-pytorch[${PYTHON_USEDEP}]
	dev-python/ema-pytorch[${PYTHON_USEDEP}]
	dev-python/einops[${PYTHON_USEDEP}]
	dev-python/embedding-reader[${PYTHON_USEDEP}]
	dev-python/kornia[${PYTHON_USEDEP}]
	dev-python/numpy[${PYTHON_USEDEP}]
	dev-python/packaging[${PYTHON_USEDEP}]
	dev-python/pillow[${PYTHON_USEDEP}]
	>=dev-python/pydantic-2.0[${PYTHON_USEDEP}]
	dev-python/pytorch-warmup[${PYTHON_USEDEP}]
	dev-python/resize-right[${PYTHON_USEDEP}]
	dev-python/rotary-embedding-torch[${PYTHON_USEDEP}]
	dev-python/torch[${PYTHON_USEDEP}]
	dev-python/torchvision[${PYTHON_USEDEP}]
	dev-python/tqdm[${PYTHON_USEDEP}]
	dev-python/vector-quantize-pytorch[${PYTHON_USEDEP}]
	dev-python/x-clip[${PYTHON_USEDEP}]
	dev-python/webdataset[${PYTHON_USEDEP}]
	>=dev-python/fsspec-2022.1.0[${PYTHON_USEDEP}]
	dev-python/torchmetrics[${PYTHON_USEDEP}]"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"