ZTMIDGO / Android-Stable-diffusion-ONNX

使用Android手机的CPU推理stable diffusion
127 stars 26 forks source link

Adding a different sampler . #13

Open Fcucgvhhhvjv opened 10 months ago

Fcucgvhhhvjv commented 10 months ago

How can other sampler be used Like dpm . Using dpm result in better output .

ZTMIDGO commented 10 months ago

I will upload and submit new code tomorrow, including dpm solver

Fcucgvhhhvjv commented 10 months ago

Thank you . can u try this colab https://github.com/Fcucgvhhhvjv/Android-Stable-diffusion-ONNX/blob/master/Full_(fixed)(gpu)(custom)(withsafetensor)torch_2_1_premodel_conversion_script.ipynb

ZTMIDGO commented 10 months ago

I'll take a look, I think running stable diffustion with tensorflow will be faster than onnxruntime, maybe using NNAPI to reduce the power consumption of the run, I will consider making a run sd using tensorflow

Fcucgvhhhvjv commented 10 months ago

I'll take a look, I think running stable diffustion with tensorflow will be faster than onnxruntime, maybe using NNAPI to reduce the power consumption of the run, I will consider making a run sd using tensorflow

yep , sorry i was away for awhile . Did it work?

Fcucgvhhhvjv commented 10 months ago

dpm scheduler needs some checking its not generating output as the same quality as the eulera sampler , I tried it with the default and some models i converted .