Open SolomidHero opened 2 years ago
I have a related problem with scalene + hydra, only that in my case hydra is unable to find even the (in CLI) given config file:
hydra.errors.MissingConfigException: Cannot find primary config '....'. Check that it's in your config search path.
I'm just wondering, has anyone successfully used scalene with hydra? If it doesn't work, that makes scalene for my team rather useless and would be a major downside, considering hydra's popularity.
+1
Could someone help to run scalene with hydra? I experience Error executing job with overrides
I also made a similar mistake:
Error parsing override 'python'
missing EQUAL at '
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
Does anyone know how to solve it?
This seems to work for me
scalene --html --outfile /tmp/out.html scripts/train.py --- dataset=imagenet ...
Is your feature request related to a problem? Please describe. It is impossible to run profiling on hydra (https://github.com/facebookresearch/hydra) configured python scripts. Hydra scripts often runs in such manner:
Describe the solution you'd like Great solution proposed in readme:
But next error:
It seems that filename used as first argument in spawning process, which hydra parses as key parameter
Describe alternatives you've considered Maybe additional argument to not use program name as argument
Additional context python 3.9.13 hydra-core==1.2.0 scalene==1.5.8