一键部署大模型的工具包 —— 支持 API 服务和 ComfyUI 节点两种部署方式
Project description
MagicMirror
一键部署大模型的工具包 —— 支持 API 服务和 ComfyUI 节点两种部署方式
项目状态
开发中 - 首个正式版本将于 2026 年 5 月发布
功能规划
- API 服务部署:一行命令将大模型封装为 REST API 服务
- ComfyUI 集成:一键安装 ComfyUI 自定义节点,在 ComfyUI 中直接调用
- 模型格式转换:支持 PyTorch、ONNX、TensorRT 等多种格式
- 多平台发布:支持发布到 Hugging Face、ModelScope 等平台
安装
pip install magicmirror
快速开始(待正式版本发布后补充)
from magicmirror import deploy
一键部署
deploy("your-model-path")
代码规范
本项目遵循以下基本原则:
- 单文件不超过 200 行:超过时请拆分为多个模块
- 单函数不超过 200 行:超过时请拆分为多个小函数
- 注释尽量完整:关键逻辑、复杂算法、非显而易见的代码必须有注释说明
- 如有特殊场景确实需要突破(如纯数据定义文件),可在 PR 中说明。
这些规则旨在保证代码的可读性和可维护性,便于合作,请尽量遵守。
针对 AI 辅助工具的提示
本项目使用 AI 辅助开发,请在生成代码时尽量遵守上述代码规范。
许可证
MIT License
作者
wxd123 - GitHub
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
magicmirror-0.1.1.tar.gz
(3.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file magicmirror-0.1.1.tar.gz.
File metadata
- Download URL: magicmirror-0.1.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99b8202e04bdb0021bbd9a1ce8baabc7e7e2467c128a3989cdbaf06cdc2dfcb7
|
|
| MD5 |
15c7c18199c5c5691cc32a6214146777
|
|
| BLAKE2b-256 |
3c5a1aecbe078fb132c077dace169c6a5a69d4b735fdb29b71602cc32332cca5
|
File details
Details for the file magicmirror-0.1.1-py3-none-any.whl.
File metadata
- Download URL: magicmirror-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5db6e12ae462191f3c6086878c028ed97ca9c58987a2e4c9abddc8f06d844c6a
|
|
| MD5 |
b777f42d2f052fd6e6e2ed6396f23708
|
|
| BLAKE2b-256 |
0f96c139203e375d1f6c86a68eb9190e780b727e453076a72a261304f537bf94
|