lllyasviel / lllyasviel/stable-diffusion-webui-forge
/sdapi/v1/progress api call not working properly
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
i am trying to implement a progress bar, whenever i call the /sdapi/v1/progress i always get the same thing.
i have tested it when something is generating and also when nothing is generating but all i ever get is the following over and over
```
{
progress: 0.01,
eta_relative: 83.6096842288971,
state: {
skipped: false,
interrupted: false,
stopping_generation: false,
job: 'scripts_txt2img',
job_count: 1,
job_timestamp: '20240913165319',
job_no: 0,
sampling_step: 0,
sampling_steps: 30
},
current_image: null,
textinfo: null
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported behavior while generation is active and idle, using the /sdapi/v1/progress endpoint and comparing its repeated response. Trace the endpoint's Python implementation and determine what the progress response should report in each state. Done means the endpoint reflects the current generation state rather than returning the same values indefinitely.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100