Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 73 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374{ lib, buildPythonPackage, fetchPypi, graphviz, jupyter, matplotlib, networkx, opt-einsum, pandas, pillow, pyro-api, pythonOlder, torch, scikit-learn, seaborn, torchvision, tqdm, wget}:
buildPythonPackage rec { pname = "pyro-ppl"; version = "1.8.4"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit version pname; hash = "sha256-dm+tYeUt9IiF3pbUEhPaH46MG3ns8witUxifzRXBy0E="; };
propagatedBuildInputs = [ pyro-api torch networkx opt-einsum tqdm ];
passthru.optional-dependencies = { extras = [ graphviz jupyter # lap matplotlib pandas pillow scikit-learn seaborn torchvision # visdom wget ]; };
# pyro not shipping tests do simple smoke test instead doCheck = false;
pythonImportsCheck = [ "pyro" "pyro.distributions" "pyro.infer" "pyro.optim" ];
meta = with lib; { description = "Library for probabilistic modeling and inference"; homepage = "http://pyro.ai"; license = licenses.asl20; maintainers = with maintainers; [ teh georgewhewell ]; };}