Skip to content

Commit fb952f4

Browse files
authored
fix typo by codespell (#232)
Signed-off-by: Jooho Lee <[email protected]>
1 parent 1275430 commit fb952f4

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

DEVELOPMENT.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ $ kubectl --context llm-d-inference-scheduler-dev get service inference-gateway
5858
# Wait for the LoadBalancer External-IP to become available. The service is accessible over port 80.
5959
```
6060

61-
You can now make requests macthing the IP:port of one of the access mode above:
61+
You can now make requests matching the IP:port of one of the access mode above:
6262

6363
```bash
6464
$ curl -s -w '\n' http://<IP:port>/v1/completions -H 'Content-Type: application/json' -d '{"model":"food-review","prompt":"hi","max_tokens":10,"temperature":0}' | jq
6565
```
6666

6767
By default the created inference gateway, can be accessed on port 30080. This can
68-
be overriden to any free port in the range of 30000 to 32767, by running the above
68+
be overridden to any free port in the range of 30000 to 32767, by running the above
6969
command as follows:
7070

7171
```bash
@@ -189,7 +189,7 @@ kubectl config set-context --current --namespace="${NAMESPACE}"
189189
export HF_TOKEN="<HF_TOKEN>"
190190
```
191191

192-
Download the `llm-d-kv-cache-manager` repository (the instllation script and Helm chart to install the vLLM environment):
192+
Download the `llm-d-kv-cache-manager` repository (the installation script and Helm chart to install the vLLM environment):
193193

194194
```bash
195195
cd .. && git clone [email protected]:llm-d/llm-d-kv-cache-manager.git
@@ -206,7 +206,7 @@ make env-dev-kubernetes
206206

207207
This will deploy the entire stack to whatever namespace you chose.
208208
> [!NOTE]
209-
> The model and images of each componet can be replaced. See [Environment Configuration](#environment-configuration) for model settings.
209+
> The model and images of each component can be replaced. See [Environment Configuration](#environment-configuration) for model settings.
210210
211211
You can test by exposing the `inference gateway` via port-forward:
212212

docs/create_new_filter.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Plugins are used to modify llm-d-inference-scheduler's default behavior. Filter
1717
run in succession to produce the final candidate list which is then evaluated,
1818
through the process of _scoring_, to select the most appropriate target Pods.
1919
While llm-d-inference-scheduler comes with several existing filters and
20-
more are availble in the upstream [Gateway API Inference Extension](https://sigs.k8s.io/gateway-api-inference-extension),
21-
in some cases it may be desireable to create and deploy custom filtering code to
20+
more are available in the upstream [Gateway API Inference Extension](https://sigs.k8s.io/gateway-api-inference-extension),
21+
in some cases it may be desirable to create and deploy custom filtering code to
2222
match your specific requirements.
2323

2424
The filters` main operating function is
@@ -33,9 +33,9 @@ The `Filter` function accepts a `SchedulingContext` (e.g., containing the
3333
to make scheduling decisions. The function returns a (possibly smaller) array
3434
of `Pod`s which satisfy the filtering criteria.
3535

36-
## Code walkthough
36+
## Code walkthrough
3737

38-
The top of the file has the expected Go package and import statments:
38+
The top of the file has the expected Go package and import statements:
3939

4040
```go
4141
package filter
@@ -56,7 +56,7 @@ Specifically, we import the Kubernetes `meta/v1` and `labels` packages to allow
5656
scheduling related objects) packages.
5757

5858
Next we define the `ByLabels` struct type, along with the relevant fields,
59-
and a consturctor function.
59+
and a constructor function.
6060

6161
```go
6262
// ByLabels filters out pods that do not match its label selector criteria

docs/dp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ This evolved version removes the requirement for sidecars on the **prefill node*
7474
## Worker Selection Logic
7575

7676
- **Decode Worker**:
77-
- Prefer longest prefix match / KV cache utilization (depends on avaialble scorers)
77+
- Prefer longest prefix match / KV cache utilization (depends on available scorers)
7878

7979
- **Prefill Worker**:
8080
- High prefix-cache hit rate

pkg/plugins/pre-request/pd_prerequest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func (p *PrefillHeaderHandler) PreRequest(_ context.Context, request *types.LLMR
7474
return // prefill profile failed to run or we chose not to run it, no-op in this case
7575
}
7676

77-
// TODO: should the scheme be conifgurable (e.g., https://)?
77+
// TODO: should the scheme be configurable (e.g., https://)?
7878
prefillURL := "http://" + net.JoinHostPort(prefillProfileRunResult.TargetPod.GetPod().Address, strconv.Itoa(targetPort))
7979
request.Headers[prefillPodHeader] = prefillURL
8080
}

pkg/scheduling/pd/scheduler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ func TestPDSchedule(t *testing.T) {
163163
Prompt: "12345678901",
164164
},
165165
input: []types.Pod{pod1, noRolePod1, noRolePod2},
166-
wantRes: nil, // doesn't mater which pod was selected
166+
wantRes: nil, // doesn't matter which pod was selected
167167
unwantedPodIDs: []string{pod1.GetPod().NamespacedName.String()},
168168
},
169169
}

0 commit comments

Comments
 (0)