Fm partition#1190
Conversation
|
Skipping CI for Draft Pull Request. |
✅ Deploy Preview for dra-driver-nvidia-gpu ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: shengnuo The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
| # dir (e.g. x86_64-linux-gnu or aarch64-linux-gnu), so we normalize the location | ||
| # here and copy with -a to preserve the symlink chain. | ||
| RUN apt-get update \ | ||
| && apt-get install -y --no-install-recommends nvidia-fabricmanager-dev-580 \ |
There was a problem hiding this comment.
How can we ensure that versioning of libnvfm matches with driver installed by GPU operator?
| return nil | ||
| } | ||
| defer shutdown() | ||
| klog.Infof("!!!!!!!!!!!ensureNVML done") |
There was a problem hiding this comment.
ignore these debugging logs for now
|
PR needs rebase. DetailsInstructions 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-sigs/prow repository. |
|
@shengnuo @varunrsekar - why is |
@dims There was no existing pattern in go-nvlib to generate c-for-go bindings. And I followed the style of go-nvml to generate bindings for nvfm and made it a standalone importable package. Can you help justify why it needs to be in go-nvlib? |
What type of PR is this?
/kind feature
Which issue(s) this PR is related to:
Fixes #1070
Special notes for your reviewer:
Open Questions
nvml, thus FM attributes is unobtainable. Can FM attributes for vfio-pci bound devices be omitted until it's bound to nvidia driver again?Does this PR introduce a user-facing change?
Additional documentation (design docs, usage docs, etc.):
Checklist
make check testpasses locallymake check-generatepasses ifapi/changed (CRDs, deepcopy, informers, listers, clientset)make check-modulespasses ifgo.mod/go.sumchangeddeployments/helm) updated if flags, RBAC, or defaults changed