-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e3dd544
commit 7d737cd
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,53 @@ Allocatable: | |
... | ||
``` | ||
|
||
## Arguments: | ||
|
||
``` | ||
HAMi mock device plugin for Kubernetes | ||
./k8s-device-plugin version | ||
Usage: | ||
-alsologtostderr | ||
log to standard error as well as files | ||
-debug | ||
debug mode | ||
-iluvatar-core-name string | ||
virtual cores for iluvatar to be allocated (default "iluvatar.ai/MR-V100.vCore") | ||
-iluvatar-resource-name string | ||
virtual devices for iluvatar to be allocated (default "iluvatar.ai/vgpu") | ||
-log_backtrace_at value | ||
when logging hits line file:N, emit a stack trace | ||
-log_dir string | ||
If non-empty, write log files in this directory | ||
-logtostderr | ||
log to standard error instead of files | ||
-mlu-resource-memory-name string | ||
virtual memory for npu to be allocated (default "huawei.com/Ascend910-memory") | ||
-mlu-resource-name string | ||
virtual devices for mlu to be allocated (default "cambricon.com/vmlu") | ||
-resource-cores string | ||
cores percentage to use (default "nvidia.com/gpucores") | ||
-resource-mem string | ||
gpu memory to allocate (default "nvidia.com/gpumem") | ||
-resource-mem-percentage string | ||
gpu memory fraction to allocate (default "nvidia.com/gpumem-percentage") | ||
-stderrthreshold value | ||
logs at or above this threshold go to stderr | ||
-v value | ||
log level for V logs | ||
-vmodule value | ||
comma-separated list of pattern=N settings for file-filtered logging | ||
``` | ||
|
||
## ManagedResources | ||
|
||
| Devices | Mocking Resources | | ||
| :--- | :----: | | ||
| Nvidia GPU | nvidia.com/gpumem, nvidia.com/gpumem-percentage, nvidia.com/gpucores | | ||
| Cambricon MLU | cambricon.com/vmlu | | ||
| Iluvatar GPU | iluvatar.ai/vgpu iluvatar.ai/vCore | | ||
| Ascend 910B | huawei.com/Ascend910-memory | | ||
|
||
## Maintainer | ||
|
||
[email protected] |