Skip to content

Commit bb38440

Browse files
committed
add vscode debug config
1 parent 07e1b16 commit bb38440

2 files changed

Lines changed: 40 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ data/
33
checkpoints/
44
wandb/
55
uv.lock/
6-
.vscode/
6+
.vscode/settings.json
77

88
# Byte-compiled / optimized / DLL files
99
__pycache__/

.vscode/launch.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Pretrain Sudoku",
9+
"type": "debugpy",
10+
"request": "launch",
11+
"module": "recursion.pretrain",
12+
"python": "${workspaceFolder}/.venv/bin/python",
13+
"cwd": "${workspaceFolder}",
14+
"args": [
15+
"arch=trm",
16+
"data_paths=[data/sudoku-extreme-1k-aug-1000]",
17+
"evaluators=[]",
18+
"epochs=5",
19+
"eval_interval=1",
20+
"lr=1e-4",
21+
"puzzle_emb_lr=1e-4",
22+
"weight_decay=1.0",
23+
"puzzle_emb_weight_decay=1.0",
24+
"arch.mlp_t=True",
25+
"arch.pos_encodings=none",
26+
"arch.L_layers=2",
27+
"arch.H_cycles=1",
28+
"arch.L_cycles=1",
29+
"+run_name=debug",
30+
"ema=True"
31+
],
32+
"console": "integratedTerminal",
33+
"justMyCode": false,
34+
"env": {
35+
"DISABLE_COMPILE": "1"
36+
}
37+
}
38+
]
39+
}

0 commit comments

Comments
 (0)