aiccfinetune

package
v0.0.0-...-b049424 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AICCFinetune

type AICCFinetune interface {
	Create(*domain.AICCFinetune) (domain.JobInfo, error)

	Delete(string) error

	CreateInference(*domain.AICCFinetune) (domain.JobInfo, error)

	// GetLogDownloadURL returns the log url which can be used
	// to download the log of running finetune.
	GetLogDownloadURL(string) (string, error)

	GetDetail(string) (domain.JobDetail, error)

	// GetLogFilePath return the obs path of log
	GetLogFilePath(logDir string) (string, error)

	// GenOutput generates the zip file of output dir and
	// return the obs path of that file.
	GenOutput(outputDir string) (string, error)

	// GenFileDownloadURL generate the temprary
	// download url of obs file.
	GenFileDownloadURL(p string) (string, error)

	Terminate(string) error
}

Jump to

Keyboard shortcuts

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