2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2024-01-25 14:12:00 +00:00
|
|
|
, datasets
|
2023-05-24 13:37:59 +00:00
|
|
|
, dvc
|
2024-01-25 14:12:00 +00:00
|
|
|
, dvc-render
|
2023-05-24 13:37:59 +00:00
|
|
|
, dvc-studio-client
|
2024-01-25 14:12:00 +00:00
|
|
|
, fastai
|
2022-06-16 17:23:12 +00:00
|
|
|
, fetchFromGitHub
|
2023-05-24 13:37:59 +00:00
|
|
|
, funcy
|
2024-01-25 14:12:00 +00:00
|
|
|
, gto
|
|
|
|
, jsonargparse
|
|
|
|
, lightgbm
|
|
|
|
, lightning
|
|
|
|
, matplotlib
|
|
|
|
, mmcv
|
|
|
|
, numpy
|
|
|
|
, optuna
|
|
|
|
, pandas
|
|
|
|
, pillow
|
2024-04-21 15:54:59 +00:00
|
|
|
, psutil
|
|
|
|
, pynvml
|
2022-06-16 17:23:12 +00:00
|
|
|
, pythonOlder
|
2023-02-02 18:25:31 +00:00
|
|
|
, ruamel-yaml
|
2024-01-25 14:12:00 +00:00
|
|
|
, scikit-learn
|
2023-05-24 13:37:59 +00:00
|
|
|
, scmrepo
|
|
|
|
, setuptools-scm
|
2024-01-25 14:12:00 +00:00
|
|
|
, tensorflow
|
|
|
|
, torch
|
|
|
|
, transformers
|
|
|
|
, xgboost
|
2022-06-16 17:23:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dvclive";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "3.45.0";
|
2024-01-25 14:12:00 +00:00
|
|
|
pyproject = true;
|
2022-06-16 17:23:12 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
disabled = pythonOlder "3.9";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "iterative";
|
2024-04-21 15:54:59 +00:00
|
|
|
repo = "dvclive";
|
2022-06-16 17:23:12 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-76PjBPr3m1y5osW024dkhuvuXl2FiZ5oxlJ1Ucq8msI=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
build-system = [
|
2023-05-24 13:37:59 +00:00
|
|
|
setuptools-scm
|
2022-09-30 11:47:45 +00:00
|
|
|
];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
dependencies = [
|
2023-05-24 13:37:59 +00:00
|
|
|
dvc
|
2024-01-25 14:12:00 +00:00
|
|
|
dvc-render
|
2023-05-24 13:37:59 +00:00
|
|
|
dvc-studio-client
|
|
|
|
funcy
|
2024-01-25 14:12:00 +00:00
|
|
|
gto
|
2023-02-02 18:25:31 +00:00
|
|
|
ruamel-yaml
|
2023-05-24 13:37:59 +00:00
|
|
|
scmrepo
|
2024-04-21 15:54:59 +00:00
|
|
|
psutil
|
|
|
|
pynvml
|
2023-05-24 13:37:59 +00:00
|
|
|
];
|
2022-06-16 17:23:12 +00:00
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
passthru.optional-dependencies = {
|
|
|
|
all = [
|
|
|
|
jsonargparse
|
|
|
|
lightgbm
|
|
|
|
lightning
|
|
|
|
matplotlib
|
|
|
|
mmcv
|
|
|
|
numpy
|
|
|
|
optuna
|
|
|
|
pandas
|
|
|
|
pillow
|
|
|
|
scikit-learn
|
|
|
|
tensorflow
|
|
|
|
torch
|
|
|
|
transformers
|
|
|
|
xgboost
|
|
|
|
] ++ jsonargparse.optional-dependencies.signatures;
|
|
|
|
image = [
|
|
|
|
numpy
|
|
|
|
pillow
|
|
|
|
];
|
|
|
|
sklearn = [
|
|
|
|
scikit-learn
|
|
|
|
];
|
|
|
|
plots = [
|
|
|
|
pandas
|
|
|
|
scikit-learn
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
markdown = [
|
|
|
|
matplotlib
|
|
|
|
];
|
|
|
|
mmcv = [
|
|
|
|
mmcv
|
|
|
|
];
|
|
|
|
tf = [
|
|
|
|
tensorflow
|
|
|
|
];
|
|
|
|
xgb = [
|
|
|
|
xgboost
|
|
|
|
];
|
|
|
|
lgbm = [
|
|
|
|
lightgbm
|
|
|
|
];
|
|
|
|
huggingface = [
|
|
|
|
datasets
|
|
|
|
transformers
|
|
|
|
];
|
|
|
|
# catalyst = [
|
|
|
|
# catalyst
|
|
|
|
# ];
|
|
|
|
fastai = [
|
|
|
|
fastai
|
|
|
|
];
|
|
|
|
lightning = [
|
|
|
|
lightning
|
|
|
|
torch
|
|
|
|
jsonargparse
|
|
|
|
] ++ jsonargparse.optional-dependencies.signatures;
|
|
|
|
optuna = [
|
|
|
|
optuna
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
# Circular dependency with dvc
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"dvclive"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Library for logging machine learning metrics and other metadata in simple file formats";
|
|
|
|
homepage = "https://github.com/iterative/dvclive";
|
2023-02-02 18:25:31 +00:00
|
|
|
changelog = "https://github.com/iterative/dvclive/releases/tag/${version}";
|
2022-06-16 17:23:12 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|