Skip to content

GLM-5.3-Flash EXL3 on 2x DGX Spark with TensorFold

Python
27.5 KB
Raw Blame
# The start.sh banner: the TensorFold ribbon as truecolour terminal art, with MIA AI LAB. `banner` prints it on a
# terminal of 86+ columns, else nothing.

_banner_wide() {
  printf '%s\n' '          :::::••*+•:                           ∙              
        :::::∙   :***+••:                 ::••+++**+++++•::    ███╗   ███╗██╗ █████╗ 
      :•::::∙ ∙   :#**++•••::         :•••••••••++****+++++•   ████╗ ████║██║██╔══██╗
    :•:::::::      +*++•:::••••:  :•++++•:::::•••••++++•••:    ██╔████╔██║██║███████║
   •••::::::::∙     *+•::∙∙∙∙:•++*****••:::::::••••++•:        ██║╚██╔╝██║██║██╔══██║
  •+•••::::::::::::∙•+::∙     ∙:•*+•:∙:+++++••••••+•:          ██║ ╚═╝ ██║██║██║  ██║
:+++++••••::::::::::•+:∙      :+*#•   ∙::•+**+••••:            ╚═╝     ╚═╝╚═╝╚═╝  ╚═╝
++++++++•••••••••++•:•:∙     ::+*+∙  ::∙∙:::+++•∙              
+*****++++++++++++:   •:    ∙::••∙  ::  ∙::::•+•                █████╗ ██╗  ██╗      █████╗ ██████╗ 
  •+*******+*++•      :•::   :::   •:     :::••+*+             ██╔══██╗██║  ██║     ██╔══██╗██╔══██╗
      ::••••:          ••::::::  ∙••∙::: ∙::::•••++•           ███████║██║  ██║     ███████║██████╔╝
                       :+••::∙  :•:     ∙:::::::•••++•:        ██╔══██║██║  ██║     ██╔══██║██╔══██╗
                        :*+•::∙::            ∙::::::••++•      ██║  ██║██║  ███████╗██║  ██║██████╔╝
                         :+••::                      ∙∙::      ╚═╝  ╚═╝╚═╝  ╚══════╝╚═╝  ╚═╝╚═════╝ 
                         ∙∙                                    
                                                                 GLM-5.3 Flash EXL3 · Dual DGX Sparks
                   TensorFold by Ash Hart                      '
}

_banner_narrow() {
  printf '%s\n' '                                           ███╗   ███╗██╗ █████╗ 
      :::::•+•:              :::••:::      ████╗ ████║██║██╔══██╗
    ::::∙   +*++•::       :•:••++***++••   ██╔████╔██║██║███████║
   •:::::    *+•::•••:••++•::::•••++••:    ██║╚██╔╝██║██║██╔══██║
 :••::::::::∙••:∙   :+*+•:•••••••+•:       ██║ ╚═╝ ██║██║██║  ██║
•+++••:::::••••∙   ∙:**∙ ∙::+*+••:         ╚═╝     ╚═╝╚═╝╚═╝  ╚═╝
+***++••++++: ::   :••∙ :: :::++           
 :•++++++•:    •:∙ ::  •:  ∙:::++•          █████╗ ██╗  ██╗      █████╗ ██████╗ 
               :+•:∙  :: ∙∙::::••++•       ██╔══██╗██║  ██║     ██╔══██╗██╔══██╗
                :+•:::         ∙:::•••     ███████║██║  ██║     ███████║██████╔╝
                 ::∙                       ██╔══██║██║  ██║     ██╔══██║██╔══██╗
                                           ██║  ██║██║  ███████╗██║  ██║██████╔╝
         TensorFold by Ash Hart            ╚═╝  ╚═╝╚═╝  ╚══════╝╚═╝  ╚═╝╚═════╝ 
                                           
                                             GLM-5.3 Flash EXL3 · Dual DGX Sparks'
}

banner() {
  [[ -t 1 ]] || return 0                       # a log or a pipe: no art
  local cols
  cols=$(tput cols 2>/dev/null || echo 120)
  if (( cols >= 108 )); then _banner_wide; elif (( cols >= 86 )); then _banner_narrow; fi
}