Hi! The latest version of PyTorch has deprecated torch.utils._pytree._register_pytree_node, recommending the use of torch.utils._pytree.register_pytree_node (without the leading underscore). Perhaps not an urgent issue but wondering might affect long-term compatibility. Happened when I run diffusers/examples/unconditional_image_generation/train_unconditional.py
torch.utils._pytree._register_pytree_node(
/root/miniconda3/lib/python3.8/site-packages/diffusers/utils/outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
Describe the bug
Hi! The latest version of PyTorch has deprecated torch.utils._pytree._register_pytree_node, recommending the use of torch.utils._pytree.register_pytree_node (without the leading underscore). Perhaps not an urgent issue but wondering might affect long-term compatibility. Happened when I run diffusers/examples/unconditional_image_generation/train_unconditional.py
Reproduction
accelerate launch --multi_gpu train_unconditional.py --train_data_files="your-path-to-data-file/102-flowers.zip" --output_dir="your-path-to-output-folder/ddpm-ema-flowers-64"
Logs
System Info
diffusers
version: 0.27.0.dev0Who can help?
No response