Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: patches input grad toggling based on incoming batch
This adjusts the logic, albeit maybe inconsistent with the rest of multitask, where we check the incoming batch for dataset names at the top level to determine if it's a multidata batch, instead of relying on the model expectations. This fixes the ase calculate behavior, which would have been mismatched since the module is inherently multidata but the incoming batch is not.
- Loading branch information