trunk/44932144f561267d08a5f55dd5c43c0202c9c496: Fix cross_entropy_loss to accept symbolic numel for weights (#182004)
🔒
https://github.com
«Fixes #181870
Dynamic traces cross_entropy_function using fake tensors that have symbolic sizes when torch.compile(dynamic=True) is active. The C++ method numel() on TensorImpl requires concrete non-symbolic) sizes that ...»
Automatische Weiterleitung...
1.5s