openhydra / open-hydra

online develop environment management platform
Apache License 2.0
32 stars 9 forks source link

支持mindspore框架 #18

Open zhangjinnan opened 4 months ago

zhangjinnan commented 4 months ago

OpenHydra平台支持mindspore 现在OpenHydra支持xEdu、PaddlePaddle等框架,可以考虑集成华为的mindspore框架。

相关链接 https://www.hiascend.com/ https://www.mindspore.cn/

simonyangcj commented 4 months ago

我们就差一个镜像然后配置下界面上就有了

            "your-app": {
                "cpuImageName": "cpu image ",
                "gpuImageSet": {
                    "nvidia.com/gpu": "image run with nvidia gpu",
                    "amd.com/gpu": "image run with amd gpu",
                    "huawei.com/gpu": "image run with huawei gpu"
                },
                "icon_name": "your.png",
                "command": [],
                "args": [],
                "description": "your description",
                "developmentInfo": [
                    "keras-version: 2.6.1",
                    "tensorflow-version: 2.6.0",
                    "jupyter-lab-version: 4.0.9",
                    "lan: chinese | english"
                ],
                "ports": [
                  8888
                ],
                "volume_mounts": [
                    {
                        "name": "keras",
                        "mount_path": "/home/workspace"
                    },
                    {
                        "name": "public-dataset",
                        "mount_path": "/root/notebook/dataset-public",
                        "read_only": true
                    },
                    {
                        "name": "public-course",
                        "mount_path": "/root/notebook/course-public",
                        "read_only": true
                    }
                ],
                "volumes": [
                    {
                      "host_path": {
                        "name": "your-app",
                        "path": "{workspace}/your-app/{username}",
                        "type": "DirectoryOrCreate"
                      }
                    },
                    {
                      "host_path": {
                        "name": "public-dataset",
                        "path": "{dataset-public}",
                        "type": "DirectoryOrCreate"
                      }
                    },
                    {
                      "host_path": {
                        "name": "public-course",
                        "path": "{course-public}",
                        "type": "DirectoryOrCreate"
                      }
                    }
                ]
            },