Hi,
I am running docker cog built container on Paperspace but I am having issues to upload output predictions to aws s3 bucket.
I basically need to launch a prediction for more than 30 minutes and upload the file to s3 - explicit limit on Replicate, that's why I am using another platform for this task only.
This is the error that I always receive when I set the output_file_prefix in a synchronous request:
No connection adapters were found for {url!r}\")\nrequests.exceptions.InvalidSchema: No connection adapters were found for 's3://my-bucket/out-0.png
I already set all the env with my aws secrets but still without success.
PS: I also saw that for async request I have to pass --upload-url to the docker run function, but since I can't find a way to edit the startup script, can I build the docker with this command already included?
Thank you!
Hi,
I am running docker cog built container on Paperspace but I am having issues to upload output predictions to aws s3 bucket.
I basically need to launch a prediction for more than 30 minutes and upload the file to s3 - explicit limit on Replicate, that's why I am using another platform for this task only.
This is the error that I always receive when I set the output_file_prefix in a synchronous request:
No connection adapters were found for {url!r}\")\nrequests.exceptions.InvalidSchema: No connection adapters were found for 's3://my-bucket/out-0.pngI already set all the env with my aws secrets but still without success.
PS: I also saw that for async request I have to pass --upload-url to the docker run function, but since I can't find a way to edit the startup script, can I build the docker with this command already included?
Thank you!