Open legaultmarc opened 2 years ago
Hi @legaultmarc, thanks for the detailed bug report! We will look into this asap.
I did not manage to reproduce the issue using your config file, but looking at the code I can see that using no seed would cause this issue. Removing the seed from your config causes the issue on my side. Did you run without a seed before? We'll fix the issue when there are no seeds, but I'd like to be sure that there are no other corner cases that we are missing.
It seems that now even I can't reproduce this bug. I was trying out different algorithms when I first encountered this bug so maybe it was due to a weird state in the config/database or some other Python caching? I too now only get it when the seed is set to null in the config. I'll report back here if it happens again...
Thanks for your rapid response :)
When running
orion hunt
, the first iteration typically works fine, but I get the following traceback on the second iteration:I am under the impression that self.seed_rng() is not called properly to initialize the self.rng attribute causing this error.
Expected behavior I don't think this AttributeError should happen.
Steps to reproduce In my case, this happens after calling
orion hunt
on a single machine.Environment (please complete the following information):
Additional context Here is my Orion config file:
Possible solution I initialize the seed in my config, and this seems to fix the problem for the first iteration, but not for subsequent iterations. If I force a call to self.seed_rng() in the Hyperband class init, I seem to be able to circumvent the problem. I'm not sure what's the right fix for this.