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
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
oh ok
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.
Yes the difference with pods is you gotta call the "wrapper" from the Runpod's serverless handler first