serverless: any way to figure out what gpu type a job ran on?
trying to get data on speeds across gpu types for our jobs, and i'm wondering if the api exposes this anywhere, and if not, what the best way to sort it out would be.
16 Replies
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
dont need nvidia-smi, we expose an env variable to the worker with the gpu name in it, look at our docs for env variable names
is this what you're referring to?
i dont think thats the one, after browsing for some mins i still cant be able to find it
please send the docs url for that
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
what is the env variable key/name for it?
yeah lets just wait for support
im too lazy changing and rebuilding my image for that
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
ye lol
Those are GPU cloud environment variables, these are serverless ones:
Doesn't seem to have the GPU type set directly but you can get it from the end of
RUNPOD_WEBHOOK_POST_STREAM
, RUNPOD_WEBHOOK_GET_JOB
, RUNPOD_WEBHOOK_PING
, RUNPOD_WEBHOOK_POST_OUTPUT
as shown above.nice
thanks
eh isnt this the one RUNPOD_GPU_SIZE=AMPERE_24
Not sure how that translates to L4 though
Ah ye no full gpu type
looks like it isn't, i will plan to add it, this is good to expose in pod env
Wow you're a Rp developer
He isn't just a developer, he is the CTO 😉
Wow that's amazing he's still handling the supports lol