kornelski / dssim

Image similarity comparison simulating human perception (multiscale SSIM in Rust)
https://kornel.ski/dssim
GNU Affero General Public License v3.0
1.07k stars 69 forks source link

lieon.rs license #159

Closed milot-mirdita closed 4 months ago

milot-mirdita commented 4 months ago

I would like to use lieon.rs in a GPLv3 project. Would you consider re-licensing this single file?

For context: I am integrating the ProstT5 language model into Foldseek using the Candle ML framework. I want to only parallelize from the C++ side and not rely on any parallelization within Rust. I found the shim here: https://github.com/rayon-rs/rayon/issues/861 and extended it slightly to work for me (https://gist.github.com/milot-mirdita/3bd47a2abc58384903dda0ec86d0d07b).

kornelski commented 4 months ago

I've relicensed it. There's also https://lib.rs/crates/maybe-rayon

milot-mirdita commented 4 months ago

Thanks a lot! I didn't know about maybe-rayon, that would have saved me some time figuring out this scope thing.