T. Xu

Results 30 comments of T. Xu
trafficstars

> See my comment here https://github.com/huggingface/diffusers/pull/6730/files#r1468858192 In openai/guideddiffusion, both normal attention and legacy attention are implemented in separate class: * normal: https://github.com/openai/guided-diffusion/blob/main/guided_diffusion/unet.py#L361 * legacy: https://github.com/openai/guided-diffusion/blob/main/guided_diffusion/unet.py#L328 Those two attentions have exactly...

Hi, I have found a way to avoid breaking the possible backward deps in class UNetMidBlock2D and updated the PR. The change is still minimal but it does not break...

> @tongdaxu can we move this to the research folder? I am fine with that, what should I do to move this to research folder?

> Hi @tongdaxu, thank you for your great work! > > I am having trouble generating nice images with your PR. I hope you can help :) > > I...

> Hi @tongdaxu, thank you for your great work! > > I am having trouble generating nice images with your PR. I hope you can help :) > > I...

> Thank you for your quick response. Sadly, your instructions did not work either. > > I tried all versions of your repository and different pretrained models, but I still...

> Thank you for your quick response. Sadly, your instructions did not work either. > > I tried all versions of your repository and different pretrained models, but I still...

> 4\. pip install git+https://github.com/huggingface/diffusers.git@refs/pull/6730/head Thank you @kschwethelm, that is very strange. I also find that it fails with torch 1.9 and works with torch 2.1. I do not have...

> Hi, thank you very much for your help! The problem was actually the PyTorch version. I now tried with torch-2.2.0 and it works fine. > > ![generated_image](https://private-user-images.githubusercontent.com/47533587/304777869-033c6a2f-0dca-4d5b-8c27-27a468885fdb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDc5MjM0MTMsIm5iZiI6MTcwNzkyMzExMywicGF0aCI6Ii80NzUzMzU4Ny8zMDQ3Nzc4NjktMDMzYzZhMmYtMGRjYS00ZDViLThjMjctMjdhNDY4ODg1ZmRiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMjE0VDE1MDUxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVhODAzM2M5MjMxZDUwMmMzZGVlMzMxMDJkZTY5ZmU0NWVkZWVkNDk2Mjg5NTkyZDI4ZDE1MTZkZTc2YzdiOGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.sXhgp9xRu6_bHcYV2zfxr1uUa9qrUza4XDPushIEPV0) I can't...