Skip to content

docs: rename nvidia.defaultMem to nvidia.defaultMemory in configure docs#451

Open
zzzkl wants to merge 1 commit into
Project-HAMi:masterfrom
zzzkl:fix/configure-defaultmem-rename
Open

docs: rename nvidia.defaultMem to nvidia.defaultMemory in configure docs#451
zzzkl wants to merge 1 commit into
Project-HAMi:masterfrom
zzzkl:fix/configure-defaultmem-rename

Conversation

@zzzkl

@zzzkl zzzkl commented Jun 16, 2026

Copy link
Copy Markdown

What this PR does

The device configuration table in the user guide lists the default memory option as nvidia.defaultMem, but the actual ConfigMap field is defaultMemory (Go struct tag yaml:"defaultMemory" in pkg/device/nvidia/device.go).

defaultMem was the name of the original CLI flag (--default-mem, default 5000), introduced back in 2021. That flag was later superseded by the ConfigMap-based defaultMemory field and has since been removed from the scheduler. The docs were never updated, so users following them set a key that has no effect.

This PR renames nvidia.defaultMem -> nvidia.defaultMemory in:

  • docs/userguide/configure.md (current, EN)
  • i18n/zh/docusaurus-plugin-content-docs/current/userguide/configure.md (current, ZH)
  • versioned_docs/version-v2.8.0/userguide/configure.md (v2.8.0, EN)
  • i18n/zh/docusaurus-plugin-content-docs/version-v2.8.0/userguide/configure.md (v2.8.0, ZH)

Older versioned snapshots are intentionally left untouched.

AI assistance disclosure

This change was prepared with AI assistance (Claude Code).

@netlify

netlify Bot commented Jun 16, 2026

Copy link
Copy Markdown

Deploy Preview for project-hami ready!

Name Link
🔨 Latest commit f79bca6
🔍 Latest deploy log https://app.netlify.com/projects/project-hami/deploys/6a3133dfae2e4200077d3e07
😎 Deploy Preview https://deploy-preview-451--project-hami.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@hami-robot hami-robot Bot requested review from archlitchi and rootsongjc June 16, 2026 11:14
@hami-robot

hami-robot Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: zzzkl
Once this PR has been reviewed and has the lgtm label, please assign wawa0210 for approval. For more information see the Kubernetes Code Review Process.

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

Details 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

@hami-robot

hami-robot Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Welcome @zzzkl! It looks like this is your first PR to Project-HAMi/website 🎉

@hami-robot hami-robot Bot added the size/XS label Jun 16, 2026
@zzzkl zzzkl force-pushed the fix/configure-defaultmem-rename branch 2 times, most recently from e707582 to 93b1e42 Compare June 16, 2026 11:19
The ConfigMap field is named 'defaultMemory' (struct tag yaml:"defaultMemory"),
not 'defaultMem'. 'defaultMem' was the legacy CLI flag name (--default-mem),
which has since been removed. Update the configure docs (current + v2.8.0,
EN + ZH) to match the actual configuration key.

Signed-off-by: zzzkl <zhaokailin@gmail.com>
@zzzkl zzzkl force-pushed the fix/configure-defaultmem-rename branch from 93b1e42 to f79bca6 Compare June 16, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant