Skip to content

Commit 6b00501

Browse files
authored
Adding yaml + lazy execution (#53)
1 parent 2806a66 commit 6b00501

File tree

19 files changed

+1557
-97
lines changed

19 files changed

+1557
-97
lines changed

.vscode/settings.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,10 @@
1515
"ruff.exclude": [
1616
".venv"
1717
],
18-
"ruff.lineLength": 100
18+
"ruff.lineLength": 100,
19+
"python.testing.pytestArgs": [
20+
"test"
21+
],
22+
"python.testing.unittestEnabled": false,
23+
"python.testing.pytestEnabled": true
1924
}

examples/entrypoint/task.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
model:
2+
_factory_: "my_model"
3+
hidden_size: 256
4+
num_layers: 3
5+
activation: "relu"
6+
7+
optimizer:
8+
_factory_: "my_optimizer"
9+
learning_rate: 0.001
10+
weight_decay: 1e-5
11+
betas: [0.9, 0.999]
12+
13+
epochs: 10
14+
batch_size: 32

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ dependencies = [
2828
"rich>=13.7.1",
2929
"jinja2>=3.1.4",
3030
"cryptography < 43.0.0",
31-
"networkx >= 3.3"
31+
"networkx >= 3.3",
32+
"omegaconf>=2.3.0"
3233
]
3334
readme = "README.md"
3435
requires-python = ">= 3.10"

0 commit comments

Comments
 (0)