Cuda 应用程序部署

平台部署应用的标准操作是通过流水线发布或者外部应用导入方式,通过 cuda-runtime 运行 cuda 应用程序,原理如下

在架构图上添加服务模块(也可使用主模块)和 cuda-runtime,并连线

image-20240628175402328

到目标服务模块 deploy 目录下指定生产运行实例的运行容器

image-20240628175546531

上传 cuda 程序(此处演示使用 .sh 文件代替)到当前服务模块的 dist 目录下,若没有 dist 目录,新建 dist 目录

image-20240628181436957

在当前模块的 deploy 目录下编写程序启动脚本 start.sh

image-20240628181729708

发布后到应用 cuda-runtime 中查看程序执行结果

results matching ""

    No results matching ""