Skip to content

Commit

Permalink
Rename neptune to sedna
Browse files Browse the repository at this point in the history
Signed-off-by: llhuii <liulinghui@huawei.com>
  • Loading branch information
llhuii committed Jan 28, 2021
1 parent 37efbff commit 32ef5c1
Show file tree
Hide file tree
Showing 166 changed files with 888 additions and 887 deletions.
2 changes: 1 addition & 1 deletion LICENSES/LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
================================================================================
= Neptune licensed under: =
= Sedna licensed under: =

Apache License
Version 2.0, January 2004
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ clean:
endif


IMAGE_REPO ?= ghcr.io/edgeai-neptune/neptune
IMAGE_REPO ?= ghcr.io/kubeedge/sedna
IMAGE_TAG ?= v1alpha1
GO_LDFLAGS ?=''

Expand Down
27 changes: 14 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
English | [简体中文](./README_zh.md)
# Neptune
[![CI](https://github.com/edgeai-neptune/neptune/workflows/CI/badge.svg?branch=main)](https://github.com/edgeai-neptune/neptune/actions)
[![Go Report Card](https://goreportcard.com/badge/github.com/edgeai-neptune/neptune)](https://goreportcard.com/report/github.com/edgeai-neptune/neptune)
[![LICENSE](https://img.shields.io/github/license/edgeai-neptune/neptune.svg?style=flat-square)](/LICENSE)
# Sedna
[![CI](https://github.com/kubeedge/sedna/workflows/CI/badge.svg?branch=main)](https://github.com/kubeedge/sedna/actions)
[![Go Report Card](https://goreportcard.com/badge/github.com/kubeedge/sedna)](https://goreportcard.com/report/github.com/kubeedge/sedna)
[![LICENSE](https://img.shields.io/github/license/kubeedge/sedna.svg?style=flat-square)](/LICENSE)

## What is Neptune?
## What is Sedna?

Neptune is an edge-cloud synergy AI project incubated in KubeEdge SIG AI. Benefiting from the edge-cloud synergy capabilities provided by KubeEdge, Neptune can implement across edge-cloud collaborative training and collaborative inference capabilities, such as joint inference, incremental learning, and federated learning. Neptune supports popular AI frameworks, such as TensorFlow, Pytorch, PaddlePaddle, MindSpore.
Sedna is an edge-cloud synergy AI project incubated in KubeEdge SIG AI. Benefiting from the edge-cloud synergy capabilities provided by KubeEdge, Sedna can implement across edge-cloud collaborative training and collaborative inference capabilities, such as joint inference, incremental learning, and federated learning. Sedna supports popular AI frameworks, such as TensorFlow, Pytorch, PaddlePaddle, MindSpore.

Neptune can simply enable edge-cloud synergy capabilities to existing training and inference scripts, bringing the benefits of reducing costs, improving model performance, and protecting data privacy.
Sedna can simply enable edge-cloud synergy capabilities to existing training and inference scripts, bringing the benefits of reducing costs, improving model performance, and protecting data privacy.


**Currently, this project is in the preview and being promoted to enter the KubeEdge community.**

## Features

Neptune has the following features:
Sedna has the following features:

* Provide the edge-cloud synergy AI framework.
* Provide dataset and model management across edge-cloud, helping developers quickly implement synergy AI applications.
Expand All @@ -32,7 +32,7 @@ Neptune has the following features:


## Architecture
#### Neptune's edge-cloud synergy is implemented based on the following capabilities provided by KubeEdge:
#### Sedna's edge-cloud synergy is implemented based on the following capabilities provided by KubeEdge:
* Unified orchestration of across edge-cloud applications.
* Router: across edge-cloud message channel in management plane.
* EdgeMesh: across edge-cloud microservice discovery and traffic governance in data plane.
Expand All @@ -45,7 +45,7 @@ Neptune has the following features:


### Component
Neptune consists of the following components:
Sedna consists of the following components:

#### GlobalManager
* Unified edge-cloud synergy AI task management
Expand All @@ -71,7 +71,7 @@ Neptune consists of the following components:

## Guides
### Installation
Follow the [Neptune installation document](docs/setup/install.md) to install Neptune.
Follow the [Sedna installation document](docs/setup/install.md) to install Sedna.

### Examples
Example1:[Joint Inference Service in Helmet Detection Scenario](/examples/joint_inference/helmet_detection_inference/README.md).
Expand Down Expand Up @@ -105,9 +105,10 @@ If you have questions, feel free to reach out to us in the following ways:
<!--
## Contributing
If you're interested in being a contributor and want to get involved in developing the Neptune code, please see [CONTRIBUTING](CONTRIBUTING.md) for details on submitting patches and the contribution workflow.
If you're interested in being a contributor and want to get involved in developing the Sedna code, please see [CONTRIBUTING](CONTRIBUTING.md) for details on submitting patches and the contribution workflow.
-->

## License

Neptune is under the Apache 2.0 license. See the [LICENSE](LICENSE) file for details.
Sedna is under the Apache 2.0 license. See the [LICENSE](LICENSE) file for details.

24 changes: 12 additions & 12 deletions README_zh.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
简体中文 | [English](./README.md)
# Neptune
[![CI](https://github.com/edgeai-neptune/neptune/workflows/CI/badge.svg?branch=main)](https://github.com/edgeai-neptune/neptune/actions)
[![Go Report Card](https://goreportcard.com/badge/github.com/edgeai-neptune/neptune)](https://goreportcard.com/report/github.com/edgeai-neptune/neptune)
[![LICENSE](https://img.shields.io/github/license/edgeai-neptune/neptune.svg?style=flat-square)](/LICENSE)
# Sedna
[![CI](https://github.com/kubeedge/sedna/workflows/CI/badge.svg?branch=main)](https://github.com/kubeedge/sedna/actions)
[![Go Report Card](https://goreportcard.com/badge/github.com/kubeedge/sedna)](https://goreportcard.com/report/github.com/kubeedge/sedna)
[![LICENSE](https://img.shields.io/github/license/kubeedge/sedna.svg?style=flat-square)](/LICENSE)

## 什么是Neptune?
Neptune是在KubeEdge SIG AI中孵化的一个边云协同AI项目。得益于KubeEdge提供的边云协同能力,Neptune可以实现跨边云的协同训练和协同推理能力,如联合推理、增量学习、联邦学习等。Neptune支持目前广泛使用的AI框架,如TensorFlow/Pytorch/PaddlePaddle/MindSpore等,现有AI类应用可以无缝迁移到Neptune, 快速实现边云协同的训练和推理,可在降低成本、提升模型性能、保护数据隐私等方面获得提升。
## 什么是Sedna?
Sedna是在KubeEdge SIG AI中孵化的一个边云协同AI项目。得益于KubeEdge提供的边云协同能力,Sedna可以实现跨边云的协同训练和协同推理能力,如联合推理、增量学习、联邦学习等。Sedna支持目前广泛使用的AI框架,如TensorFlow/Pytorch/PaddlePaddle/MindSpore等,现有AI类应用可以无缝迁移到Sedna, 快速实现边云协同的训练和推理,可在降低成本、提升模型性能、保护数据隐私等方面获得提升。

**目前项目处于preview状态,正在推动进入KubeEdge社区**

## 项目特性
Neptune具有如下特性
Sedna具有如下特性
* 提供边云协同AI基础框架
* 提供基础的边云协同数据集管理、模型管理,方便开发者快速开发边云协同AI应用
* 提供边云协同训练和推理框架
Expand All @@ -24,7 +24,7 @@ Neptune具有如下特性:


## 架构
Neptune的边云协同基于KubeEdge提供的如下能力实现
Sedna的边云协同基于KubeEdge提供的如下能力实现
* 跨边云应用统一编排
* Router: 管理面云边高可靠消息通道
* EdgeMesh: 数据面跨边云微服务发现和流量治理
Expand All @@ -35,7 +35,7 @@ Neptune的边云协同基于KubeEdge提供的如下能力实现


### 组件
Neptune由以下组件构建
Sedna由以下组件构建


#### GlobalManager
Expand All @@ -59,7 +59,7 @@ Neptune由以下组件构建:

## 文档
### 安装
Neptune的安装文档请参考[这里](/docs/setup/install.md)
Sedna的安装文档请参考[这里](/docs/setup/install.md)

### 样例
样例1:[大小模型协同推理](/examples/joint_inference/helmet_detection_inference/README.md)
Expand Down Expand Up @@ -92,10 +92,10 @@ Neptune的安装文档请参考[这里](/docs/setup/install.md)。
<!--
## 贡献
如果您有兴趣成为一个贡献者,也想参与到Neptune的代码开发中
如果您有兴趣成为一个贡献者,也想参与到Sedna的代码开发中
请查看[CONTRIBUTING](CONTRIBUTING.md)获取更多关于如何提交Patch和贡献的流程。
-->

## 许可证

Neptune基于Apache 2.0许可证,查看[LICENSE](LICENSE)获取更多信息。
Sedna基于Apache 2.0许可证,查看[LICENSE](LICENSE)获取更多信息。
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: neptune.io/v1alpha1
apiVersion: sedna.io/v1alpha1
kind: Dataset
metadata:
name: "dataset-demo0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: neptune.io/v1alpha1
apiVersion: sedna.io/v1alpha1
kind: FederatedLearningJob
metadata:
name: surface-defect-detection
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: neptune.io/v1alpha1
apiVersion: sedna.io/v1alpha1
kind: IncrementalLearningJob
metadata:
name: helmet-detection-demo
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: neptune.io/v1alpha1
apiVersion: sedna.io/v1alpha1
kind: JointInferenceService
metadata:
name: example
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: neptune.io/v1alpha1
apiVersion: sedna.io/v1alpha1
kind: Model
metadata:
name: model-demo1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: datasets.neptune.io
name: datasets.sedna.io
spec:
group: neptune.io
group: sedna.io
names:
kind: Dataset
plural: datasets
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: federatedlearningjobs.neptune.io
name: federatedlearningjobs.sedna.io
spec:
group: neptune.io
group: sedna.io
names:
kind: FederatedLearningJob
plural: federatedlearningjobs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: incrementallearningjobs.neptune.io
name: incrementallearningjobs.sedna.io
spec:
group: neptune.io
group: sedna.io
names:
kind: IncrementalLearningJob
plural: incrementallearningjobs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: jointinferenceservices.neptune.io
name: jointinferenceservices.sedna.io
spec:
group: neptune.io
group: sedna.io
names:
kind: JointInferenceService
plural: jointinferenceservices
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: models.neptune.io
name: models.sedna.io
spec:
group: neptune.io
group: sedna.io
names:
kind: Model
plural: models
Expand Down
6 changes: 3 additions & 3 deletions build/gm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ COPY . .
RUN make build WHAT=gm GO_LDFLAGS=$GO_LDFLAGS OUT_DIR=_output

# ALT: just using go build
# RUN CGO_ENABLED=0 go build -o _output/bin/neptune-gm -ldflags "$GO_LDFLAGS -w -s" cmd/neptune-gm/neptune-gm.go
# RUN CGO_ENABLED=0 go build -o _output/bin/sedna-gm -ldflags "$GO_LDFLAGS -w -s" cmd/sedna-gm/sedna-gm.go

FROM alpine:3.11

COPY --from=builder /code/_output/bin/neptune-gm /usr/local/bin/neptune-gm
COPY --from=builder /code/_output/bin/sedna-gm /usr/local/bin/sedna-gm

COPY build/gm/gm-config.yaml /gm.yaml

CMD ["neptune-gm", "--config", "/gm.yaml"]
CMD ["sedna-gm", "--config", "/gm.yaml"]
2 changes: 1 addition & 1 deletion build/gm/gm-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kubeConfig: /root/.kube/config
master: ""
namespace: default
imageHub:
"tensorflow:1.15": "docker.io/neptune/tensorflow-base-image-to-filled:1.15"
"tensorflow:1.15": "docker.io/sedna/tensorflow-base-image-to-filled:1.15"
websocket:
address: 0.0.0.0
port: 9000
Expand Down
20 changes: 10 additions & 10 deletions build/gm/rbac/gm.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
apiVersion: v1
kind: Namespace
metadata:
name: neptune
name: sedna
---
# cluster role
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: neptune
name: sedna
rules:
# list/watch these ai-feature crds
- apiGroups:
- neptune.io
- sedna.io
resources:
- datasets
- models
Expand All @@ -25,7 +25,7 @@ rules:

# update crd status
- apiGroups:
- neptune.io
- sedna.io
resources:
- datasets/status
- models/status
Expand Down Expand Up @@ -76,18 +76,18 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: neptune
name: sedna
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: neptune
name: sedna
subjects:
- kind: ServiceAccount
name: neptune
namespace: neptune
name: sedna
namespace: sedna
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: neptune
namespace: neptune
name: sedna
namespace: sedna
4 changes: 2 additions & 2 deletions build/lc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ RUN make build WHAT=lc GO_LDFLAGS=$GO_LDFLAGS OUT_DIR=_output

FROM alpine:3.11

COPY --from=builder /code/_output/bin/neptune-lc /usr/local/bin/neptune-lc
COPY --from=builder /code/_output/bin/sedna-lc /usr/local/bin/sedna-lc

CMD ["neptune-lc"]
CMD ["sedna-lc"]
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
"k8s.io/component-base/term"
"k8s.io/klog/v2"

"github.com/edgeai-neptune/neptune/cmd/neptune-gm/app/options"
controller "github.com/edgeai-neptune/neptune/pkg/globalmanager"
"github.com/edgeai-neptune/neptune/pkg/util"
"github.com/edgeai-neptune/neptune/pkg/version/verflag"
"github.com/kubeedge/sedna/cmd/sedna-gm/app/options"
controller "github.com/kubeedge/sedna/pkg/globalmanager"
"github.com/kubeedge/sedna/pkg/util"
"github.com/kubeedge/sedna/pkg/version/verflag"
)

// PrintFlags logs the flags in the flagset
Expand All @@ -27,8 +27,8 @@ func PrintFlags(flags *pflag.FlagSet) {
func NewControllerCommand() *cobra.Command {
opts := options.NewControllerOptions()
cmd := &cobra.Command{
Use: "neptune-gm",
Long: `neptune-gm is the core cloud part of Neptune.`,
Use: "sedna-gm",
Long: `sedna-gm is the core cloud part of Sedna.`,
Run: func(cmd *cobra.Command, args []string) {
verflag.PrintAndExitIfRequested()
PrintFlags(cmd.Flags())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"k8s.io/apimachinery/pkg/util/validation/field"
cliflag "k8s.io/component-base/cli/flag"

"github.com/edgeai-neptune/neptune/pkg/globalmanager/config"
"github.com/edgeai-neptune/neptune/pkg/util"
"github.com/kubeedge/sedna/pkg/globalmanager/config"
"github.com/kubeedge/sedna/pkg/util"
)

// DefaultConfigDir default current working directory
Expand All @@ -22,7 +22,7 @@ type ControllerOptions struct {
// NewControllerOptions creates a new gm options
func NewControllerOptions() *ControllerOptions {
return &ControllerOptions{
ConfigFile: path.Join(DefaultConfigDir, "neptune-gm.yaml"),
ConfigFile: path.Join(DefaultConfigDir, "sedna-gm.yaml"),
}
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/neptune-gm/neptune-gm.go → cmd/sedna-gm/sedna-gm.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"k8s.io/component-base/logs"

"github.com/edgeai-neptune/neptune/cmd/neptune-gm/app"
"github.com/kubeedge/sedna/cmd/sedna-gm/app"
)

func main() {
Expand Down
File renamed without changes.
Loading

0 comments on commit 32ef5c1

Please sign in to comment.