gnu: python-pytorch: Update to 1.12.0.
* gnu/packages/machine-learning.scm (python-pytorch): Update to 1.12.0. [arguments]: Explicitly request the use of our pybind11 package.
This commit is contained in:
		
							parent
							
								
									87b43ab562
								
							
						
					
					
						commit
						deae5d0df1
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		| 
						 | 
					@ -2870,7 +2870,7 @@ TensorFlow.js, PyTorch, and MediaPipe.")
 | 
				
			||||||
(define-public python-pytorch
 | 
					(define-public python-pytorch
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "python-pytorch")
 | 
					    (name "python-pytorch")
 | 
				
			||||||
    (version "1.11.0")
 | 
					    (version "1.12.0")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method git-fetch)
 | 
					              (method git-fetch)
 | 
				
			||||||
              (uri (git-reference
 | 
					              (uri (git-reference
 | 
				
			||||||
| 
						 | 
					@ -2880,7 +2880,7 @@ TensorFlow.js, PyTorch, and MediaPipe.")
 | 
				
			||||||
              (file-name (git-file-name name version))
 | 
					              (file-name (git-file-name name version))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "1zbk7y74r0ycsfa7x59jnhwhs1gj5rs3n89p15y0212iszgbljq8"))
 | 
					                "0pdqi91qzgyx947zv4pw2fdj9vpqvdhfzw1ydjd4mpqm8g5njgnz"))
 | 
				
			||||||
              (patches (search-patches "python-pytorch-system-libraries.patch"
 | 
					              (patches (search-patches "python-pytorch-system-libraries.patch"
 | 
				
			||||||
                                       "python-pytorch-runpath.patch"))
 | 
					                                       "python-pytorch-runpath.patch"))
 | 
				
			||||||
              (modules '((guix build utils)))
 | 
					              (modules '((guix build utils)))
 | 
				
			||||||
| 
						 | 
					@ -2911,6 +2911,10 @@ TensorFlow.js, PyTorch, and MediaPipe.")
 | 
				
			||||||
                      ;; ones.
 | 
					                      ;; ones.
 | 
				
			||||||
                      (setenv "USE_SYSTEM_LIBS" "1")
 | 
					                      (setenv "USE_SYSTEM_LIBS" "1")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                      (substitute* "cmake/Dependencies.cmake"
 | 
				
			||||||
 | 
					                        (("if\\(USE_SYSTEM_BIND11\\)")
 | 
				
			||||||
 | 
					                         "if(TRUE)"))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                      ;; XXX: Disable that for simplicity for now.
 | 
					                      ;; XXX: Disable that for simplicity for now.
 | 
				
			||||||
                      (setenv "USE_FBGEMM" "0")))
 | 
					                      (setenv "USE_FBGEMM" "0")))
 | 
				
			||||||
                  (add-before 'build 'make-things-writable
 | 
					                  (add-before 'build 'make-things-writable
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue