Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide GPU version of lifelong cityscapes example. #414

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jaypume
Copy link
Member

@jaypume jaypume commented Jul 29, 2023

What type of PR is this?

kind/documentation

What this PR does / why we need it:

Provide GPU version of lifelong cityscapes example.

@kubeedge-bot
Copy link
Collaborator

@jaypume: The label(s) kind/documents cannot be applied, because the repository doesn't have them

In response to this:

What type of PR is this?

/kind documents

What this PR does / why we need it:

Provide GPU version of lifelong cityscapes example.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@kubeedge-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign jaypume after the PR has been reviewed.
You can assign the PR to them by writing /assign @jaypume in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubeedge-bot kubeedge-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 29, 2023
@jaypume jaypume force-pushed the cityscapes-gpu-example branch 3 times, most recently from 7e84918 to 6ebe33e Compare July 29, 2023 07:52
If you want GPU to accelerate training or inference in Sedna, you can follow the steps below to enable GPU:

> 1. Follow the instructions in [nvidia-device-plugin](https://github.com/NVIDIA/k8s-device-plugin#quick-start) to make nvidia-docker to be docker runtime.
> 2. Set config `devicePluginEnabled` to `true` and restart edgecore in the gpu edge node.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How to restart edge core? Show a link to the guidance will be better.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, link of KubeEdge docs has been added.

@jaypume jaypume force-pushed the cityscapes-gpu-example branch from 6ebe33e to c7cfe0e Compare August 9, 2023 03:55
@luosiqi
Copy link
Contributor

luosiqi commented Aug 9, 2023

\lgtm

Comment on lines +216 to +218

> 1. Follow the instructions in [nvidia-device-plugin](https://github.com/NVIDIA/k8s-device-plugin#quick-start) to make nvidia-docker to be docker runtime.
> 2. Set config `devicePluginEnabled` to `true` and restart edgecore in the gpu edge node. Please refer to this [doc](https://kubeedge.io/docs/setup/config#configuration-edge-side-kubeedge-worker-node) for configuring edgecore.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How should the edge container be configured when the runtime is containerd?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently not tested on containerd for edge. And if it is supported by Nvidia for kubernetes, it will support for kubeedge and also Sedna.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants