Feat/custom model not supported in stable diffusion deploy #265
base: main
Are you sure you want to change the base?
Feat/custom model not supported in stable diffusion deploy #265
Conversation
- The custom model which isn't supported in stable_diffusion_inference.
@aniketmaurya coverage run --source muse -m pytest muse tests -v These tests worked well in github action, but the tests were never end forever. I don't know the reason. Do you have any idea about it? |
Using stable diffusion checkpoint to test function is not good at Github Action. Mac instance can be run all the test, but Ubuntu instance can't download checkpoint and run test. |
0f2a5e6
to
9c9e9b3
Compare
I split test function.
The first test runs smoothly in github action. It does not download or forward the model, but simply checks that the variables for downloading model are set properly. The second test actually downloads the model and loads the model using the stable_diffusion_inference library. Since this is difficult to test in github action, README.md has been added to the tests directory so that it can be tested locally. |
a950d53
to
ca1f903
Compare
70dc1f1
to
6b89f37
Compare
I've resolved all the testing and conflicts. Can you review it again? @Borda @aniketmaurya |
2f7ffac
to
3f27390
Compare
I combined all the messy commits using sqush. |
@Borda @aniketmaurya HI! I know you're busy, but could you give me some simple reviews? Thanks! |
thank you for your contribution, about this app I would rather leave it to @aniketmaurya as he was much more hands-on during the whole development... |
1eaf427
to
d188210
Compare
Before submitting
What does this PR do?
Fixes #264
The repo only supports models stable diffusion v1.4, v1.5, v2.0-base, v2.0-high in stable_diffusion_infernece.
I made some codes for supporting custom models via URL and local path.
I update docs of configurations, too!
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃