Search
Setup for Free
R
Runpod
•
2y ago
frankvp11
run a function in a pod
Suppose I had a function to do some computation
, and I wanted to run that inside a pod
- how would I go about doing that
entirely
from the python sdk
?
Runpod
Join
We're a community of enthusiasts, engineers, and enterprises, all sharing insights on AI, Machine Learning and GPUs!
20,859
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
J
Jason
•
7/16/24, 2:44 PM
yes
J
Jason
•
7/16/24, 2:44 PM
Well
, i mean python can do wide range of computation
J
Jason
•
7/16/24, 2:45 PM
just write code
, execute it with python like normal people do inside containers
J
Jason
•
7/16/24, 2:45 PM
pods
= containers
F
frankvp11
OP
•
7/16/24, 2:48 PM
oh ok
E
Encyrption
•
7/16/24, 4:27 PM
Sounds like what Serverless workers provide
. You have to take your python code and wrap it in a docker container but then you can reach your python via an API
.
J
Jason
•
7/16/24, 4:34 PM
Yes the difference with pods is you gotta call the
"wrapper
" from the Runpod
's serverless handler first
Similar Threads
Not able to run a pod
R
Runpod / ⛅|pods
7mo ago
Is there a way to run more than 1 image in a pod?
R
Runpod / ⛅|pods
2y ago
"How can I run multiple templates in one pod?"
R
Runpod / ⛅|pods
2y ago
Run a function once when a worker starts
R
Runpod / ⚡|serverless
9mo ago