Ok, this is quite nuts. When I add this code, both the commented and uncommented versions of defining self.base_model have the lower/worse performance. What in the heck am I supposed to do with this now??? How do I get the better performing model without including this extraneous code as a hack? I’m more perplexed now than I was before haha.
        random.seed(42)
        torch.manual_seed(42)
        np.random.seed(42)
        torch.backends.cudnn.deterministic = True