-
Notifications
You must be signed in to change notification settings - Fork 103
Labels
? - Needs TriageNeed team to review and classifyNeed team to review and classifybugSomething isn't workingSomething isn't workingexternalIssues/PR filed by people outside the core teamIssues/PR filed by people outside the core team
Description
Version
modulus 0.8.0; 1.70 modulus.sym
On which installation method(s) does this occur?
Pip
Describe the issue
Where occured:
Colab, T4
Versions:
Python
3.10.12
modulus.version
0.8.0
modulus.sym.version
1.7.0
Problem:
MissingConfigException: In 'modulus_default': Could not find 'amp/default'
Occurs when loading configuration from config.yaml file in Colab
Minimum reproducible example
%%writefile config.yaml
# config.yaml
defaults:
- modulus_default
- arch: fully_connected
- scheduler: tf_exponential_lr
- optimizer: adam
- loss: sum
- _self_
scheduler:
decay_rate: 0.95
decay_steps: 4000
training:
rec_validation_freq: 1000
rec_inference_freq: 2000
rec_monitor_freq: 1000
rec_constraint_freq: 2000
max_steps: 10000
batch_size:
TopWall: 1000
NoSlip: 1000
Interior: 4000
graph:
func_arch: true
# Python code
import modulus.sym
from modulus.sym.hydra import to_yaml
from modulus.sym.hydra.utils import compose
from modulus.sym.hydra.config import ModulusConfig
cfg = compose(config_path="../../content", config_name="config")
Relevant log output
MissingConfigException Traceback (most recent call last)
/tmp/ipykernel_8084/1798300830.py in <cell line: 6>()
4 from modulus.sym.hydra.config import ModulusConfig
5
----> 6 cfg = compose(config_path="../../content", config_name="config")
7 cfg.network_dir = "outputs" # Set the network directory for checkpoints
8 print(to_yaml(cfg))
15 frames
/usr/local/lib/python3.10/dist-packages/hydra/_internal/defaults_list.py in config_not_found_error(repo, tree)
797 msg += "\nConfig search path:" + f"\n{lines}"
798
--> 799 raise MissingConfigException(
800 missing_cfg_file=element.get_config_path(),
801 message=msg,
MissingConfigException: In 'modulus_default': Could not find 'amp/default'
Config search path:
provider=hydra, path=pkg://hydra.conf
provider=main, path=file:///content
provider=schema, path=structured://
Environment details
Google Colab
T4
Other/Misc.
Initially thought the issue is with relative path to files in Colab, but all leads to this exception so far
Metadata
Metadata
Assignees
Labels
? - Needs TriageNeed team to review and classifyNeed team to review and classifybugSomething isn't workingSomething isn't workingexternalIssues/PR filed by people outside the core teamIssues/PR filed by people outside the core team