[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
160/397: gnu: python-pytorch-lightning: Update to 2.5.0.post0.
From: |
guix-commits |
Subject: |
160/397: gnu: python-pytorch-lightning: Update to 2.5.0.post0. |
Date: |
Thu, 16 Jan 2025 04:30:24 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 0c478474fc38e9b7f1d964aa11505c3ac30760dc
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Jan 4 21:24:33 2025 +0100
gnu: python-pytorch-lightning: Update to 2.5.0.post0.
* gnu/packages/machine-learning.scm (python-pytorch-lightning): Update to
2.5.0.post0.
[arguments]: Only run core tests.
[propagated-inputs]: Replace python-fastapi-for-pytorch-lightning with
python-fastapi; remove python-starsessions-for-pytorch-lightning.
Change-Id: I1bf392e19cc06194fdf662f07aeccbafc8d0ae4e
---
gnu/packages/machine-learning.scm | 69 +++++++++------------------------------
1 file changed, 15 insertions(+), 54 deletions(-)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 51779d624b..4bba4534cc 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -5295,11 +5295,11 @@ feedback.")
(license license:expat)))
(define-public python-pytorch-lightning
- (let ((commit "2064887b12dd934a5f9a2bf45897f29e3bfc74d1")
+ (let ((commit "9177ec09caadcf88859e1f1e3e10a18e8832069a")
(revision "0"))
(package
(name "python-pytorch-lightning")
- (version (git-version "2.3.3" revision commit))
+ (version (git-version "2.5.0.post0" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
@@ -5308,62 +5308,24 @@ feedback.")
(file-name (git-file-name name version))
(sha256
(base32
- "1pfmwgzh21i21i4ixank488615q7j8nkvlxd82kmmam97gsd6krg"))))
+ "0n1dqqaxga0s02l04vy9jfphx7g20m4as17jaxl5bgwzrjfh6k2f"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
- '(list "-m" "not cloud and not tpu" "tests/tests_pytorch"
- ;; we don't have onnxruntime
- "--ignore=tests/tests_pytorch/models/test_onnx.py"
-
- ;; We don't have tensorboard, so we skip all those tests that
- ;; require it for logging.
-
"--ignore=tests/tests_pytorch/checkpointing/test_model_checkpoint.py"
- "--ignore=tests/tests_pytorch/loggers/test_all.py"
- "--ignore=tests/tests_pytorch/loggers/test_logger.py"
- "--ignore=tests/tests_pytorch/loggers/test_tensorboard.py"
- "--ignore=tests/tests_pytorch/loggers/test_wandb.py"
- "--ignore=tests/tests_pytorch/models/test_cpu.py"
- "--ignore=tests/tests_pytorch/models/test_hparams.py"
- "--ignore=tests/tests_pytorch/models/test_restore.py"
- "--ignore=tests/tests_pytorch/profilers/test_profiler.py"
- "--ignore=tests/tests_pytorch/test_cli.py"
-
"--ignore=tests/tests_pytorch/trainer/flags/test_fast_dev_run.py"
-
"--ignore=tests/tests_pytorch/trainer/logging_/test_eval_loop_logging.py"
-
"--ignore=tests/tests_pytorch/trainer/logging_/test_train_loop_logging.py"
-
"--ignore=tests/tests_pytorch/trainer/properties/test_loggers.py"
-
"--ignore=tests/tests_pytorch/trainer/properties/test_log_dir.py"
- "--ignore=tests/tests_pytorch/trainer/test_trainer.py"
-
- ;; This needs internet access
- "--ignore=tests/tests_pytorch/helpers/test_models.py"
- "--ignore=tests/tests_pytorch/helpers/test_datasets.py"
- "--ignore=tests/tests_pytorch/helpers/datasets.py"
-
- ;; We have no legacy checkpoints
-
"--ignore=tests/tests_pytorch/checkpointing/test_legacy_checkpoints.py"
-
- ;; TypeError: _FlakyPlugin._make_test_flaky() got an unexpected
- ;; keyword argument 'reruns'
- "--ignore=tests/tests_pytorch/models/test_amp.py"
- "--ignore=tests/tests_pytorch/utilities/test_all_gather_grad.py"
-
- ;; Requires CUDA
-
"--ignore=tests/tests_pytorch/plugins/precision/test_bitsandbytes.py"
-
+ ;; The tests train a model. They are much too expensive for our
+ ;; purposes, so we only run the core tests.
+ '(list "-m" "not cloud and not tpu"
+ "tests/tests_pytorch/core"
"-k"
(string-append
- ;; We don't have tensorboard
- "not test_property_logger"
- " and not test_cli_logger_shorthand"
- ;; Wrong module appears in sys.modules
- " and not test_patch_legacy_imports_unified"
- ;; Missing log message
- " and not test_should_stop_early_stopping_conditions_met"
- " and not test_fit_loop_done_log_messages"
- ;; Something wrong with Flaky
- " and not test_servable_module_validator_with_trainer"))
+ ;; Some multiprocessing complaint.
+ "not test_result_reduce_ddp"
+ ;; FutureWarning is raised.
+ " and not test_result_collection_restoration"
+ ;; These need tensorboard
+ " and not test_property_logger"
+ " and not test_property_loggers"))
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'patch-version-detection
@@ -5394,7 +5356,7 @@ feedback.")
python-croniter
python-dateutils
python-deepdiff
- python-fastapi-for-pytorch-lightning
+ python-fastapi
python-fsspec
python-inquirer
python-jsonargparse
@@ -5404,7 +5366,6 @@ feedback.")
python-packaging
python-pytorch
python-pyyaml
- python-starsessions-for-pytorch-lightning
python-torchmetrics
python-torchvision
python-tqdm
- 382/397: gnu: Add python-s3fs., (continued)
- 382/397: gnu: Add python-s3fs., guix-commits, 2025/01/16
- 353/397: gnu: python-sentry-sdk: Update to 1.5.5., guix-commits, 2025/01/16
- 375/397: gnu: python-hacking: Update to 7.0.0., guix-commits, 2025/01/16
- 388/397: gnu: python-daemux: Fix build., guix-commits, 2025/01/16
- 377/397: gnu: python-twisted: Add comment., guix-commits, 2025/01/16
- 392/397: gnu: python-alembic: Use python-sqlalchemy-2., guix-commits, 2025/01/16
- 357/397: gnu: Add python-iron-core., guix-commits, 2025/01/16
- 350/397: gnu: python-astroscrappy: Add missing input., guix-commits, 2025/01/16
- 156/397: gnu: Add python-fastapi-cli., guix-commits, 2025/01/16
- 159/397: gnu: python-path-bootstrap: Update to 17.1.0., guix-commits, 2025/01/16
- 160/397: gnu: python-pytorch-lightning: Update to 2.5.0.post0.,
guix-commits <=
- 163/397: gnu: Remove python-fastapi-for-pytorch-lightning., guix-commits, 2025/01/16
- 162/397: gnu: Rename python-starsessions-for-pytorch-lightning., guix-commits, 2025/01/16
- 165/397: gnu: python-starsessions: Disable one more test., guix-commits, 2025/01/16
- 166/397: gnu: python-fastapi: Relax requirements., guix-commits, 2025/01/16
- 167/397: gnu: Remove python-starlette-for-fastapi-0.88., guix-commits, 2025/01/16
- 169/397: gnu: python-wrapt: Update to 1.17.0., guix-commits, 2025/01/16
- 171/397: gnu: python-anndata: Update to 0.11.1., guix-commits, 2025/01/16
- 184/397: gnu: python-locust: Disable some more tests., guix-commits, 2025/01/16
- 176/397: gnu: python-legacy-api-wrap: Update to 1.4.1., guix-commits, 2025/01/16
- 185/397: gnu: python-mudata: Update to 0.3.1., guix-commits, 2025/01/16