leejet

Results 87 comments of leejet

@ranjithum The VAE in SDXL encounters NaN issues under FP16, but unfortunately, the ggml_conv_2d only operates under FP16. Hence, a parameter is needed to specify the VAE that has fixed...

> Works for me, but colors are weirdly off with SD XL plus fp16 fix: ![output](https://private-user-images.githubusercontent.com/20720267/296545140-853c6b3a-4ece-4bfd-9035-6822543821a7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDUzMzE0MDMsIm5iZiI6MTcwNTMzMTEwMywicGF0aCI6Ii8yMDcyMDI2Ny8yOTY1NDUxNDAtODUzYzZiM2EtNGVjZS00YmZkLTkwMzUtNjgyMjU0MzgyMWE3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAxMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMTE1VDE1MDUwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ5MzQ5MTEyZTllNDFkNDI1ZWJiODBmNmE0ODc3NGM4M2M0YWMwYjk1ODIyN2Y4MTNmZWUwNDBlMWJlNGViYzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0._RK7Hl1-I7SIJJs9g9761HCidmvACHolZ2wWO61eQ9M) ![output](https://private-user-images.githubusercontent.com/20720267/296545202-4fbd4843-d793-4fe5-bd97-fee63fcb0105.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDUzMzE0MDMsIm5iZiI6MTcwNTMzMTEwMywicGF0aCI6Ii8yMDcyMDI2Ny8yOTY1NDUyMDItNGZiZDQ4NDMtZDc5My00ZmU1LWJkOTctZmVlNjNmY2IwMTA1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAxMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMTE1VDE1MDUwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM2NGM2OWRmNTkyYWZiNzljYzYzMzg5ZjVlMzBkMDJiMTk1ODQ0NDM0MjQ2YTYyNTJjMzNjNzViMmQ2YTJmNDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.VA5_b_2EJqETYHAnEgi-M3aeRDP42B0qJDBxn1hpAvg) Try changing the image size to 1024x1024. SDXL is not suitable for generating...

Thank you for your contribution. But as a C-style api header file, stable-diffusion.h should be kept as simple as possible, using only one file, so I don't think these changes...

> Check your prompt lenght (max. 75 tokens) Prompt longer than 75 tokens are already supported.

> Does this version support CPU only? I execute it and closes immediately. @cbresciano Can you provide more details? Including what operating system to run on, detailed output of sd...

> @leejet can you help us with this? pls. I have updated ggml to the latest commit. You can pull the latest changes from the master branch and give it...

> @leejet can you add support for this: [ggerganov/ggml#647](https://github.com/ggerganov/ggml/issues/647) pls I am not familiar with Metal at the moment, so I may not be of much help.

It seems that your ggml is not up to date because the submodule URL has changed. Try executing the following command to update it. ``` git submodule sync git submodule...

The latest master code has already utilized `ggml_backend_alloc_ctx_tensors`.

The latest master branch is using this: https://github.com/leejet/ggml/tree/batch-inference. It seems that your ggml is not up to date because the submodule URL has changed. Try executing the following command to...