Skip to content

Commit 9e8524c

Browse files
Add Hydra searchpath for rf3 and rfd3 model-specific configs (#166)
* Initial plan * Add search path for rf3 configurations Co-authored-by: Ubiquinone-dot <66851659+Ubiquinone-dot@users.noreply.github.com> * Add rfd3 searchpath to validate.yaml and dev.yaml Co-authored-by: Ubiquinone-dot <66851659+Ubiquinone-dot@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Ubiquinone-dot <66851659+Ubiquinone-dot@users.noreply.github.com>
1 parent 76ee486 commit 9e8524c

File tree

5 files changed

+17
-0
lines changed

5 files changed

+17
-0
lines changed

models/rf3/configs/inference.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
# ^ The "package" determines where the content of the config is placed in the output config
33
# For more information about overriding configs, see: https://hydra.cc/docs/advanced/overriding_packages/#overriding-packages-using-the-defaults-list
44

5+
hydra:
6+
searchpath:
7+
- pkg://rf3.configs
8+
- pkg://configs
9+
510
defaults:
611
- inference_engine: rf3
712
- _self_

models/rf3/configs/train.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
# ^ The "package" determines where the content of the config is placed in the output config
33
# For more information about overriding configs, see: https://hydra.cc/docs/advanced/overriding_packages/#overriding-packages-using-the-defaults-list
44

5+
hydra:
6+
searchpath:
7+
- pkg://rf3.configs
8+
- pkg://configs
9+
510
# NOTE: order of defaults determines the order in which configs override each other (higher up items are overridden by lower items)
611
defaults:
712
- callbacks: default

models/rf3/configs/validate.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
# ^ The "package" determines where the content of the config is placed in the output config
33
# For more information about overriding configs, see: https://hydra.cc/docs/advanced/overriding_packages/#overriding-packages-using-the-defaults-list
44

5+
hydra:
6+
searchpath:
7+
- pkg://rf3.configs
8+
- pkg://configs
9+
510
# NOTE: order of defaults determines the order in which configs override each other (higher up items are overridden by lower items)
611
defaults:
712
- callbacks: default

models/rfd3/configs/dev.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Inference engine config for development
33
hydra:
44
searchpath:
5+
- pkg://rfd3.configs
56
- pkg://configs
67

78
defaults:

models/rfd3/configs/validate.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
hydra:
44
searchpath:
5+
- pkg://rfd3.configs
56
- pkg://configs
67

78
defaults:

0 commit comments

Comments
 (0)