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

EAPI=8

REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="0.0.1.dev2"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python{3_11,3_12,3_13,3_14} )
DISTUTILS_USE_PEP517=wheel

inherit python-r1 gs-pypi

DESCRIPTION="PyTorch code and models for the DINOv2 self-supervised learning method. [wheel]"

HOMEPAGE="https://github.com/Jack-Moo/DinoV2"
LICENSE="CC-BY-NC"
SRC_URI="https://files.pythonhosted.org/packages/py3/${REALNAME::1}/${REALNAME}/${REALNAME}-${REALVERSION}-py3-none-any.whl"
SOURCEFILE="${REALNAME}-${REALVERSION}-py3-none-any.whl"
RESTRICT="test"

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

IUSE="dev"
DEPENDENCIES="dev-python/torch[${PYTHON_USEDEP}]
	dev-python/torchvision[${PYTHON_USEDEP}]
	dev-python/omegaconf[${PYTHON_USEDEP}]
	dev-python/torchmetrics[${PYTHON_USEDEP}]
	dev-python/fvcore[${PYTHON_USEDEP}]
	dev-python/iopath[${PYTHON_USEDEP}]
	dev-python/xformers[${PYTHON_USEDEP}]
	dev-python/submitit[${PYTHON_USEDEP}]
	dev-python/cuml-cu11[${PYTHON_USEDEP}]
	dev? ( ~dev-python/black-22.6.0[${PYTHON_USEDEP}] )
	dev? ( ~dev-python/flake8-5.0.4[${PYTHON_USEDEP}] )
	dev? ( ~dev-python/pylint-2.15.0[${PYTHON_USEDEP}] )
	virtual/allow-pypi-wheels"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"