blob: 87a16ca58bf567786403e1f50f0b6fe16962c81e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flax,
jax,
jaxlib,
transformers,
}:
buildPythonPackage rec {
pname = "vqgan-jax";
version = "unstable-2022-04-20";
src = fetchFromGitHub {
owner = "patil-suraj";
repo = "vqgan-jax";
rev = "1be20eee476e5d35c30e4ec3ed12222018af8ce4";
hash = "sha256-OZihAXpE0UsgauQ38XDmAF+lrIgz05uK0ro8SCdVsPc=";
};
format = "setuptools";
buildInputs = [ jaxlib ];
propagatedBuildInputs = [
flax
jax
transformers
];
doCheck = false;
pythonImportsCheck = [ "vqgan_jax" ];
meta = with lib; {
description = "JAX implementation of VQGAN";
homepage = "https://github.com/patil-suraj/vqgan-jax";
# license unknown: https://github.com/patil-suraj/vqgan-jax/issues/9
license = lib.licenses.unfree;
maintainers = with maintainers; [ r-burns ];
};
}
|