You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR updates the `ReplicateTextToImageTask` method to support running
arbitrary LoRAs on Replicate.
How it works:
1. Detect LoRAs by their tags before inference.
2. Use https://replicate.com/black-forest-labs/flux-dev-lora for
inference
3. Use the requested LoRA as the `weights_url` input to the
flux-dev-lora model
## Companion PR
- replicate/huggingface-model-mappings#9
## Testing
Remove the `skip` from `describe.skip("InferenceClient" ...` in
InferenceClient.spec.ts
Then:
```
$ pnpx vitest run --config vitest.config.mts -t "Replicate"
```
---------
Co-authored-by: Simon Brandeis <[email protected]>
Co-authored-by: célina <[email protected]>
Co-authored-by: Lucain <[email protected]>
0 commit comments