GNU bug report logs - #64289
[PATCH] gnu: Add python-deepxde.

Previous Next

Package: guix-patches;

Reported by: Vinicius Monego <monego <at> posteo.net>

Date: Sun, 25 Jun 2023 22:30:03 UTC

Severity: normal

Tags: patch

Done: Vinicius Monego <monego <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Vinicius Monego <monego <at> posteo.net>
Subject: bug#64289: closed (Re: bug#64289: [PATCH] gnu: Add python-deepxde.)
Date: Sat, 29 Jul 2023 18:43:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#64289: [PATCH] gnu: Add python-deepxde.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 64289 <at> debbugs.gnu.org.

-- 
64289: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64289
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Vinicius Monego <monego <at> posteo.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 64289-done <at> debbugs.gnu.org
Subject: Re: bug#64289: [PATCH] gnu: Add python-deepxde.
Date: Sat, 29 Jul 2023 18:42:09 +0000
Em ter, 2023-07-18 às 13:42 +0200, Ludovic Courtès escreveu:

> 
> > * gnu/packages/machine-learning.scm (python-deepxde): New variable.
> 
> [...]
> 
> Since source file headers don’t say anything, that’s ‘lgpl2.1+’.
> 
> Otherwise LGTM, thanks!

Applied with this change, thanks.

[Message part 3 (message/rfc822, inline)]
From: Vinicius Monego <monego <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH] gnu: Add python-deepxde.
Date: Sun, 25 Jun 2023 22:29:16 +0000
* gnu/packages/machine-learning.scm (python-deepxde): New variable.
---
 gnu/packages/machine-learning.scm | 33 +++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 8fbb0274d4..ddb773b8ce 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1936,6 +1936,39 @@ (define-public python-hyperopt
 discrete, and conditional dimensions.")
     (license license:bsd-3)))
 
+(define-public python-deepxde
+  (package
+    (name "python-deepxde")
+    (version "1.9.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "DeepXDE" version))
+              (sha256
+               (base32
+                "0gibr0nz8xfhxwi2rgfypm653fy912n49161vqaqgpxlm2pb3bhb"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:tests? #f                  ; there are no tests
+           #:phases #~(modify-phases %standard-phases
+                        (add-before 'sanity-check 'writable-home
+                          ;; sanity-check writes ~/.deepxde/config.json to set
+                          ;; the default backend.
+                          (lambda _
+                            (setenv "HOME" "/tmp"))))))
+    ;; DeepXDE supported backends are TensorFlow (v1 and v2), PyTorch, JAX and
+    ;; PaddlePaddle.  We test with PyTorch because we have it up to date.
+    (native-inputs (list python-pytorch python-setuptools-scm))
+    (propagated-inputs (list python-matplotlib python-numpy
+                             python-scikit-learn python-scikit-optimize
+                             python-scipy))
+    (home-page "https://deepxde.readthedocs.io/en/latest/")
+    (synopsis "Library for scientific machine learning")
+    (description "DeepXDE is a library for scientific machine learning and
+physics-informed learning.  It includes implementations for the PINN
+(physics-informed neural networks), DeepONet (deep operator network) and
+MFNN (multifidelity neural network) algorithms.")
+    (license license:lgpl2.1)))
+
 ;; There have been no proper releases yet.
 (define-public kaldi
   (let ((commit "be22248e3a166d9ec52c78dac945f471e7c3a8aa")

base-commit: 41e8726c8924e9f5b79a9f44fad94ab5586bfc50
-- 
2.34.1




This bug report was last modified 1 year and 301 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.