ACCC1380/molab-moss / MOSS-ComfyUI.ipynb
ACCC1380's picture
download
raw
2.33 kB
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# MOSS 专用 ComfyUI\n",
"Base / SFT BF16,默认端口 8189。先运行安装,再在终端启动。"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"模型实体:`/marimo_moss/Stable-diffusion`、`/marimo_moss/Lora`、`/marimo_moss/text_encoder`、`/marimo_moss/VAE`。\n",
"`restore.sh` 恢复完成后自动补齐两个程序的模型链接;手动修复:`bash /marimo_moss/restore-model-links.sh`。"
]
},
{
"cell_type": "code",
"metadata": {},
"source": [
"!bash /marimo_moss/comfyui.sh --setup-only"
],
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"metadata": {},
"source": [
"!python /marimo_moss/download_moss.py --verify-only"
],
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"metadata": {},
"source": [
"# 在终端运行(前台服务)\n",
"# bash /marimo_moss/start.sh\n",
"# 登录密码:sudo cat /var/lib/comfyui-moss-admin/login.txt"
],
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"metadata": {},
"source": [
"# 在 ComfyUI 左侧工作流列表打开 MOSS 文件夹。\n",
"# Base / SFT / Base-LoRA 三个平铺工作流可直接运行。"
],
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"metadata": {},
"source": [
"# 生图测试(服务运行后)\n",
"!/marimo_moss/.venv/bin/python /marimo_moss/validate_moss.py"
],
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"metadata": {},
"source": [
"# 测试成功后手动备份到 MOSS 专用桶\n",
"# bash /marimo_moss/backup.sh\n",
"# 恢复:bash /marimo_moss/restore.sh /marimo_moss"
],
"execution_count": null,
"outputs": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
}
},
"nbformat": 4,
"nbformat_minor": 5
}

Xet Storage Details

Size:
2.33 kB
·
Xet hash:
7bd2ec47ae0c9780474e76f84b0cdb0bb7a81cfbdb58071513937992f039a2ed

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.