Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请求文生图接口时,执行一段时间程序莫名退出。 #313

Open
zzu402 opened this issue Apr 24, 2024 · 6 comments
Open

请求文生图接口时,执行一段时间程序莫名退出。 #313

zzu402 opened this issue Apr 24, 2024 · 6 comments

Comments

@zzu402
Copy link

zzu402 commented Apr 24, 2024

这是我程序运行截图
image
这是请求后的日志
image
这是请求的参数:
{
"prompt": "photograph close up portrait of Embraced couple enjoying in a movie in theatre , cinematic 4k epic detailed 4k epic detailed photograph shot on kodak detailed bokeh cinematic hbo dark moody",
"negative_prompt": "",
"style_selections": [
"Fooocus V2",
"Default (Slightly Cinematic)"
],
"performance_selection": "Speed",
"aspect_ratios_selection": "1152×896",
"image_number": 1,
"image_seed": -1,
"sharpness": 2,
"guidance_scale": 3,
"base_model_name": "realisticStockPhoto_v10.safetensors",
"refiner_model_name": "sd_xl_refiner_1.0_0.9vae.safetensors",
"loras": [
{
"enabled":true,
"model_name": "SDXL_FILM_PHOTOGRAPHY_STYLE_BetaV0.4.safetensors",
"weight": 0.5
}
]
}

@zzu402
Copy link
Author

zzu402 commented Apr 24, 2024

有没有大佬指点下,感激不尽。

@zzu402
Copy link
Author

zzu402 commented Apr 25, 2024

我直接下载fooocus运行又可以生成

@mrhan1993
Copy link
Owner

是像 #226 这样没有错误信息吗?

@zzu402
Copy link
Author

zzu402 commented Apr 25, 2024

是像 #226 这样没有错误信息吗?

是的,没有错误信息,就是我发起一个文生图请求后,过了大概十来秒左右,程序就直接退出了。 为了验证是不是我的电脑问题,我特意去下了fooocus,发现fooocus在我的电脑上是可以生成图,只是生成时间会比较久。

@mrhan1993
Copy link
Owner

启动的时候加上这俩参数试试,--always-low-vram --always-offload-from-vram

@zzu402
Copy link
Author

zzu402 commented Apr 25, 2024

启动的时候加上这俩参数试试,--always-low-vram --always-offload-from-vram

会报错,如下图:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants