castorini / daam

Diffusion attentive attribution maps for interpreting Stable Diffusion.
MIT License
689 stars 63 forks source link

Can't install DAAM package due to new rust compiler updates #63

Open nboj opened 5 months ago

nboj commented 5 months ago

Because of the new rustc standards, transformers==4.30.2 no longer compiles correctly in the newest Rust compiler. Because of this, I am unable to install the DAAM package. To fix the issue, I locally installed the package and changed the requirements.txt from transformers==4.30.2 to transformers. The issue resolved and I could install the entire package. I hope this helps anyone with the new rust compiler version.

1506322647 commented 1 month ago

but if i update the requirments.txt, install the file, and then install the daam, it always change the transformers version