pYtoner

Results 8 comments of pYtoner

Nice to see you are back. I will do the changes to make it better. This was more of a quick workaround for those needing this badly... I'll think of...

Doing this with a macro would be the easiest way to remove loads of code duplication. Is that something you think would be acceptable for this crate? (Some people don't...

I am not sure what I did to my repo I am going to start over.

Do we want to handle invalid target shapes like: ```rust fn predict_inplace

Static linking should be possible. I really would like to see this too. I am not sure at all how one would do this though.

The best workaround I found is to copy the dynamic libs into the `sysroot/lib` folder. Where rust keeps its libs. I made a `build.rs` to do it automatically: https://gist.github.com/pYtoner/edf32c2a1f9d298e67c8752757e18eaa

Working solution I used: ``` conda create -n stable_diffuse python=3.10.6 cona activate stable_diffuse where python ``` The last one should print the location of the new `python.exe` Copy that path...

I fixed it by putting `stable-diffusion-webui` in a path that doesn't contain a folder name starting with a `.` Related to this issue: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/13292