Commit e9be4207 authored by Ran Xiao's avatar Ran Xiao
Browse files

python310Packages.fastai: init at 2.7.10

parent cdd01b98
Loading
Loading
Loading
Loading
+53 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, fastprogress
, fastcore
, fastdownload
, torch
, torchvision
, matplotlib
, pillow
, scikit-learn
, scipy
, spacy
, pandas
, requests
, pythonOlder
}:

buildPythonPackage rec {
  pname = "fastai";
  version = "2.7.10";
  format = "setuptools";
  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-zO9qGFrjpjfvybzZ/qjki3X0VNDrrTtt9CbyL64gA50=";
  };

  propagatedBuildInputs = [
    fastprogress
    fastcore
    fastdownload
    torchvision
    matplotlib
    pillow
    scikit-learn
    scipy
    spacy
    pandas
    requests
  ];

  doCheck = false;
  pythonImportsCheck = [ "fastai" ];

  meta = with lib; {
    homepage = "https://github.com/fastai/fastai";
    description = "The fastai deep learning library";
    license = licenses.asl20;
    maintainers = with maintainers; [ rxiao ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -3255,6 +3255,8 @@ self: super: with self; {

  faraday-plugins = callPackage ../development/python-modules/faraday-plugins { };

  fastai = callPackage ../development/python-modules/fastai { };

  fastapi = callPackage ../development/python-modules/fastapi { };

  fastapi-mail = callPackage ../development/python-modules/fastapi-mail { };