Skip to content

Commit 5ac0863

Browse files
Vimal-Shadydeependujhabhimrazy
authored
feat: add CI workflow to check for broken links (Lightning-AI#676)
* Fix Broken Link in README * Added Markdown Link Checker Workflow * update * update * Update .github/markdown-links-config.json Co-authored-by: Bhimraj Yadav <bhimrajyadav977@gmail.com> --------- Co-authored-by: Deependu <deependujha21@gmail.com> Co-authored-by: Bhimraj Yadav <bhimrajyadav977@gmail.com>
1 parent 9eff5cc commit 5ac0863

File tree

4 files changed

+36
-2
lines changed

4 files changed

+36
-2
lines changed

.github/markdown-links-config.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"ignorePatterns": [
3+
{
4+
"pattern": "^https://github.com/Lightning-AI/litData/pull/"
5+
},
6+
{
7+
"pattern": "^https://codecov.io/gh/Lightning-AI/litData/graph/badge.svg"
8+
}
9+
],
10+
"httpHeaders": [
11+
{
12+
"urls": [
13+
"https://github.com/",
14+
"https://guides.github.com/",
15+
"https://help.github.com/",
16+
"https://docs.github.com/"
17+
],
18+
"headers": {
19+
"Accept-Encoding": "zstd, br, gzip, deflate"
20+
}
21+
}
22+
],
23+
"timeout": "20s",
24+
"retryOn429": true,
25+
"retryCount": 5,
26+
"fallbackRetryDelay": "20s"
27+
}

.github/workflows/ci-checks.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,10 @@ jobs:
3737
uses: Lightning-AI/utilities/.github/workflows/check-docs.yml@main
3838
with:
3939
requirements-file: "requirements/docs.txt"
40+
41+
check-md-links:
42+
uses: Lightning-AI/utilities/.github/workflows/check-md-links.yml@main
43+
with:
44+
config-file: ".github/markdown-links-config.json"
45+
base-branch: "main"
46+
force-check-all: "yes"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ Stream data during long training, if interrupted, pick up right where you left o
571571

572572
LitData provides a stateful `Streaming DataLoader` e.g. you can `pause` and `resume` your training whenever you want.
573573

574-
Info: The `Streaming DataLoader` was used by [Lit-GPT](https://github.com/Lightning-AI/lit-gpt/blob/main/pretrain/tinyllama.py) to pretrain LLMs. Restarting from an older checkpoint was critical to get to pretrain the full model due to several failures (network, CUDA Errors, etc..).
574+
Info: The `Streaming DataLoader` was used by [Lit-GPT](https://github.com/Lightning-AI/litgpt/blob/main/tutorials/pretrain_tinyllama.md) to pretrain LLMs. Restarting from an older checkpoint was critical to get to pretrain the full model due to several failures (network, CUDA Errors, etc..).
575575

576576
```python
577577
import os

examples/multi_modal/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ pip install -r requirements.txt
126126
127127
## License
128128
129-
This project is licensed under the APACHE 2.0 License. See the [LICENSE](LICENSE) file for details.
129+
This project is licensed under the [APACHE 2.0 License](https://github.com/Lightning-AI/litData/blob/main/LICENSE).
130130
131131
______________________________________________________________________
132132

0 commit comments

Comments
 (0)