hardware

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectMemory

func DetectMemory()

DetectMemory detects the memory of the system TODO: Use to determine if we can run certain AI models

Types

type GPU

type GPU int

GPU Processing devices used for AI inference

const (
	AMD    GPU = iota // AMD
	NVIDIA            // Nvidia

)

func DetectProcessingDevice

func DetectProcessingDevice() GPU

func (GPU) String

func (i GPU) String() string

Jump to

Keyboard shortcuts

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