packages icon indicating copy to clipboard operation
packages copied to clipboard

[Request] sdiff-gtk-git

Open 3ri4nG0ld opened this issue 2 years ago • 10 comments

Package:

https://aur.archlinux.org/packages/sdiff-gtk

Depends: https://aur.archlinux.org/packages/python-accelerate ... https://aur.archlinux.org/packages/python-safetensors ... ... https://aur.archlinux.org/packages/python-flax (check) ... ... https://aur.archlinux.org/packages/python-jax (check) ... ... https://aur.archlinux.org/packages/python-jaxlib (check) / https://aur.archlinux.org/packages/python-jaxlib-cuda https://aur.archlinux.org/packages/python-diffusers https://aur.archlinux.org/packages/python-huggingface-hub https://aur.archlinux.org/packages/python-transformers ... https://aur.archlinux.org/packages/python-tokenizers ... https://aur.archlinux.org/packages/python-tf2onnx (opt) ... https://aur.archlinux.org/packages/python-flax (opt) ... https://aur.archlinux.org/packages/python-onnxconverter-common (opt)

Purpose:

GTK front end for Stable Diffusion, a source-available latent diffusion model (type of deep generative artificial neural network) used to generate detailed images conditioned on text descriptions, though it can also be applied to other tasks such as inpainting, outpainting, and generating image-to-image translations guided by a text prompt.

Benefits:

No response

Building:

No response

Copyright:

Apache-2.0 license

Expected Interest:

Some

Already available?

No

Unique request?

No

Banned package?

No

More information:

They are very slow to compile, they would help a lot.

3ri4nG0ld avatar Dec 22 '23 02:12 3ri4nG0ld

What package, program, or purpose does this library serve? Without additional info, this package qualifies as a dependency without dependent.

xiota avatar Dec 22 '23 02:12 xiota

python-jax https://aur.archlinux.org/packages/python-jax

3ri4nG0ld avatar Dec 22 '23 03:12 3ri4nG0ld

python-jax has the same issue – dependency without dependent. Same for any cluster of python-* packages. Describe your use case.

xiota avatar Dec 22 '23 03:12 xiota

I really only have this package installed to use sdiff-gtk-git, which requires python-transformers which in turn requires python-flax which in turn reequires python-jax

I understand that there are really a lot of intermediate packages for a single program, so I suppose that having alternatives as is the case it does not matter much.

3ri4nG0ld avatar Dec 22 '23 03:12 3ri4nG0ld

That is the info I wanted to know. Please edit the initial request to add it.

Is there some reason to request only the libraries instead of the program you really want to use? If not, you can update to request sdiff-gtk-git.

xiota avatar Dec 22 '23 03:12 xiota

Not really, I only put the libraries because they were the ones that were updated more frequently and took longer to compile.

3ri4nG0ld avatar Dec 22 '23 04:12 3ri4nG0ld

@jzbor can you please update https://aur.archlinux.org/packages/sdiff-gtk, we would like to provide it :)

Technetium1 avatar Dec 22 '23 20:12 Technetium1

Hi, I have had some problems maintaining it over the past, as some of the libraries used had some issues. I am no longer using Arch (and not even sdiff-gtk to be honest), but I can try to update the PKGBUILD in the holidays. Feel free to ping me again if I forget about it :grimacing: .

Also it should be noted that sdiff-gtk has some very rough edges, e.g. not showing any sort of download progress. I hacked it together in a weekend being jealous of my friends cool AI-apps that sadly ran on Mac only. But I am glad that you seem to enjoy it and will try to provide a working PKGBUILD.

EDIT: Also if someone wants to maintain/co-maintain it on the AUR feel free to hit me up :)

jzbor avatar Dec 22 '23 21:12 jzbor

For this package, to simplify the depends tree, should bypass check on aur/python-safetensors and skip optdeps for aur/python-transformers.

@jzbor Please add me as comaintainer.

xiota avatar Dec 23 '23 01:12 xiota

I recently tried packaging the project for NixOS and failed. Python is sort of my arch nemesis when it comes to packaging and I currently do not have the time to fix or update the AUR package, but I have added @xiota as co-maintainer. Feel free to update and improve the package as you see fit.

In general I want to use this opportunity to make clear the support status of sdiff-gtk: I don't really actively use it myself as I don't own a powerful enough graphics card for it to run in an acceptable speed. Therefore I will most probably not provide any feature updates or substantial improvements, however I will try to update the dependencies to mitigate any Security Alerts when they pop up.

I hope you have fun using sdiff-gtk and wish you the best of luck packaging it :)

jzbor avatar Jan 11 '24 15:01 jzbor