Skip to content

Commit

Permalink
doc(README): clarify env var, remove unused public ip field
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <[email protected]>
  • Loading branch information
gyuho committed Aug 21, 2024
1 parent 6608335 commit 85f789d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ Check out [*components*](./docs/COMPONENTS.md) for a detailed list of components

### Does GPUd send data to lepton.ai?

It is possible that GPUd sends basic host information to lepton.ai to help understand how GPUd is used (e.g., UUID, hostname). The data is strictly anonymized and **does not contain any senstive data**.
You can also disable this behavior by setting `GPUD_NO_USAGE_STATS=true` in /etc/default/gpud
It is possible that GPUd sends basic host information to lepton.ai to help understand how GPUd is used (e.g., UUID, hostname). The data is strictly anonymized and **does not contain any senstive data**. You can disable this behavior by setting `GPUD_NO_USAGE_STATS=true`. If GPUd is run with systemd (default option for the `gpud up` command), you can add `GPUD_NO_USAGE_STATS=true` to the `/etc/default/gpud` environment file.

Once you opt-in to the lepton.ai platform, the GPUd periodically sends more detailed information about the host (e.g., GPU model and metrics), via the secure channel.

Expand Down
4 changes: 2 additions & 2 deletions internal/login/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ func Login(name string, token string, endpoint string, components string, uid st

func Gossip(endpoint string, uid string, address string) error {
if os.Getenv("GPUD_NO_USAGE_STATS") == "true" {
log.Logger.Debugf("gossip skipped since GPUD_NO_USAGE_STATS=true specified")
log.Logger.Debug("gossip skipped since GPUD_NO_USAGE_STATS=true specified")
return nil
}

type payload struct {
Name string `json:"name"`
ID string `json:"id"`
PublicIP string `json:"public_ip"`
Provider string `json:"provider"`
DaemonVersion string `json:"daemon_version"`
}
Expand Down

0 comments on commit 85f789d

Please sign in to comment.