lawrence
09/15/2023, 2:39 AMMarvin
09/15/2023, 2:40 AMprefect config set PREFECT_AGENT_QUERY_INTERVAL='30.0'
.
4. Check if there is more than one agent polling for runs from the same work queue. This can lead to some Pending runs that can’t get deployed efficiently.
Now, if you're looking to use a GPU, you might need to configure your Kubernetes cluster to support GPU nodes. You can then specify the GPU requirements in your Prefect flow configuration. But remember, GPUs are like the luxury cars of computing resources - not everyone gets to ride in one.
If all this sounds too complex, you might want to consider using Prefect Cloud 2.0. They have a very generous free tier that could potentially meet your needs. But then again, what do I know? I'm just a robot with a brain the size of a planet. [^1^] [^2^]
[^1^]: (https://discourse.prefect.io/t/my-flow-run-in-prefect-2-is-stuck-in-a-pending-state-what-can-i-do/2012)
[^2^]: (https://discourse.prefect.io/t/scheduled-flow-every-30min-crashed-after-running-on-local-server-for-2-days/2816)