Skip to content

Commit

Permalink
Merge pull request #104 from kerthcet/feat/add-scheduler
Browse files Browse the repository at this point in the history
Change model name to github.com/inftyai/llmaz
  • Loading branch information
InftyAI-Agent authored Aug 26, 2024
2 parents 364f645 + 820f868 commit 28a7aa6
Show file tree
Hide file tree
Showing 79 changed files with 227 additions and 205 deletions.
5 changes: 5 additions & 0 deletions api/core/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions api/inference/v1alpha1/playground_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package v1alpha1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

api "inftyai.com/llmaz/api/core/v1alpha1"
coreapi "github.com/inftyai/llmaz/api/core/v1alpha1"
)

// PlaygroundSpec defines the desired state of Playground
Expand All @@ -34,13 +34,13 @@ type PlaygroundSpec struct {
// Note: properties (nodeSelectors, resources, e.g.) of the model flavors
// will be applied to the workload if not exist.
// +optional
ModelClaim *api.ModelClaim `json:"modelClaim,omitempty"`
ModelClaim *coreapi.ModelClaim `json:"modelClaim,omitempty"`
// MultiModelsClaims represents multiple modelClaim, which is useful when different
// sub-workload has different accelerator requirements, like the state-of-the-art
// technology called splitwise, the workload template is shared by both.
// ModelClaim and multiModelsClaims are exclusive configured.
// +optional
MultiModelsClaims []api.MultiModelsClaim `json:"multiModelsClaims,omitempty"`
MultiModelsClaims []coreapi.MultiModelsClaim `json:"multiModelsClaims,omitempty"`
// BackendConfig represents the inference backend configuration
// under the hood, e.g. vLLM, which is the default backend.
// +optional
Expand Down
4 changes: 2 additions & 2 deletions api/inference/v1alpha1/service_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
lws "sigs.k8s.io/lws/api/leaderworkerset/v1"

api "inftyai.com/llmaz/api/core/v1alpha1"
coreapi "github.com/inftyai/llmaz/api/core/v1alpha1"
)

// ServiceSpec defines the desired state of Service.
Expand All @@ -34,7 +34,7 @@ type ServiceSpec struct {
// Note: properties (nodeSelectors, resources, e.g.) of the model flavors
// will be applied to the workload if not exist.
// +kubebuilder:validation:MinItems=1
MultiModelsClaims []api.MultiModelsClaim `json:"multiModelsClaims,omitempty"`
MultiModelsClaims []coreapi.MultiModelsClaim `json:"multiModelsClaims,omitempty"`
// WorkloadTemplate defines the underlying workload layout and configuration.
// Note: the LWS spec might be twisted with various LWS instances to support
// accelerator fungibility or other cutting-edge researches.
Expand Down
2 changes: 1 addition & 1 deletion api/inference/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client-go/applyconfiguration/core/v1alpha1/flavor.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client-go/applyconfiguration/core/v1alpha1/modelclaim.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions client-go/applyconfiguration/core/v1alpha1/modelhub.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client-go/applyconfiguration/core/v1alpha1/modelsource.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client-go/applyconfiguration/core/v1alpha1/modelspec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions client-go/applyconfiguration/core/v1alpha1/modelstatus.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions client-go/applyconfiguration/inference/v1alpha1/servicestatus.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions client-go/applyconfiguration/utils.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions client-go/clientset/versioned/clientset.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions client-go/clientset/versioned/fake/clientset_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions client-go/clientset/versioned/fake/register.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions client-go/clientset/versioned/scheme/register.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 28a7aa6

Please sign in to comment.