shy-evening-51366
06/24/2023, 3:25 PMRunning with logs `Failed to put data from /home/user/model.pt to s3://my-s3-bucket/data/.../model.pt; Original exception: Could not connect to the endpoint URL: \"http://flyte-sandbox-minio.flyte:9000/my-s3-bucket?list-type=2&prefix=data...`:
@task()
def train_model() -> bool:
  train() # model training, generates a .pt file in the container
  return FlyteFile(path="/home/user/model.pt")
@workflow
def wf():
    train_model = train_model()
    return train_model
This, just taking another random file in the same container completes without issues:
return FlyteFile(path="/home/user/.profile")
When I exec into the container, the <http://model.pt|model.pt> file is there.freezing-airport-6809
freezing-airport-6809
freezing-boots-56761
shy-evening-51366
06/24/2023, 10:14 PM