[Apache TVM Discuss] [Development] Small config bug in autotvm

2020-10-26 Thread adi-muresan via Apache TVM Discuss
There is a small bug in `ConfigSpace` where if `__repr__` is invoked before the config has finished collecting knobs / spaces, subsequently collected items will not count towards the size of the whole config space which will result in an incomplete run of autotuning. This is due to the caching

[Apache TVM Discuss] [Development] Small config bug in autotvm

2020-10-27 Thread adi-muresan via Apache TVM Discuss
@comaniac in my case it happened when I was logging the config at the top of a compute / schedule function, before all knobs were defined, which is sometimes useful given the dual collect / apply behavior of config. Good solution btw, a lot better than my suggestion. > `ConfigSpace._collect`