echoing-pencil-2473
07/20/2026, 4:23 PMregister_params into a trace, but wait until the GPU is provisioned to see the flyte deck.
I'm leaning towards the 2nd option, but I'm curious if this also what the community would recommend. Thank you!
@workflow
def wf(ff: FlyteFile) -> str:
param_uuid = register_params(ff=ff)
return train_model(param_uuid=param_uuid)
# option 1
@cpu_env
def wf(ff: File) -> str:
param_uuid = register_params(ff=ff)
return train_model(param_uuid=param_uuid)
# option 2
def train_model()
# trace
param_uuid = register_params(ff=ff)
# just python from the train_model task
start_training_job()freezing-airport-6809