transformers
847e5691 - Fix: Change tensors to integers for torch.dynamo and torch.compile compatibility (#23475)

Commit
3 years ago
Fix: Change tensors to integers for torch.dynamo and torch.compile compatibility (#23475) * Fix: Change tensors to integers in torch.split() for torch.dynamo and torch.compile compatibility * Applied the suggested fix to the utils/check_copies.py test * Applied the suggested fix by changing the original function that gets copied
Author
Parents
Loading