ddim icon indicating copy to clipboard operation
ddim copied to clipboard

Replace torch._six.string_classes by str

Open ghabault opened this issue 7 months ago • 0 comments

According to https://github.com/pytorch/pytorch/pull/97863 torch._six has been removed. I propose the following modification to avoid the error "module 'torch' has no attribute '_six'". This solution is also suggested in other projects: https://github.com/NVIDIA/apex/issues/1724.

ghabault avatar Jul 26 '24 09:07 ghabault