❓FAQ
Frequently Ask Question about Serverless GPU
How can I find my project ID?
You can locate your project ID through several methods:
Using CLI:
Run
float16 project list
Your current project ID will appear at the top of the table with "active" status
Checking float16.conf:
Look for the 'project_id' parameter in your float16.conf file
Why am I getting a "project ID not found" error?
This error occurs when the system cannot locate your project ID. Check the following:
Verify that you have a float16.conf file in your current directory
If missing, run
float16 init
to create it
Confirm that you have created a project
If not, use
float16 project create
to create oneThe project ID will automatically update in your float16.conf file
If you created the project in another path or folder
Locate the
float16.conf
file in the directory where you last used the projectManually copy the project ID from that configuration file
Apply the copied project ID to your current working directory's configuration
If you're still experiencing issues, contact our support team
Why am I getting "files not found" errors when running or deploying?
This error typically occurs when:
The file is actually missing
You're trying to access files in subfolders
You must be in the same directory as your target file when using run or deploy commands.
Why does my remote storage contain files I didn't copy?
The CLI automatically uploads certain files:
All .py files in your directory during run or deploy operations
Your requirements.txt file (if not empty) when you use
float16 project start
When to use float16 project start
?
Imagine your project is like a car parked in a garage. The float16 project start
command is essentially turning the key and warming up the engine. It's your go-to command when you want to breathe life into your project's environment.
Think of it as a wake-up call for your development container. After creating a new project or if you've been away for more than 24 hours, this command springs your environment back to action. It does two critical things: creates or reactivates your container and automatically installs all the libraries specified in your requirements.txt
.
New project? Run
float16 project start
Haven't coded in over a day? Use the command
PS. In deployment mode, you won't need this—the float16 deploy
command handles container activation automatically.
Why am I not getting any response?
In the beta version, there is a computation time limit. If your computation exceeds this limit, you will receive a null response from the server.
Why am I getting "Endpoint is unavailable" response?
Your endpoint is currently inactive. When an endpoint is in an inactive state, it cannot process requests or return responses.
How to Verify:
Use
float16 endpoint
command to view current status
How to Resolve:
float16 endpoint start
What is the difference between On-Demand and Spot tasks?
On-Demand Task
An on-demand task runs for a maximum of 60-120 seconds without any interruptions. It supports three trigger types: manual, function, and server. These tasks can be executed in both development mode and production mode. Pricing is based on the on-demand rate.
Spot Task
A spot task runs in Spot Mode, which allows execution beyond 30 seconds but can be interrupted if an on-demand task requires resources. Once the on-demand task is completed, the spot task automatically resumes. Pricing follows the spot rate, which is typically lower than the on-demand rate.
Last updated