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
Happy coding with Float16 Serverless GPU!
Last updated