You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Tries to make config printing safe by preserving original placeholders (to avoid leaking secrets).
9
9
10
-
---
11
10
12
11
## Load Model and Dataset Configs
13
12
@@ -30,7 +29,6 @@ Only **strings** are translated. Examples:
30
29
31
30
YAML-native types (like `step_size: 10` without quotes) are already typed by the YAML parser and remain unchanged.
32
31
33
-
---
34
32
35
33
## Use `_target_` for Instantiation
36
34
@@ -55,7 +53,6 @@ By default, resolving targets is restricted:
55
53
- Accessing private or dunder attributes is blocked by default.
56
54
- Loading out-of-tree user code can be enabled with `NEMO_ENABLE_USER_MODULES=1` or by calling `set_enable_user_modules(True)`.
57
55
58
-
---
59
56
60
57
## Interpolate Environment Variables in YAML
61
58
@@ -92,7 +89,6 @@ dataset:
92
89
DATABRICKS_HTTP_PATH: ${DATABRICKS_HTTP_PATH}
93
90
```
94
91
95
-
---
96
92
97
93
## Prevent Secret Leakage in Logs
98
94
@@ -105,7 +101,6 @@ When an env var placeholder is resolved, the config keeps the original placehold
105
101
Printing a **leaf value** (for example, `print(cfg.dataset.delta_storage_options.DATABRICKS_TOKEN)`) outputs the resolved secret. Instead, print the full config or use a redacted YAML dict.
0 commit comments