From 9da8ca1ba685292d552ccd656a1fc0e87847b55c Mon Sep 17 00:00:00 2001 From: mirage335 Date: Fri, 19 Apr 2024 09:31:55 -0400 Subject: [PATCH] Draft - python torch. Upstream. --- _lib/ubiquitous_bash | 2 +- _prog/core.sh | 13 +++++++++++++ ubiquitous_bash.sh | 15 ++++++++++++++- 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/_lib/ubiquitous_bash b/_lib/ubiquitous_bash index d00383f..b129810 160000 --- a/_lib/ubiquitous_bash +++ b/_lib/ubiquitous_bash @@ -1 +1 @@ -Subproject commit d00383fd8bc6f0b88eff5db3332ce20fc2f5608b +Subproject commit b129810c7742eb7522f81d645f13ab69697d0499 diff --git a/_prog/core.sh b/_prog/core.sh index ab55093..5f4936d 100644 --- a/_prog/core.sh +++ b/_prog/core.sh @@ -1083,6 +1083,19 @@ _create_ubDistBuild-rotten_install-core() { _getMost_backend_aptGetInstall kruler + + + + _getMost_backend_aptGetInstall git-lfs + + _getMost_backend_aptGetInstall libtorch-dev + _getMost_backend_aptGetInstall libtorch-test + + _getMost_backend_aptGetInstall python3-torch + _getMost_backend_aptGetInstall python3-torchaudio + _getMost_backend_aptGetInstall python3-torchtext + _getMost_backend_aptGetInstall python3-torchvision + diff --git a/ubiquitous_bash.sh b/ubiquitous_bash.sh index 1284819..66c38a3 100755 --- a/ubiquitous_bash.sh +++ b/ubiquitous_bash.sh @@ -36,7 +36,7 @@ _ub_cksum_special_derivativeScripts_contents() { #export ub_setScriptChecksum_disable='true' ( [[ -e "$0".nck ]] || [[ "${BASH_SOURCE[0]}" != "${0}" ]] || [[ "$1" == '--profile' ]] || [[ "$1" == '--script' ]] || [[ "$1" == '--call' ]] || [[ "$1" == '--return' ]] || [[ "$1" == '--devenv' ]] || [[ "$1" == '--shell' ]] || [[ "$1" == '--bypass' ]] || [[ "$1" == '--parent' ]] || [[ "$1" == '--embed' ]] || [[ "$1" == '--compressed' ]] || [[ "$0" == "/bin/bash" ]] || [[ "$0" == "-bash" ]] || [[ "$0" == "/usr/bin/bash" ]] || [[ "$0" == "bash" ]] ) && export ub_setScriptChecksum_disable='true' export ub_setScriptChecksum_header='2591634041' -export ub_setScriptChecksum_contents='2633005665' +export ub_setScriptChecksum_contents='318555785' # CAUTION: Symlinks may cause problems. Disable this test for such cases if necessary. # WARNING: Performance may be crucial here. @@ -45774,6 +45774,19 @@ _create_ubDistBuild-rotten_install-core() { _getMost_backend_aptGetInstall kruler + + + + _getMost_backend_aptGetInstall git-lfs + + _getMost_backend_aptGetInstall libtorch-dev + _getMost_backend_aptGetInstall libtorch-test + + _getMost_backend_aptGetInstall python3-torch + _getMost_backend_aptGetInstall python3-torchaudio + _getMost_backend_aptGetInstall python3-torchtext + _getMost_backend_aptGetInstall python3-torchvision +