[Checkpoint] Add a logger to dedup_tensors (#89503)
Add a logger to dedup_tensors to log the duplicate keys to remove in global plan (List of SavePlan).
Pull Request resolved: https://github.com/pytorch/pytorch/pull/89503
Approved by: https://github.com/fduwjj