Hello World
Hello World with Float16 Serverless GPU
This tutorial will guide you through running your first "Hello World" program on Float16's serverless GPU platform. Follow these steps after installing the Float16 CLI.
Step 1 : Login
First, authenticate with the Float16 CLI using your provided token
Step 2 : Initialize Your Project
Create a new project directory and navigate into it
Initialize the project with required configuration files
This command creates a float16.conf file and an empty requirements.txt for managing dependencies.
Step 3 : Create Your "Hello World" Script
Create a new Python file named "helloWorld.py" with a simple print statement:
Step 4 : Create project
Create a new project
If you cannot create new project, learn more
Step 5 : Start and Run
Start the remote container
Once successfully started, run your Python file on the remote instance
Wait for the execution to complete. Upon success, you'll see the following output
Congratulations! You've successfully run your first program on Float16's serverless GPU platform.
Explore More
Ready to dive deeper? Check out these resources to expand your knowledge and capabilities with Float16
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.
Copy output from remote
Efficiently transfer computation results from remote to your local storage.
Server mode
Create your own serverless server for scalable cloud-based applications.
Happy coding with Float16 Serverless GPU!
Last updated