GAOSHIQING
GAOSHIQING
Oh, it's hard to do, I've encountered it, but my py is from 3.11 version, do I still hope to use it? I still can't install it, please ask for...
> 您可以设置命令行参数,`webui-user.bat`使其指向 ComfyUI 的模型位置。所有可用的参数如下: https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Command-Line-Arguments-and-Settings > > 这些是您将设置让 Forge 使用 ComfyUI 的目录: > > * `--models-dir`(模型检查点如 sd1.5、sdxl 等) > * `--vae-dir` > * `--lora-dir` > * `--embeddings-dir`(文本倒置) Aw, thank you...
Yes, this is exactly what I'm thinking. For the current top models, such a cumbersome process is not necessary. They are already very intelligent.
补充一个可稳定复现的实际案例,问题与本 issue 完全一致:模型映射后的值会再次经过图片模型前缀校验,导致请求在到达上游前返回 502。 环境: - Sub2API 运行版本:`v0.1.163`(容器镜像 `ghcr.io/wei-shaw/sub2api:0.1.163`) - 下游接口:`POST /v1/images/generations` - 下游请求模型:`gpt-image-2` - 上游类型:OpenAI-compatible API Key - 上游真实可用模型:`「CS」gpt-image-2` - 账号模型映射:`gpt-image-2` -> `「CS」gpt-image-2` 请求已正确命中 API Key、分组和上游账号,但网关日志为: ```text openai.images.forward_failed error="images...
进一步补充:直接让下游请求真实内部模型名也会失败。 请求模型: ```json {"model":"「CS」gpt-image-2","prompt":"...","size":"1024x1024","quality":"auto","n":1,"output_format":"png"} ``` 结果为 HTTP 400: ```json {"error":{"message":"images endpoint requires an image model, got \"「CS」gpt-image-2\"","type":"invalid_request_error"}} ``` 因此两条路径都被拦截: 1. 入站 `gpt-image-2` 映射成自定义真实模型名后,被映射后的校验拦截(502)。 2. 入站直接使用自定义真实模型名,被入口图片模型校验拦截(400)。 修复时需要同时覆盖入口自定义模型判定与映射后透传,不能只调整其中一处。
这个我觉得很棒啊