-
Notifications
You must be signed in to change notification settings - Fork 606
Training dataset resource bug #86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
193040a
9122a03
5f93120
3089938
38b57b4
d023e84
758d88f
31b8750
087e2e4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,15 @@ type Quantity struct { | |
UserString string | ||
} | ||
|
||
func MustNewQuantity(str string) Quantity { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this used? |
||
k8sQuantity := k8sresource.MustParse(str) | ||
|
||
return Quantity{ | ||
Quantity: k8sQuantity, | ||
UserString: str, | ||
} | ||
} | ||
|
||
type QuantityValidation struct { | ||
Min k8sresource.Quantity | ||
Int bool | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -251,12 +251,7 @@ func dataWorkloadSpecs(ctx *context.Context) ([]*WorkloadSpec, error) { | |
} | ||
trainingDatasets = append(trainingDatasets, modelName) | ||
trainingDatasetIDs.Add(dataset.GetID()) | ||
dependencyIDs := ctx.AllComputedResourceDependencies(dataset.GetID()) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we still need to append the |
||
for _, transformedColumn := range ctx.TransformedColumns { | ||
if _, ok := dependencyIDs[transformedColumn.ID]; ok { | ||
allComputes = append(allComputes, transformedColumn.Compute) | ||
} | ||
} | ||
allComputes = append(allComputes, model.DatasetCompute) | ||
} | ||
|
||
resourceIDSet := strset.Union(rawColumnIDs, aggregateIDs, transformedColumnIDs, trainingDatasetIDs) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe mention it's the TensorFlow job? Like
Resources for training and evaluations steps (TensorFlow)?
Similarly# Resources for constructing training dataset (Spark)
? We get Omer's stamp of approval on thisUh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ospillinger thoughts on the doc comments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM