utils

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RuntimeNVIDIA    = "cuda"
	RuntimeCPUAVX    = "avx"
	RuntimeCPUAVX2   = "avx2"
	RuntimeCPUAVX512 = "avx512"

	BackendStableDiffusion = "stablediffusion"
	BackendExllama         = "exllama"
	BackendExllamaV2       = "exllama2"
	BackendMamba           = "mamba"

	TargetUnsloth = "unsloth"

	DatasetAlpaca = "alpaca"

	APIv1alpha1 = "v1alpha1"

	DebianSlim = "docker.io/library/debian:12-slim"
	CudaDevel  = "nvcr.io/nvidia/cuda:12.3.2-devel-ubuntu22.04"
)

Variables

This section is empty.

Functions

func Bashf added in v0.7.0

func Bashf(cmd string, v ...interface{}) llb.RunOption

func FileNameFromURL added in v0.7.0

func FileNameFromURL(urlString string) string

func Sh added in v0.7.0

func Sh(cmd string) llb.RunOption

func Shf added in v0.7.0

func Shf(cmd string, v ...interface{}) llb.RunOption

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL