Lunderberg opened a new pull request #8451: URL: https://github.com/apache/tvm/pull/8451
Previously, any class that doesn't raise a TypeError in copy.deepcopy could be used as a return value in a `@tvm.testing.fixture`. This has the possibility of incorrectly copying classes inherit the default `object.__reduce__` implementation. Therefore, only classes that explicitly implement copy functionality (e.g. __deepcopy__ or __getstate__/__setstate__), or that are explicitly listed in tvm.testing._fixture_cache are allowed to be cached. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
