# Small config bug in autotvm

**URL:** <https://discuss.tvm.apache.org/t/small-config-bug-in-autotvm/8285>\
**Category:** Development\
**Created:** [October 26, 2020, 1:58pm UTC](https://discuss.tvm.apache.org/t/small-config-bug-in-autotvm/8285 "2020-10-26T13:58:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![adi-muresan](https://discuss.tvm.apache.org/user_avatar/discuss.tvm.apache.org/adi-muresan/32/2071_2.png) [@adi-muresan](https://discuss.tvm.apache.org/u/adi-muresan)\
**Post date:** [October 27, 2020, 4:52pm UTC](https://discuss.tvm.apache.org/t/small-config-bug-in-autotvm/8285/3 "2020-10-27T16:52:13Z")

</div>

@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` is always true.

True, but on subsequent calls to the same compute / schedule functions config is a `ConfigEntity` which has `_collect` always false, no?

---

_[View the full topic](https://discuss.tvm.apache.org/t/small-config-bug-in-autotvm/8285)._
