1. System Info
pypots v0.13
2. Information
3. Reproduction
Call calc_criterion() when the model is running on multiple GPUs
|
def calc_criterion(self, inputs: dict) -> dict: |
4. Expected behavior
It fails because the model is wrapped in DataParallel, which only provides forward() for parallel running.
5. Your contribution
PR is on the way