Prepare model weight
This tutorial will guide you through copying files from S3 or R2 to remote storage.
An active Float16 project
AWS S3 storage credentials or Cloudflare R2
1. Using Copy from S3 object compatibility
Step 1 : Check Storage before copy
Step 2 : Copy from S3 or R2
Use the following command to copy file from R2 to your remote storage.
Replace the placeholders with your actual AWS S3 or R2 credentials:
<PATH>
: Your remote storage path<YOUR_S3_URI_DESTINATION>
: Your R2 bucket original path or directory<YOUR_S3_ACCESS_KEY>
: Your R2 access key<YOUR_S3_SECRET_KEY>
: Your R2 secret key<YOUR_S3_ENDPOINT>
: Your R2 endpoint #Optional if you using S3 don't paste this flag.
After running the command, check your specified S3 destination path. You should find the output.txt
file successfully copied.
Step 3 : Check Remote Storage
Check the files in your remote storage
Congratulations! You've learned how to copy output files from Float16's remote storage to your AWS S3 storage.
Explore More
Learn how to use Float16 CLI for various use cases in our tutorials.
Hello World
Launch your first serverless GPU function and kickstart your journey.
List all library
Explore the complete set of libraries available in your container.
Install new library
Enhance your toolkit by adding new libraries tailored to your project needs.
Pre-load model
Accelerate model access using remote storage for improved performance.
Server mode
Create your own serverless server for scalable cloud-based applications.
Happy coding with Float16 Serverless GPU!
Last updated