mirror of
https://github.com/pytorch/pytorch.git
synced 2026-11-20 09:04:25 +08:00
9cda69a7db
Added a warning to the torch.compiler API docs clarifying that torch._dynamo.mark_dynamic() must not be called inside a model’s forward() method when using torch.compile(). Pull Request resolved: https://github.com/pytorch/pytorch/pull/171682 Approved by: https://github.com/zou3519