Run a Case on Virtual GPU#
This example demonstrates how to submit a simulation case to the Virtual GPU (vGPU) queue
instead of the standard FlexCredits pay-as-you-go queue.
Use billing_method="VirtualGPU" to route the job through your daily vGPU allocation,
and priority to control its scheduling order relative to other queued jobs.
import flow360 as fl
project = fl.Project.from_cloud("PROJECT_ID_HERE")
params: fl.SimulationParams = project.params
# Submit to the Virtual GPU queue with high scheduling priority
project.run_case(
params=params,
name="My vGPU case",
billing_method="VirtualGPU",
priority=8,
)
Notes#
billing_methodaccepts"VirtualGPU"or"FlexCredit". When omitted, the account default is used.priorityis an integer from1(lowest) to10(highest). It controls the order in which queued jobs are dispatched when vGPU slots become available. Only applies whenbilling_method="VirtualGPU"; it is ignored otherwise.The Virtual GPU option requires an active vGPU license on your account. If no vGPU allocation is available, use
billing_method="FlexCredit"instead.You can monitor the queue, change job priorities, or switch a queued job to FlexCredits from the Virtual GPU Scheduler tab in Account Settings.
See also
Fork a Case — submit a follow-on run branching from an existing case.