internal

package
v0.16.7 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorBadPytorchFormat = errors.New("The pytorch version format could not be parsed.")

Functions

func ExtractSubFeaturesFromPytorchVersion added in v0.15.11

func ExtractSubFeaturesFromPytorchVersion(pytorchVersion string) (string, string, string, string, string, error)

func FetchCUDABaseImages

func FetchCUDABaseImages() ([]config.CUDABaseImage, error)

func FetchTensorFlowCompatibilityMatrix

func FetchTensorFlowCompatibilityMatrix() ([]config.TFCompatibility, error)

func FetchTorchCompatibilityMatrix

func FetchTorchCompatibilityMatrix() ([]config.TorchCompatibility, error)

func FindCompatiblePythonVersions added in v0.16.2

func FindCompatiblePythonVersions(torchVersion string, torchVisionVersion string, torchAudioVersion string, extraIndexUrl string, findLinksUrl string) ([]string, error)

Types

type TorchPackage added in v0.15.11

type TorchPackage struct {
	Name          string
	Version       string
	Variant       string
	CUDA          *string
	PythonVersion string
}

func FetchTorchPackages added in v0.15.11

func FetchTorchPackages(name string) ([]TorchPackage, error)

func (*TorchPackage) Equals added in v0.16.2

func (c *TorchPackage) Equals(other TorchPackage) bool

Jump to

Keyboard shortcuts

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