Skip to content

Commit

Permalink
restore 1gpu as default config
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrildiagne committed Jan 4, 2020
1 parent 3e3f687 commit 14dacf6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/config/knative.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ func MarshalKnativeConfig(s v1.Service) ([]byte, error) {
// GenerateKnativeConfig generate knative yaml specifics to the Kuda workflow.
func GenerateKnativeConfig(service ServiceSummary, cfg latest.Config) (v1.Service, error) {

numGPUs, _ := resource.ParseQuantity("0")
// Kuda supports only 1 GPU per service for now.
numGPUs, _ := resource.ParseQuantity("1")

container := corev1.Container{
Image: service.DockerArtifact,
Expand Down

0 comments on commit 14dacf6

Please sign in to comment.