Skip to content

Make it hard to not pin a version #69

Closed
@bfirsh

Description

@bfirsh

The default way of running a prediction should be by selecting a version, not by selecting a model.

We should remove the model.predict() method, and something like this should be the recommended way to run predictions:

replicate.predict(version="27b93a2413e7f36cd83da926f3656280b2931564ff050bf9575f1fdf9bcd7478", input={...})

This might need syncing up with a future javascript client library. Something that @zeke might be thinking about.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions