GNU bug report logs -
#78536
[PATCH] gnu: Add python-torchdiffeq.
Previous Next
To reply to this bug, email your comments to 78536 AT debbugs.gnu.org.
There is no need to reopen the bug first.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#78536
; Package
guix-patches
.
(Wed, 21 May 2025 14:02:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Navid Afkhami <navid.afkhami <at> mdc-berlin.de>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 21 May 2025 14:02:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/bioinformatics.scm (python-torchdiffeq): New variable.
Change-Id: Ic2ab73250b60f1733d2721ebd6d3abae719c5a1f
---
gnu/packages/bioinformatics.scm | 35 +++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 72fa9d946f..18f929dff7 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4056,6 +4056,41 @@ (define-public python-telomerecat
telomerecat can produce an estimate in ~1 hour.")
(license license:gpl3)))
+(define-public python-torchdiffeq
+ ;; There are neither releases, nor tags.
+ (let ((commit "a88aac53cae738addee44251288ce5be9a018af3")
+ (revision "0"))
+ (package
+ (name "python-torchdiffeq")
+ (version (git-version "0.2.5" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rtqichen/torchdiffeq")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0c2zqbdxqvd5abfpk0im6rcy1ij39xvrmixc6l9znb6bhcxk2jra"))))
+ (build-system pyproject-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; Run all test files in 'tests/' but skip test_seminorm
+ (apply invoke "pytest" "-k" "not test_seminorm"
+ (find-files "tests" "\\.py$"))))))))
+ (propagated-inputs (list python-numpy python-scipy python-pytorch))
+ (native-inputs (list python-pytest python-setuptools))
+ (home-page "https://github.com/rtqichen/torchdiffeq")
+ (synopsis "ODE solvers and adjoint sensitivity analysis in PyTorch")
+ (description
+ "This tool provides ordinary differential equation solvers implemented in PyTorch.
+Backpropagation through ODE solutions is supported using the adjoint method for constant
+memory cost.")
+ (license license:expat))))
+
(define-public python-bioframe
(package
(name "python-bioframe")
base-commit: 450a361532573a02389530a6a80b7821683ed41b
--
2.39.5
Reply sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
You have taken responsibility.
(Wed, 21 May 2025 15:20:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Navid Afkhami <navid.afkhami <at> mdc-berlin.de>
:
bug acknowledged by developer.
(Wed, 21 May 2025 15:20:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 78536-done <at> debbugs.gnu.org (full text, mbox):
Applied and pushed with commit
d3d157bc61c4a6a3fac11e33d26f6f2a72a24151.
I've moved the package to machine-learning and used #:test-flags
to
avoid having to replace the 'check phase.
--
Ricardo
This bug report was last modified 2 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.