10 buildPythonPackage rec {
13 format = "setuptools";
15 src = fetchFromGitHub {
18 rev = "refs/tags/v${version}";
19 hash = "sha256-+PefZU1209vvf1SfF8DXiTvKYEnZ4y8iiIr8yKikx9Y=";
22 # Wheel requires only `numpy`, but the import needs `jax`.
23 propagatedBuildInputs = [ jax ];
25 pythonImportsCheck = [ "jmp" ];
33 description = "This library implements support for mixed precision training in JAX";
34 homepage = "https://github.com/deepmind/jmp";
35 license = licenses.asl20;
36 maintainers = with maintainers; [ ndl ];