utils

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RuntimeNVIDIA       = "cuda"
	RuntimeAppleSilicon = "applesilicon" // experimental apple silicon runtime with vulkan arm64 support

	BackendStableDiffusion = "stablediffusion"
	BackendExllamaV2       = "exllama2"
	BackendMamba           = "mamba"
	BackendDiffusers       = "diffusers"

	TargetUnsloth = "unsloth"

	DatasetAlpaca = "alpaca"

	APIv1alpha1 = "v1alpha1"

	UbuntuBase       = "docker.io/library/ubuntu:22.04"
	AppleSiliconBase = "ghcr.io/sozercan/applesilicon/base:latest"
	CudaDevel        = "nvcr.io/nvidia/cuda:12.3.2-devel-ubuntu22.04"

	PlatformLinux = "linux"
	PlatformAMD64 = "amd64"
	PlatformARM64 = "arm64"
)

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