late-traffic-56555
12/12/2023, 2:58 PMfreezing-airport-6809
late-traffic-56555
12/12/2023, 3:15 PMlate-traffic-56555
12/12/2023, 3:15 PMlate-traffic-56555
12/12/2023, 3:15 PMlate-traffic-56555
12/12/2023, 3:15 PMlate-traffic-56555
12/12/2023, 3:16 PM@task(
task_config=TfJob(
chief=Chief(replicas=1),
ps=PS(replicas=1),
worker=Worker(replicas=1),
),
)
def some_task_name(...):
<download binary>
subprocess.run(binary)
freezing-airport-6809
late-traffic-56555
12/12/2023, 3:39 PMsubprocess.run(binary, stdout=subprocess.PIPE)?
late-traffic-56555
12/12/2023, 3:40 PMbinary
is a long running binary (such as a training service) will this pipe logsflaky-daybreak-42119
12/12/2023, 6:09 PMprocess = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout, stderr = process.communicate()
glamorous-carpet-83516
12/12/2023, 7:10 PMifyes, it will.is a long running binary (such as a training service) will this pipe logsbinary