lllyasviel / lllyasviel/stable-diffusion-webui-forge
[Feature Request]: Please support "--use-cpu gfpgan codeformer" Start Prompt
- Dominant language
- Python
- Stars
- 13k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
### What would your feature do ?
Enables Face Restoration to run on CPU, since IPEX has issues with it and it only works if it runs via the CPU
### Proposed workflow
Just want "--use-cpu gfpgan codeformer" starting prompt to work like in A1111 or SD.Next so either face restoration model runs on the CPU. This sadly doesn't seem to work on forge.
### Additional information
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating Forge's command-line handling for --use-cpu and the face-restoration path for GFPGAN and CodeFormer, then inspect how device selection currently works. Done means the --use-cpu gfpgan codeformer prompt is accepted and either face-restoration model runs on the CPU without the IPEX issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100