runpod-python
runpod-python copied to clipboard
🐍 | Python library for RunPod API and serverless worker SDK.
**Describe the bug** When I want to create a only cpu pod, it's needed to choose a gpu_type_id but when i test all the gpu_type_id with gpu_count=0 , I have...
It is probably better to enforce `raise_for_status` property to be `True`. Otherwise, a client could see an error like that, which is not informative ```python File "/usr/local/lib/python3.10/site-packages/runpod/endpoint/asyncio/asyncio_runner.py", line 128, in...
## Description: This pull request adds the capability to generate API documentation using pydoctor and automatically deploy it to GitHub Pages. ## Changes - Added a new GitHub Actions workflow...
**Describe the bug** When I create a handler `runpod.serverless.start({"handler": async_generator_handler})` Only `http://localhost:8000/runsync` triggers `async_generator_handler` However when posting against http://localhost:8000/run `async_generator_handler` is not triggered. Just returns ```json {"id":"test-20023617-4048-4f73-9511-8ae17a1ad7a5","status":"IN_PROGRESS"} ``` But nothing...
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Currently it is only...
Bumps [aiohttp[speedups]](https://github.com/aio-libs/aiohttp) from 3.9.3 to 3.9.5. Release notes Sourced from aiohttp[speedups]'s releases. 3.9.5 Bug fixes Fixed "Unclosed client session" when initialization of :py:class:~aiohttp.ClientSession fails -- by :user:NewGlad. Related issues and...
**Is your feature request related to a problem? Please describe.** Client gets response with status "COMPLETED" without any response data that the handler is adding. This message is then observed...
**Describe the bug** Whenever I try to start a pod over runpod-python specifying a custom template ID I will get the message: "runpod.error.QueryError: There are no longer any instances available...
**Describe the bug** when trying to run : `runpod.create_pod("tortoise", "dillonbishop/ai-tts:latest", "NVIDIA GeForce RTX 3070",docker_args="bash -c 'apt update;DEBIAN_FRONTEND=noninteractive apt-get install openssh-server -y;mkdir -p ~/.ssh;cd $_;chmod 700 ~/.ssh;echo \"$PUBLIC_KEY\" >> authorized_keys;chmod 700...
Retrieve the following additional properties of a pod (or a set of pods) machine from the runpod GraphQL API when running the `get_pod` or `get_pods` calls: * Upcoming machine maintenance...