Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type P ¶
type P struct {
// contains filtered or unexported fields
}
P processes inference tasks.
func (*P) AddOrUpdateEngineStatus ¶ added in v0.115.0
func (p *P) AddOrUpdateEngineStatus( srv v1.InferenceWorkerService_ProcessTasksServer, engineStatus *v1.EngineStatus, )
AddOrUpdateEngineStatus adds or updates the engine status.
type Task ¶
type Task struct { ID string Req *v1.CreateChatCompletionRequest Header http.Header RespCh chan *http.Response ErrCh chan error }
Task is an inference task. TODO(kenji): Consider preserving the request context as well.
Click to show internal directories.
Click to hide internal directories.