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?
4 Replies
nerdylive
nerdylive4mo ago
yes Well, i mean python can do wide range of computation just write code, execute it with python like normal people do inside containers pods = containers
frankvp11
frankvp114mo ago
oh ok
Encyrption
Encyrption4mo ago
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.
nerdylive
nerdylive4mo ago
Yes the difference with pods is you gotta call the "wrapper" from the Runpod's serverless handler first
Want results from more Discord servers?
Add your server