replicate-go icon indicating copy to clipboard operation
replicate-go copied to clipboard

how to run a model without version?

Open cdreier opened this issue 1 year ago • 4 comments

Or how can i find the version for example for black-forest-labs/flux-schnell ?

Other models have a "versions" tab, seems like this is missing here?

cdreier avatar Aug 18 '24 16:08 cdreier

Hi, I was wondering about the same, having the "version must be specified" for now

AnwarChakhar avatar Aug 18 '24 23:08 AnwarChakhar

Hi @cdreier @AnwarChakhar. Sorry for the confusion. The method you're looking for is CreatePredictionWithModel.

mattt avatar Aug 19 '24 21:08 mattt

thanks a lot, will test it and leave some feedback :+1:

cdreier avatar Aug 20 '24 08:08 cdreier

Thanks @mattt ! it's working perfectly on my side :)

AnwarChakhar avatar Aug 20 '24 09:08 AnwarChakhar

Closing this as resolved.

@cdreier Let me know if you're having any problems with this, and I'll be happy to take a look.

mattt avatar Aug 22 '24 11:08 mattt

This needs documenting some more as I've been fumbling around trying to find llama versions (looking for a hash), putting in other billing details, asking on Replicate's discord and further debugging for this morning.

Also the examples on the readme, the stability-ai/sdxl example has a version, the incredibly-fast-whisper example has a version but no model name? Very confusing.

oliverbenns avatar Aug 26 '24 09:08 oliverbenns