从芯片手册到实战:LPC84x微控制器架构解析与开发指南
2026/6/10 5:32:29
cd/d E:\My_Dream_2026_4_7\Flower_AIdockerbuild --no-cache-tflower-ai/cosyvoice:latest .\docker\cosyvoicedockerrun--rmflower-ai/cosyvoice:latest python-c"print(open('/app/cosyvoice_server.py', encoding='utf-8').read().find('已加载克隆音色列表'))"dockertag flower-ai/cosyvoice:latest registry.cn-hangzhou.aliyuncs.com/flower_shine_raod/flower_shine_raod_repository:cosyvoice-v1.0dockerpush registry.cn-hangzhou.aliyuncs.com/flower_shine_raod/flower_shine_raod_repository:cosyvoice-v1.0cd/d E:\My_Dream_2026_4_7\Flower_AIdockerbuild --no-cache-tflower-ai/musetalk-service:latest .\docker\musetalkdockerrun--rm--gpusall flower-ai/musetalk-service:latest python-c"import torch;print('torch', torch.__version__, torch.cuda.is_available(), torch.version.cuda)"dockerrun--rm--gpusall flower-ai/musetalk-service:latest python-c"import mmcv;print('mmcv', mmcv.__version__);import mmdet;print('mmdet', mmdet.__version__);import mmpose;print('mmpose', mmpose.__version__)"dockerrun--rmflower-ai/musetalk-service:latesttest-f/app/server.pydockertag flower-ai/musetalk-service:latest registry.cn-hangzhou.aliyuncs.com/flower_shine_raod/flower_shine_raod_repository:musetalk-service-v1.0dockerpush registry.cn-hangzhou.aliyuncs.com/flower_shine_raod/flower_shine_raod_repository:musetalk-service-v1.0cd/d E:\My_Dream_2026_4_7\Flower_AIdockerbuild-tflower-ai/musetalk-service-rtx50:latest.#如果想不走缓存,确保 server.py 一定打进去:#docker build --no-cache -t flower-ai/musetalk-service-rtx50:latest .构建后执行:
dockerrun--rmflower-ai/musetalk-service-rtx50:latest python3.10-c"from pathlib import Path; print(Path('/app/server.py').read_text(encoding='utf-8')[:500])"或者看版本号:
dockerrun--rmflower-ai/musetalk-service-rtx50:latest python3.10-c"from pathlib import Path; text=Path('/app/server.py').read_text(encoding='utf-8'); print('version=0.2.0' in text); print('/data/human-template/' in text)"应该输出:
True True推荐新版本:
dockertag flower-ai/musetalk-service-rtx50:latest registry.cn-hangzhou.aliyuncs.com/flower_shine_raod/flower_shine_raod_repository:musetalk-service-rtx50-v1.0#可选:如果你仍然希望 latest 也指向新镜像:#docker tag flower-ai/musetalk-service-rtx50:latest registry.cn-hangzhou.aliyuncs.com/flower_shine_raod/flower_shine_raod_repository:musetalk-service-rtx50-latest#推送到阿里云 ACRdockerpush registry.cn-hangzhou.aliyuncs.com/flower_shine_raod/flower_shine_raod_repository:musetalk-service-rtx50-v1.0#可选推送 latest:dockerpush registry.cn-hangzhou.aliyuncs.com/flower_shine_raod/flower_shine_raod_repository:musetalk-service-rtx50-latestdockerpull registry.cn-hangzhou.aliyuncs.com/flower_shine_raod/flower_shine_raod_repository:musetalk-service-rtx50-v1.1再检查镜像:
dockerimage inspect registry.cn-hangzhou.aliyuncs.com/flower_shine_raod/flower_shine_raod_repository:musetalk-service-rtx50-v1.0构建成功后再测:
dockerrm-fmusetalk-servicecd/d E:\My_Dream_2026_4_7\Flower_AI\docker\musetalkdockercompose up-dcurl.exe http://127.0.0.1:18005/health curl.exe-XPOST http://127.0.0.1:18005/lipsync ^-H"Content-Type: application/json"^-d"{\"taskId\":\"verify_rtx50\",\"refFileName\":\"11.jpeg\",\"audioFileName\":\"5546e9fc-72eb-41be-9146-ca1114823dfd.wav\",\"version\":\"v15\",\"bboxShift\":0,\"fps\":25}"推送完成后,本机或客户机要注意一点:同名 tag 不等于本地一定会自动更新。 如果客户机已经有旧的 musetalk-service-v1.0 镜像,最好先删旧镜像再拉:
dockercompose downdockerrmi registry.cn-hangzhou.aliyuncs.com/flower_shine_raod/flower_shine_raod_repository:musetalk-service-v1.0dockerpull registry.cn-hangzhou.aliyuncs.com/flower_shine_raod/flower_shine_raod_repository:musetalk-service-v1.0如果镜像被容器占用,先删容器:
dockerrm-fmusetalk-service然后再:
dockerrmi registry.cn-hangzhou.aliyuncs.com/flower_shine_raod/flower_shine_raod_repository:musetalk-service-v1.0dockerpull registry.cn-hangzhou.aliyuncs.com/flower_shine_raod/flower_shine_raod_repository:musetalk-service-v1.0cd/d E:\My_Dream_2026_4_7\Flower_AI\docker\comfy-gatewaydockerbuild --no-cache-tregistry.cn-hangzhou.aliyuncs.com/flower_shine_raod/flower_shine_raod_repository:comfy-gateway-v1.0.dockerpush registry.cn-hangzhou.aliyuncs.com/flower_shine_raod/flower_shine_raod_repository:comfy-gateway-v1.0客户机:
dockerrm-fcomfy-gatewaydockerimagermregistry.cn-hangzhou.aliyuncs.com/flower_shine_raod/flower_shine_raod_repository:comfy-gateway-v1.0dockerpull registry.cn-hangzhou.aliyuncs.com/flower_shine_raod/flower_shine_raod_repository:comfy-gateway-v1.0cd/d E:\Aflower\dockerdockercompose up-dcomfy-gateway然后再测:
curl-vhttp://127.0.0.1:18189/healthcurl-vhttp://127.0.0.1:18189/upstream/healthcurl-v-H"X-Flower-Internal-Token: 78ca43f419dbc2a877b5663a70bba71e0b1ba75555b161bc1541300d8e78bca4"http://127.0.0.1:18189/system_stats