-
Notifications
You must be signed in to change notification settings - Fork 608
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
Conversation
@@ -41,11 +41,24 @@ Train custom TensorFlow models at scale. | |||
start_delay_secs: <int> # start evaluating after waiting for this many seconds (default: 120) | |||
throttle_secs: <int> # do not re-evaluate unless the last evaluation was started at least this many seconds ago (default: 600) | |||
|
|||
compute: | |||
compute: # Resources for training and evaluations steps |
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 this
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
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
Is this used?
pkg/operator/workloads/data_job.go
Outdated
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
I think we still need to append the transformedColumn.Compute
s since transforming the data happens in the same step as preparing the dataset
Closes #56
Checklist:
make test
andmake lint
cx refresh
in an example folder)cx init