Downloads · 30 days
7
17% of all-time downloads
AXERA-TECH/lcm-lora-sdv1-5-ax620e
lcm-lora-sdv1-5-ax620e is a machine learning model from AXERA-TECH. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as bsd-3-clause.
本仓库是 lcm-lora-sdv1-5 的 AX620E 拆分版本,只包含 AX620E 可用的 axmodel 文件。客户只需要下载本仓库即可在 AX620E 板端运行对应分辨率模型。
Downloads · 30 days
7
17% of all-time downloads
All-time downloads
42
Public
Repo size
2.4 GB
Likes
0
Public
Click a slice to open those files.
.axmodel2.6 GB · 100%
From the Hugging Face model README
本仓库是 lcm-lora-sdv1-5 的 AX620E 拆分版本,只包含 AX620E 可用的 axmodel 文件。客户只需要下载本仓库即可在 AX620E 板端运行对应分辨率模型。
AX650N 模型保留在原仓库:
AXERA-TECH/lcm-lora-sdv1-5
发布内容只保留 *.axmodel 推理所需文件。*.onnx 和 *.safetensors 不属于当前发布路径。
| OpenAI model id | 目录 | 分辨率 | txt2img | img2img |
|---|---|---|---|---|
lcm-lora-sdv1-5-256x256 | models/ | 256x256 | 支持 | 支持 |
lcm-lora-sdv1-5-320x320 | models_320x320/ | 320x320 | 支持 | 支持 |
config.json 中的 image_variants 是 axllm serve 的模型发现入口。前端应先请求 /v1/models,再选择返回的真实模型 ID 发起生图请求。
axllm serve /path/to/lcm-lora-sdv1-5-ax620e --port 8000
接口:
GET /v1/modelsPOST /v1/images/generationsPOST /v1/images/editscurl -X POST http://127.0.0.1:8000/v1/images/generations \
-H 'Content-Type: application/json' \
-d '{
"model": "lcm-lora-sdv1-5-256x256",
"prompt": "a cat wearing sunglasses",
"size": "256x256",
"seed": 0,
"response_format": "b64_json"
}'
curl -X POST http://127.0.0.1:8000/v1/images/edits \
-F model=lcm-lora-sdv1-5-320x320 \
-F prompt="Astronauts in a jungle, cold color palette, muted colors, detailed, 8k" \
-F size=320x320 \
-F seed=0 \
-F response_format=b64_json \
-F image=@assets/img2img-init.png
pip3 install -r requirements.txt
python3 launcher.py --model_dir models --isize 256
python3 launcher.py --model_dir models_320x320 --isize 320