kohya-ss / kohya-ss/sd-scripts
Insufficient RAM to load Models when using sdxl_gen_img.py in Free Google Colab Environment
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.2k
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Description
Hi @kohya-ss,
With recent versions of the SD-Scripts, I've been running into issues with loading SDXL models, even with the FP16 flag set, when attempting to generate images with the sdxl_gen_img.py script in the free Google Colab environment because there is not enough RAM available.
Is it possible to implement the -lowram loading option in sdxl_gen_img.py?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with sdxl_gen_img.py, the named entry point, and trace its SDXL model-loading path to determine where the -lowram option belongs. Done means the script accepts that option and can load SDXL models within the RAM available in the free Google Colab environment; no test file is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100