weave
weave copied to clipboard
chore(weave): Fix calling loaded ops
We need to support 3 types of ops loaded:
- An op that is stored as an attribute on an instance, but not bound to it (eg. dataset preprocessor)
- An op that is bound to the saved instances (eg. vector search)
- An op that is bound to a different instance than the saved instance (eg. scoring function)
Preview this PR with FeatureBee: https://beta.wandb.ai/?betaVersion=023bf25dff84806e4174626169f72e4129b9dc95