New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow different models in replicate.ai interface #17
Conversation
Hi @mehdidc, Yes, that is the way, but you do need to push from a GPU machine when in I could adapt the code and push from my side? |
Hey @cjwbw, thanks for your answer. I did load all the models on |
Hi @mehdidc, yes just looked closely that models are loaded in |
Super cool, thanks! cc12m_32x1024_mlp_mixer_v0.2.th, it's cause by EDIT: Ok done, it should work now |
…has no attribute _recipe`
I have pushed the model to the server now :) just need to change line 35 in |
Cool :) Oh yes indeed, done for |
Thanks a lot @cjwbw, everything works fine, merging. |
@mehdidc These new models are so cool. :D We haven't added support to change examples yet, but we can do it manually in the database for you if you'd like. Would you like to change the example that's displayed by default on the form? Maybe one using v0.2? |
@bfirsh Glad tout you like the new models :) thanks for all the support, the service/web interface makes it so easy to test the models. |
Done! Let me know if there are any you want to delete/reorder too. We're working on a user interface... sorry about this... 😅 |
Very nice thanks! sure will let you know :) |
Hi @bfirsh, asking the following because someone was interested, is it possible to access the models using an API ? I mentioned the possibility to use Docker + any HTTP client such as curl as already mentioned in the page, but that will of course launch the web service locally. You might also want to answer directly if you would like, as it relates to replicate.ai in general |
@cjwbw Thanks again for providing an interface to the model in replicate.ai. I would like now to allow the user to select between different models. I modified
predict.py
anddownload-weights.sh
accordingly.I would like to update the image on https://replicate.ai/mehdidc/feed_forward_vqgan_clip/ , is
cog push r8.im/mehdidc/feed_forward_vqgan_clip
the correct way to do it ? or it should be done on your side ? I tried the command but I got "docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]." since I don't have an nvidia GPU on my local machine (assuming that's the reason it failed).