diff --git a/routers/home.go b/routers/home.go index ac607b5be..aab760611 100755 --- a/routers/home.go +++ b/routers/home.go @@ -41,6 +41,7 @@ const ( tplExploreExploreDataAnalysis base.TplName = "explore/data_analysis" tplHomeTerm base.TplName = "terms" tplHomePrivacy base.TplName = "privacy" + tplResoruceDesc base.TplName = "resource_desc" ) // Home render home page @@ -820,3 +821,7 @@ func HomeTerm(ctx *context.Context) { func HomePrivacy(ctx *context.Context) { ctx.HTML(200, tplHomePrivacy) } + +func HomeResoruceDesc(ctx *context.Context) { + ctx.HTML(200, tplResoruceDesc) +} \ No newline at end of file diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 9a523ea48..fd8bae7d7 100755 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -338,6 +338,7 @@ func RegisterRoutes(m *macaron.Macaron) { m.Get("/action/notification", routers.ActionNotification) m.Get("/recommend/home", routers.RecommendHomeInfo) m.Get("/dashboard/invitation", routers.GetMapInfo) + m.Get("/resource_desc", routers.HomeResoruceDesc) //m.Get("/recommend/org", routers.RecommendOrgFromPromote) //m.Get("/recommend/repo", routers.RecommendRepoFromPromote) m.Get("/recommend/userrank/:index", routers.GetUserRankFromPromote) diff --git a/templates/base/footer_content.tmpl b/templates/base/footer_content.tmpl index cdc2cf549..ce4ea5cc6 100755 --- a/templates/base/footer_content.tmpl +++ b/templates/base/footer_content.tmpl @@ -36,7 +36,8 @@ {{else}} {{.i18n.Tr "custom.foot.advice_feedback"}} {{end}} - + {{.i18n.Tr "custom.Platform_Tutorial"}} + {{template "custom/extra_links_footer" .}} diff --git a/templates/resource_desc.tmpl b/templates/resource_desc.tmpl new file mode 100644 index 000000000..e809541ad --- /dev/null +++ b/templates/resource_desc.tmpl @@ -0,0 +1,235 @@ +{{template "base/head_home" .}} + +
| 集群 | +计算资源 | +任务类型 | +卡类型 | +可用镜像 | +网络类型 | +数据集处理方式 | +容器目录说明 | +示例代码仓 | +备注 | +
|---|---|---|---|---|---|---|---|---|---|
| 启智集群 | +GPU | +调试任务 | +T4 | +
+
|
+ 能连外网 | +平台可解压数据集 | ++ 数据集存放路径/dataset,模型存放路径/model,代码存放路径/code + | ++ | + |
| 训练任务 | +V100 | +
+
|
+ 不能连外网 | ++ 训练脚本存储在/code中,数据集存储在/dataset中,预训练模型存放在环境变量ckpt_url中,训练输出请存储在/model中 + 以供后续下载。 + | ++ https://git.openi.org.cn/OpenIO + SSG/MNIST_PytorchExample_GPU + | ++ 启智集群V100不能连外网,只能使用平台的镜像,不可使用外部公开镜像,,否则任务会一直处于waiting + 状态 + | +|||
| A100 | +
+
|
+ 能连外网 | ++ | ||||||
| 推理任务 | +V100 | +
+
|
+ 不能连外网 | ++ 数据集存储在/dataset中,模型文件存储在/model中,推理输出请存储在/result中 + 以供后续下载。 + | ++ https://git.openi.org.cn/OpenIO + SSG/MNIST_PytorchExample_GPU/src/branch/master/inference.py + | ++ | |||
| 评测任务 | +V100 | +
+
|
+ 不能连外网 | ++ | + | + 模型评测时,先使用数据集功能上传模型,然后从数据集列表选模型。 + | +|||
| NPU | +调试任务 | +Ascend 910 | +
+
|
+ 能连外网 | ++ | + | + | ||
| 训练任务 | +Ascend 910 | ++ 数据集位置存储在环境变量data_url中,预训练模型存放在环境变量ckpt_url中,训练输出路径存储在环境变量train_url中。 + | ++ https://git.openi.org.cn/OpenIOSSG/MNIST_Example + | ++ | |||||
| 推理任务 | +Ascend 910 | ++ 数据集位置存储在环境变量data_url中,推理输出路径存储在环境变量result_url中。 + | ++ https://git.openi.org.cn/OpenIOSSG/MNIST_Example + | ++ | |||||
| 智算网络 | +GPU | +训练任务 | +V100 | +
+
|
+ 能连外网 | +用户自行解压数据 集 | ++ 训练脚本存储在/tmp/code中,数据集存储在/tmp/dataset中,预训练模型存放在环境变量ckpt_url中,训练输出请存储在/tmp/output中以供后续下载。 + | ++ https://git.openi.org.cn/OpenIO + SSG/MNIST_PytorchExample_GPU/src/branch/master/train_for_c + A100 2net.py + | ++ |
| A100 | +
+
|
+ 能连外网 | ++ | ||||||
| NPU | +训练任务 | +Ascend 910 | +
+
|
+ 能连外网 | ++ 训练脚本存储在/cache/code中,预训练模型存放在环境变量ckpt_url中,训练输出请存储在/cache/output中以供后续下载。 + | ++ https://git.openi.org.cn/OpenIO + SSG/MNIST_Example/src/branch/master/train_for_c2net.py + | ++ |