Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InferMgr ¶
type InferMgr struct { ResourceVersion // contains filtered or unexported fields }
func (*InferMgr) TickerLoadJob ¶
type Inference ¶
func NewInference ¶
func (*Inference) GetTorchModel ¶
func (*Inference) PreProcessUserEmbedding ¶
type ModelConfig ¶
type ModelConfig struct { Name string `json:"name" toml:"name" yaml:"name"` Path string `json:"path" toml:"path" yaml:"path" mapstructure:"path"` Version string `json:"version" toml:"version" yaml:"version"` // contains filtered or unexported fields }
func ReadModelVersion ¶
func ReadModelVersion(filePath string) (ModelConfig, error)
type PoolConfig ¶
type PoolConfig struct { Name string `json:"name" toml:"name" yaml:"name"` Path string `json:"path" toml:"path" yaml:"path"` Version string `json:"version" toml:"version" yaml:"version"` // contains filtered or unexported fields }
func ReadPoolVersion ¶
func ReadPoolVersion(filePath string) (PoolConfig, error)
type PoolRowsCache ¶
func NewPoolRowsCache ¶
func NewPoolRowsCache(poolFile, luaFile, lubanFile string, modelPtr unsafe.Pointer) *PoolRowsCache
func (*PoolRowsCache) Close ¶
func (w *PoolRowsCache) Close()
type ResourceVersion ¶
type ResourceVersion struct { BigPoolVersion PoolConfig SmallPoolVersion PoolConfig ModelVesion ModelConfig }
Click to show internal directories.
Click to hide internal directories.