Skip to content

Commit 31cfc9e

Browse files
committed
2 parents a6abe85 + b014605 commit 31cfc9e

28 files changed

Lines changed: 244 additions & 113 deletions

.github/workflows/check_docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: uv run mkdocs build -d build --strict
2727

2828
- name: Upload docs
29-
uses: actions/upload-artifact@v4
29+
uses: actions/upload-artifact@v6
3030
with:
3131
name: docs
3232
path: build

.github/workflows/code_formatting.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v6
17+
- name: Checkout code
18+
uses: actions/checkout@v6
19+
1820
- name: Set up Python
1921
uses: actions/setup-python@v6
2022
with:
@@ -28,10 +30,8 @@ jobs:
2830
- name: Sync dependencies
2931
run: uv sync
3032

31-
- name: ruff check
32-
run: |
33-
uv run ruff check .
33+
- name: Ruff check
34+
run: uv run ruff check .
3435

35-
- name: ruff format
36-
run: |
37-
uv run ruff format .
36+
- name: Ruff format
37+
run: uv run ruff format .

.github/workflows/pre_commit.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,14 @@ jobs:
2222

2323
- name: Install pre-commit
2424
uses: pre-commit/action@v3.0.1
25+
# with:
26+
# continue-on-error: true
27+
28+
# - name: List modified files
29+
# run: git diff --name-only
30+
31+
# - name: Commit changes
32+
# uses: stefanzweifel/git-auto-commit-action@v5
33+
# with:
34+
# commit_message: Pre-commit fixes
35+
# commit_options: '--no-verify'

.github/workflows/repo_scraper.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,4 @@ jobs:
2828
- name: Run repo scraper
2929
env:
3030
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31-
run: |
32-
python tools/repo_stats/scraper.py
31+
run: python tools/repo_stats/scraper.py

.github/workflows/update_pre_commit.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Pre-commit auto-update
44

55
on:
66
schedule:
7-
- cron: '0 0 * * 0'
7+
- cron: '0 0 * * 0' # Runs every Sunday at 00:00 UTC
88
workflow_dispatch: {} # Allows manual executions
99

1010
permissions:
@@ -15,7 +15,8 @@ jobs:
1515
auto-update:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v6
18+
- name: Checkout code
19+
uses: actions/checkout@v6
1920

2021
- name: Install uv
2122
uses: astral-sh/setup-uv@v7
@@ -29,7 +30,7 @@ jobs:
2930
run: uv run pre-commit autoupdate
3031

3132
- name: Create Pull Request
32-
uses: peter-evans/create-pull-request@v7
33+
uses: peter-evans/create-pull-request@v8
3334
with:
3435
token: ${{ secrets.GITHUB_TOKEN }}
3536
branch: update/pre-commit-autoupdate

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
- id: detect-private-key
1515

1616
- repo: https://github.com/astral-sh/ruff-pre-commit
17-
rev: v0.14.10
17+
rev: v0.14.11
1818
hooks:
1919
- id: ruff
2020
args: ["--fix", "--unsafe-fixes"]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
## ℹ️ Course information
1212

1313
* Course responsible
14-
* Postdoc [Nicki Skafte Detlefsen](https://skaftenicki.github.io/), <nsde@dtu.dk>
14+
* Associate Professor [Nicki Skafte Detlefsen](https://skaftenicki.github.io/), <nsde@dtu.dk>
1515
* Professor [Søren Hauberg](http://www2.compute.dtu.dk/~sohau/), <sohau@dtu.dk>
1616
* 5 ECTS (European Credit Transfer System), corresponding to 140 hours of work
1717
* 3 week period in January
1818
* Master level course
19-
* Grade: Pass/not passed
19+
* Grade: Pass/Fail
2020
* Type of assessment: project report
2121
* Recommended prerequisites: DTU course [02456 (Deep Learning)](https://kurser.dtu.dk/course/02456) or
2222
experience with the following topics:

pages/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ a different stack of tools that better fits your needs. Regardless of the stack,
4343
| ![Run](../figures/icons/run.png){ width="50" } | For more complex deployments of our code we can use **Cloud run** that allows us to run our code in response to events through docker containers |
4444
| ![Locust](../figures/icons/locust.png){ width="50" } | For load testing our deployed model we can use **Locust** |
4545
| ![Monitor](../figures/icons/monitoring.png){ width="50" } | **Cloud monitoring** gives us the tools to keep track of important logs and errors from the other cloud services |
46-
| ![Evidently](../figures/icons/evidentlyai.png){ width="50" } | For monitoring our deployed model is experiencing any drift we can use **Evidently AI** that provides a framework and dashboard for monitoring drift |
46+
| ![Evidently](../figures/icons/evidentlyai.png){ width="50" } | To monitor whether our deployed model is experiencing any drift, we can use **Evidently AI**, which provides a framework and dashboard for drift monitoring |
4747
| ![Telemetry](../figures/icons/opentelemetry.png){ width="50" } | For monitoring the telemetry of our deployed model we can use **OpenTelemetry** that provides a standard for collecting and exporting telemetry data |
4848
<!-- markdownlint-restore -->

pages/projects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ checklist for the exam. The parenthesis at the end indicates what module the bul
229229

230230
## Exam
231231

232-
From January 2025 the exam only consist of a project report. The report should be handed in at midnight on the final day
233-
of the course. For January 2025, this means the 24th. We provide template folder called
232+
From January 2026 the exam only consist of a project report. The report should be handed in at midnight on the final day
233+
of the course. For January 2026, this means the 23th. We provide template folder called
234234
[reports](https://github.com/SkafteNicki/dtu_mlops/tree/main/reports). As the first task you should copy the folder and
235235
all its content to your project repository. Then, you job is to fill out the `README.md` file which contains the report
236236
template. The file itself contains instructions on how to fill it out and instructions on using the included `report.py`

s1_development_environment/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,26 @@
44

55
<div class="grid cards" markdown>
66

7-
- ![](../figures/icons/terminal.png){align=right : style="height:100px;width:100px"}
7+
- ![Terminal icon](../figures/icons/terminal.png){align=right : style="height:100px;width:100px"}
88

99
Learn the basics of the command line, and how to use it to navigate your file system and run programs.
1010

1111
[:octicons-arrow-right-24: M1: Command line](command_line.md)
1212

13-
- ![](../figures/icons/conda.png){align=right : style="height:100px;width:100px"}
13+
- ![Conda icon](../figures/icons/conda.png){align=right : style="height:100px;width:100px"}
1414

1515
Learn how package managers work in Python and how to create reproducible virtual environments using
1616
`conda` and `pip`.
1717

1818
[:octicons-arrow-right-24: M2: Package Manager](package_manager.md)
1919

20-
- ![](../figures/icons/vscode.png){align=right : style="height:100px;width:100px"}
20+
- ![VS Code icon](../figures/icons/vscode.png){align=right : style="height:100px;width:100px"}
2121

2222
Learn how to use a modern editor for code development.
2323

2424
[:octicons-arrow-right-24: M3: Editor](editor.md)
2525

26-
- ![](../figures/icons/pytorch.png){align=right : style="height:100px;width:100px"}
26+
- ![PyTorch icon](../figures/icons/pytorch.png){align=right : style="height:100px;width:100px"}#
2727

2828
Refresh your PyTorch skills and implement a simple deep-learning model.
2929

0 commit comments

Comments
 (0)