Skip to content

Commit aac6d61

Browse files
Merge pull request #112 from DSFans2014/fix/typo
fix: fix typos
2 parents 21e7ac8 + 05fb422 commit aac6d61

File tree

270 files changed

+665
-665
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

270 files changed

+665
-665
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
- add ut for ascend by ([@shijinye](https://github.com/shijinye)) in [#664](https://github.com/Project-HAMi/HAMi/pull/664)
8888
- optimization map init in test by ([@lengrongfu](https://github.com/lengrongfu)) in [#678](https://github.com/Project-HAMi/HAMi/pull/678)
8989
- Optimize monitor by ([@for800000](https://github.com/for800000)) in [#683](https://github.com/Project-HAMi/HAMi/pull/683)
90-
- fix code lint faild by ([@lengrongfu](https://github.com/lengrongfu)) in [#685](https://github.com/Project-HAMi/HAMi/pull/685)
90+
- fix code lint failed by ([@lengrongfu](https://github.com/lengrongfu)) in [#685](https://github.com/Project-HAMi/HAMi/pull/685)
9191
- fix(helm): Add NODE_NAME env var to the vgpu-monitor container from spec.nodeName by ([@Nimbus318](https://github.com/Nimbus318)) in [#687](https://github.com/Project-HAMi/HAMi/pull/687)
9292
- fix vGPUmonitor deviceidx is always 0 by ([@lengrongfu](https://github.com/lengrongfu)) in [#684](https://github.com/Project-HAMi/HAMi/pull/684)
9393
- add ut for pkg/scheduler/event.go by ([@Penguin-zlh](https://github.com/Penguin-zlh)) in [#688](https://github.com/Project-HAMi/HAMi/pull/688)

blog/2024-12-31-post/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,7 +1600,7 @@ type DevicePluginServer interface {
16001600
// Plugin can run device specific operations and instruct Kubelet
16011601
// of the steps to make the Device available in the container
16021602
Allocate(context.Context, *AllocateRequest) (*AllocateResponse, error)
1603-
// PreStartContainer is called, if indicated by Device Plugin during registeration phase,
1603+
// PreStartContainer is called, if indicated by Device Plugin during registration phase,
16041604
// before each container start. Device plugin can run device specific operations
16051605
// such as resetting the device before making devices available to the container
16061606
PreStartContainer(context.Context, *PreStartContainerRequest) (*PreStartContainerResponse, error)
@@ -1678,7 +1678,7 @@ func (plugin *NvidiaDevicePlugin) WatchAndRegister() {
16781678
errorSleepInterval := time.Second * 5
16791679
successSleepInterval := time.Second * 30
16801680
for {
1681-
err := plugin.RegistrInAnnotation()
1681+
err := plugin.RegisterInAnnotation()
16821682
if err != nil {
16831683
klog.Errorf("Failed to register annotation: %v", err)
16841684
klog.Infof("Retrying in %v seconds...", errorSleepInterval)
@@ -1692,7 +1692,7 @@ func (plugin *NvidiaDevicePlugin) WatchAndRegister() {
16921692
```
16931693

16941694
```golang
1695-
func (plugin *NvidiaDevicePlugin) RegistrInAnnotation() error {
1695+
func (plugin *NvidiaDevicePlugin) RegisterInAnnotation() error {
16961696
devices := plugin.getAPIDevices()
16971697
klog.InfoS("start working on the devices", "devices", devices)
16981698
annos := make(map[string]string)

changelog/source/v2.5.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ authors:
6666
- add ut for ascend by ([@shijinye](https://github.com/shijinye)) in [#664](https://github.com/Project-HAMi/HAMi/pull/664)
6767
- optimization map init in test by ([@lengrongfu](https://github.com/lengrongfu)) in [#678](https://github.com/Project-HAMi/HAMi/pull/678)
6868
- Optimize monitor by ([@for800000](https://github.com/for800000)) in [#683](https://github.com/Project-HAMi/HAMi/pull/683)
69-
- fix code lint faild by ([@lengrongfu](https://github.com/lengrongfu)) in [#685](https://github.com/Project-HAMi/HAMi/pull/685)
69+
- fix code lint failed by ([@lengrongfu](https://github.com/lengrongfu)) in [#685](https://github.com/Project-HAMi/HAMi/pull/685)
7070
- fix(helm): Add NODE_NAME env var to the vgpu-monitor container from spec.nodeName by ([@Nimbus318](https://github.com/Nimbus318)) in [#687](https://github.com/Project-HAMi/HAMi/pull/687)
7171
- fix vGPUmonitor deviceidx is always 0 by ([@lengrongfu](https://github.com/lengrongfu)) in [#684](https://github.com/Project-HAMi/HAMi/pull/684)
7272
- add ut for pkg/scheduler/event.go by ([@Penguin-zlh](https://github.com/Penguin-zlh)) in [#688](https://github.com/Project-HAMi/HAMi/pull/688)
@@ -160,4 +160,4 @@ authors:
160160
- phoenixwu0229 ([@phoenixwu0229](https://github.com/phoenixwu0229))
161161
- chinaran ([@chinaran](https://github.com/chinaran))
162162

163-
**Full Changelog**: https://github.com/Project-HAMi/HAMi/compare/v2.4.1...v2.5.0
163+
**Full Changelog**: https://github.com/Project-HAMi/HAMi/compare/v2.4.1...v2.5.0
File renamed without changes.

docs/contributor/goverance.md renamed to docs/contributor/governance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Goverance
2+
title: Governance
33
---
44

55
Heterogeneous AI Computing Virtualization Middleware (HAMi), formerly known as k8s-vGPU-scheduler, is an "all-in-one" tools designed to manage Heterogeneous AI Computing Devices in a k8s cluster

docs/contributor/ladder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Contributer Ladder
2+
title: Contributor Ladder
33
---
44

55
This docs different ways to get involved and level up within the project. You can see different roles within the project in the contributor roles.

docs/developers/Dynamic-mig.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ HAMi is done by using [hami-core](https://github.com/Project-HAMi/HAMi-core), wh
1919
- CPU, Mem, and GPU combined schedule
2020
- GPU dynamic slice: Hami-core and MIG
2121
- Support node-level binpack and spread by GPU memory, CPU and Mem
22-
- A unified vGPU Pool different virtualization technics
22+
- A unified vGPU Pool different virtualization techniques
2323
- Tasks can choose to use MIG, use HAMi-core, or use both.
2424

2525
### Config maps
@@ -104,7 +104,7 @@ data:
104104
105105
## Examples
106106
107-
Dynamic mig is compatable with hami tasks, as the example below:
107+
Dynamic mig is compatible with hami tasks, as the example below:
108108
Just Setting `nvidia.com/gpu` and `nvidia.com/gpumem`.
109109

110110
```yaml
@@ -149,7 +149,7 @@ The Procedure of a vGPU task which uses dynamic-mig is shown below:
149149

150150
<img src="https://github.com/Project-HAMi/HAMi/blob/master/docs/develop/imgs/hami-dynamic-mig-procedure.png?raw=true" width = "800" />
151151

152-
Note that after submited a task, deviceshare plugin will iterate over templates defined in configMap `hami-scheduler-device`, and find the first available template to fit. You can always change the content of that configMap, and restart vc-scheduler to customize.
152+
Note that after submitted a task, deviceshare plugin will iterate over templates defined in configMap `hami-scheduler-device`, and find the first available template to fit. You can always change the content of that configMap, and restart vc-scheduler to customize.
153153

154154
If you submit the example on an empty A100-PCIE-40GB node, then it will select a GPU and choose MIG template below:
155155

docs/developers/protocol.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ HAMi needs to know the spec of each AI devices in the cluster in order to schedu
1212

1313
```
1414
hami.io/node-handshake-\{device-type\}: Reported_\{device_node_current_timestamp\}
15-
hami.io/node-\{deivce-type\}-register: \{Device 1\}:\{Device2\}:...:\{Device N\}
15+
hami.io/node-\{device-type\}-register: \{Device 1\}:\{Device2\}:...:\{Device N\}
1616
```
1717

18-
The definiation of each device is in the following format:
18+
The definition of each device is in the following format:
1919
```
2020
\{Device UUID\},\{device split count\},\{device memory limit\},\{device core limit\},\{device type\},\{device numa\},\{healthy\}
2121
```

docs/developers/scheduling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ GPU spread, use different GPU cards when possible, egs:
8282

8383
### Node-scheduler-policy
8484

85-
![node-shceduler-policy-demo.png](../resources/node-shceduler-policy-demo.png)
85+
![node-scheduler-policy-demo.png](../resources/node-scheduler-policy-demo.png)
8686

8787
#### Binpack
8888

@@ -166,4 +166,4 @@ GPU1 Score: ((20+10)/100 + (1000+2000)/8000)) * 10 = 6.75
166166
GPU2 Score: ((20+70)/100 + (1000+6000)/8000)) * 10 = 17.75
167167
```
168168

169-
So, in `Spread` policy we can select `GPU1`.
169+
So, in `Spread` policy we can select `GPU1`.

docs/get-started/deploy-with-helm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ spec:
160160
nvidia.com/gpumem: 10240 # Each vGPU contains 10240m device memory (Optional,Integer)
161161
```
162162
163-
#### 2. Verify in container resouce control {#verify-in-container-resouce-control}
163+
#### 2. Verify in container resource control {#verify-in-container-resource-control}
164164
165165
Execute the following query command:
166166

0 commit comments

Comments
 (0)