The torch.utils._pytree module changed its API in PyTorch 2.5: - register_pytree_node became _register_pytree_node (or vice versa) - This breaks audiocraft which uses the old API Add monkey-patch to alias the function for backwards compatibility. See: https://stackoverflow.com/questions/78501569 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
5.7 KiB
5.7 KiB