Skip to content

Commit afb214f

Browse files
authored
Fix more spelling, add more words to whitelist (#192)
1 parent 9462399 commit afb214f

File tree

22 files changed

+362
-271
lines changed

22 files changed

+362
-271
lines changed

.github/actions/spelling/allow.txt

Lines changed: 80 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
ACLs
22
ACR
33
AMD
4-
AWS
54
Alpstein
65
Balfrin
6+
Besard
77
Broyden
88
CFLAGS
99
CHARMM
@@ -17,17 +17,16 @@ Ceph
1717
Containerfile
1818
DNS
1919
Dockerfiles
20-
EDF
21-
EDFs
22-
EDFs
20+
Dufourspitze
2321
EMPA
2422
ETHZ
2523
Ehrenfest
2624
Errigal
2725
FFT
26+
Fawzi
2827
Fock
28+
Foket
2929
GAPW
30-
GCC
3130
GGA
3231
GPFS
3332
GPG
@@ -39,29 +38,41 @@ GTL
3938
Gaussian
4039
Google
4140
HDD
41+
HDDs
4242
HPC
4343
HPCP
4444
HPE
4545
HSN
4646
Hartree
47+
Invernizzi
4748
Jax
4849
Jira
4950
Keycloak
51+
Kwasniewski
5052
LAMMPS
53+
LAPACK
5154
LDA
55+
LLM
56+
LLMs
5257
LOCALID
5358
LUMI
5459
Libc
5560
Linaro
5661
Linux
62+
MDS
63+
MDSs
5764
MFA
5865
MLP
5966
MNDO
6067
MPICH
68+
Malvoisin
6169
MeteoSwiss
6270
NAMD
6371
NICs
6472
NVMe
73+
Nordend
74+
OSS
75+
OSSs
6576
OTP
6677
OTPs
6778
PASC
@@ -71,8 +82,10 @@ PID
7182
PMPI
7283
POSIX
7384
Parrinello
85+
Pintarelli
7486
Piz
7587
Plesset
88+
Podladchikov
7689
Pulay
7790
RCCL
7891
RDMA
@@ -83,22 +96,25 @@ Roothaan
8396
SSHService
8497
STMV
8598
Scopi
99+
Signalkuppe
86100
TOTP
87101
UANs
88102
UserLab
89-
VASP
90-
Waldur
91103
Wannier
92104
XDG
105+
Zumsteinspitz
93106
aarch
94107
aarch64
95108
acl
109+
artifactory
96110
autodetection
111+
aws
97112
baremetal
98113
biomolecular
99114
bristen
100115
bytecode
101116
capstor
117+
chatbot
102118
clariden
103119
concretise
104120
concretizer
@@ -109,39 +125,82 @@ cuda
109125
customised
110126
dcomex
111127
diagonalisation
128+
dimms
112129
dockerhub
113130
dotenv
131+
dropbear
132+
edf
133+
edfs
114134
eiger
115135
epyc
136+
fftw
116137
filesystems
117138
fontawesome
139+
gcc
140+
gdrcopy
141+
github
118142
gitlab
143+
gpt
119144
gpu
120145
groundstate
146+
gsl
147+
hdf
148+
huggingface
149+
hwloc
150+
iframe
121151
ijulia
122152
inodes
123153
iopsstor
124154
jfrog
155+
jobreport
156+
juhpc
157+
julia
158+
juliaup
159+
jupyter
160+
kokkos
125161
lexer
126162
libfabric
163+
linalg
164+
linux
165+
matlab
166+
meteo
127167
miniconda
168+
mkl
128169
mpi
129170
mps
130171
multitenancy
172+
nanotron
173+
nccl
174+
netlib
131175
netrc
132176
nsight
133177
numa
178+
nvcr
179+
nvdashboard
134180
nvidia
181+
nwp
135182
octicons
183+
ofi
184+
omlin
185+
omp
136186
oom
187+
osts
188+
osu
189+
papi
190+
pme
191+
pmi
137192
podman
138193
preinstalled
194+
prerelease
195+
prereleases
139196
prgenv
140197
prioritisation
198+
prioritise
141199
prioritised
142200
proactively
143201
pyfirecrest
144202
pytorch
203+
quantumespresso
145204
quickstart
146205
rocm
147206
runtime
@@ -151,6 +210,7 @@ sbatch
151210
screenshot
152211
slurm
153212
smartphone
213+
sourced
154214
sphericart
155215
squashfs
156216
srun
@@ -177,23 +237,36 @@ torchaudio
177237
torchvision
178238
treesitter
179239
trilinos
240+
trl
180241
uarch
181242
uenv
182243
uenvs
183244
uids
245+
utkin
184246
vCluster
185247
vClusters
248+
valgrind
249+
vasp
250+
vboost
186251
venv
187252
versioned
188253
versioning
254+
waldur
255+
wandb
189256
webhooks
190257
webinar
191258
webpage
192259
website
193260
wikipedia
261+
wikitext
262+
wlcg
194263
workaround
195264
workflows
196265
xattr
197266
xattrs
267+
xcb
268+
xfer
269+
xname
270+
xpmem
198271
youtube
199272
zstd

.github/actions/spelling/block-delimiters.list

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,11 @@
55
# ignore code blocks
66
```
77
```
8+
9+
# ignore indented code blocks
10+
```
11+
```
12+
13+
# ignore embedded iframes
14+
<iframe
15+
</iframe>
Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,29 @@
1-
# Recognized as "Firec" and "REST" with the regular rules, so in patterns.txt
2-
# instead of allow.txt
1+
# Recognized as separate words (e.g. "Firec" and "REST") with the regular rules,
2+
# so in patterns.txt instead of allow.txt
33
FirecREST
44
RESTful
5+
IPyParallel
6+
\`ENV\`ironment
57

68
# markdown figure
79
^!\[.*\]\(.*\)$
810

911
# Most obvious URLs
1012
https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)
1113

12-
# Markdown references (definition and use)
14+
# Markdown references and URLs (definition and use)
1315
^\[\]\(\){#[a-z-]+}$
14-
\]\(#[a-z-]+\)
16+
\]\([^\s]+\)
1517
\]\[[a-z-]+\]
1618

19+
# Markdown URLs
20+
1721
# Inline code
1822
\`[^\`]+\`
23+
24+
# kebab-case and snake_case words
25+
[a-z]+-[a-z-]+
26+
[a-z]+_[a-z_]+
27+
28+
# versions
29+
[0-9]+\.[.0-9]+(\+[0-9a-z]+)?

.github/workflows/spelling.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
suppress_push_for_open_pull_request: ${{ github.actor != 'dependabot[bot]' && 1 }}
3434
checkout: true
3535
check_file_names: 0
36-
only_check_changed_files: 1
37-
post_comment: 1
36+
only_check_changed_files: ${{ github.event.pull_request && 1 }}
37+
post_comment: ${{ github.event.pull_request && 1 }}
3838
use_magic_file: 1
3939
warnings: bad-regex,binary-file,deprecated-feature,large-file,limited-references,no-newline-at-eof,noisy-file,token-is-substring,unexpected-line-ending,whitespace-in-dictionary,minified-file,unsupported-configuration,no-files-to-check
4040
use_sarif: ${{ (!github.event.pull_request || (github.event.pull_request.head.repo.full_name == github.repository)) && 1 }}

docs/accounts/account-create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Clicking the "Create a new account" button will lead the user to the second step
1616

1717
After submitting personal information, users have to wait for CSCS to review and approve the submission.
1818

19-
Once accepted, you will recieve an email with a link to set your password.
19+
Once accepted, you will receive an email with a link to set your password.
2020

2121
```title="Acceptance email"
2222
Dear John Doe,

docs/alps/hardware.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ There are 24 cabinets, in 4 rows with 6 cabinets per row, and each cabinet conta
6565
!!! info "Why 7 blades per chassis?"
6666
A chassis can contain up to 8 blades, however Alps' gh200 chassis are underpopulated so that we can increase the amount of power delivered to each GPU.
6767

68-
Each node contains four Grace-Hopper modules and four corresponding network interface cards (NICS) per blade, as illustrated below:
68+
Each node contains four Grace-Hopper modules and four corresponding network interface cards (NICs) per blade, as illustrated below:
6969

7070
![](../images/alps/gh200-schematic.svg)
7171

docs/clusters/eiger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Eiger is an Alps cluster that provides compute nodes and file systems designed t
3737
Eiger consists of multicore [AMD Epyc Rome][ref-alps-zen2-node] compute nodes: please note that the total number of available compute nodes on the system might vary over time.
3838
See the [Slurm documentation][ref-slurm-partitions-nodecount] for information on how to check the number of nodes.
3939

40-
Additionally, there are four login nodes with hostnames `eiger-ln00[1-4]`.
40+
Additionally, there are four login nodes with host names `eiger-ln00[1-4]`.
4141

4242
### Storage and file systems
4343

docs/guides/mlp_tutorials/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
These tutorials solve simple MLP tasks using the [Container Engine][ref-container-engine] on the ML Platform.
55

66
1. [LLM Inference][ref-mlp-llm-inference-tutorial]
7-
2. [LLM Finetuning][ref-mlp-llm-finetuning-tutorial]
7+
2. [LLM Fine-tuning][ref-mlp-llm-finetuning-tutorial]
88
3. [Nanotron Training][ref-mlp-llm-nanotron-tutorial]
99

1010

docs/guides/mlp_tutorials/llm-finetuning.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[](){#ref-mlp-llm-finetuning-tutorial}
22

3-
# LLM Finetuning Tutorial
3+
# LLM Fine-tuning Tutorial
44

5-
This tutorial will take the model from the [LLM Inference][ref-mlp-llm-inference-tutorial] tutorial and show you how to perform finetuning.
5+
This tutorial will take the model from the [LLM Inference][ref-mlp-llm-inference-tutorial] tutorial and show you how to perform fine-tuning.
66
This means that we take the model and train it on some new custom data to change its behavior.
77

88
To complete the tutorial, we set up some extra libraries that will help us to update the state of the machine learning model.
@@ -38,10 +38,10 @@ $ pip install -e ./trl # install in editable mode
3838

3939
When this step is complete, you can exit the shell by typing `exit`.
4040

41-
### Finetune Gemma-7B
41+
### Fine-tune Gemma-7B
4242

4343
t this point, we can set up a fine-tuning script and start training Gemma-7B.
44-
Use your favorite text editor to create the file `fine-tune-gemma.sh` just outside the trl and gemma-venv directories:
44+
Use your favorite text editor to create the file `fine-tune-gemma.sh` just outside the `trl` and `gemma-venv` directories:
4545

4646
```bash title="fine-tune-gemma.sh"
4747
#!/bin/bash
@@ -119,7 +119,7 @@ It should take about 10-15 minutes to fine-tune Gemma:
119119
$ sbatch --nodes=1 fine-tune-sft.sbatch
120120
```
121121

122-
### Compare finetuned Gemma against default Gemma
122+
### Compare fine-tuned Gemma against default Gemma
123123

124124
We can reuse our python script from the first tutorial to do inference on the Gemma model that we just fine-tuned.
125125
Let's try out a different prompt in `gemma-inference.py`:

0 commit comments

Comments
 (0)