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
Само конфигурирование логгера сделано в autointent.configs.optimization_cli.logger_config. Вы можете изменить любой параметр логгера через коммандную строку. Вот пример, как поменять уровень логгера на ERROR:
66
-
```bash
67
-
autointent hydra.job_logging.root.level=ERROR
68
-
```
69
-
70
-
Еще можно изменить параметры логгера через yaml файлы:
71
-
1. Создадим папку с конфиг. файлами: test_config
72
-
2. test_config/config.yaml:
73
-
```yaml
74
-
defaults:
75
-
- optimization_config
76
-
- _self_
77
-
- override hydra/job_logging: custom
78
-
79
-
# set your config params for optimization here
80
-
embedder_batch_size: 32
81
-
```
82
-
3. Поместите конфигурацию логгера в test_config/hydra/job_logging/custom.yaml (параметры см. [здесь](https://docs.python.org/3/howto/logging.html))
0 commit comments