-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathpixi.toml
More file actions
47 lines (39 loc) · 1.55 KB
/
pixi.toml
File metadata and controls
47 lines (39 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[workspace]
channels = ["https://conda.modular.com/max-nightly", "conda-forge"]
name = "max-llm-book"
platforms = ["linux-64", "osx-arm64"]
version = "0.1.0"
[tasks]
build-book = "cd book && mdbook build"
book = { cmd = "cd book && mdbook serve --open", depends-on = ["build-book"] }
huggingface = "python scripts/hugging-face-model.py"
# Check tasks for each step
s01 = "python checks/check_step_01.py"
s02 = "python checks/check_step_02.py"
s03 = "python checks/check_step_03.py"
s04 = "python checks/check_step_04.py"
s05 = "python checks/check_step_05.py"
s06 = "python checks/check_step_06.py"
s07 = "python checks/check_step_07.py"
s08 = "python checks/check_step_08.py"
s09 = "python checks/check_step_09.py"
s10 = "python checks/check_step_10.py"
s11 = "python checks/check_step_11.py"
# Run all checks
check-all = "python checks/check_step_01.py && python checks/check_step_02.py && python checks/check_step_03.py && python checks/check_step_04.py && python checks/check_step_05.py && python checks/check_step_06.py && python checks/check_step_07.py && python checks/check_step_08.py && python checks/check_step_09.py && python checks/check_step_10.py && python checks/check_step_11.py"
# Run your completed model interactively
main = "python main.py"
gpt2 = "python steps/step_11.py"
# Format python
fmt = "ruff format ."
# Run tests
test = "pytest tests/ -v"
[dependencies]
modular = ">=26.1.0.dev2026012100"
transformers = ">=4.57.0,<5"
pytorch = ">=2.8.0,<3"
numpy = ">=2.3.3,<3"
mdbook = "==0.4.52"
ruff = ">=0.14.1,<0.15"
pytest = ">=8.0.0,<9"
rich = ">=14.3.3,<15"