Commit bd1fa9e
Add more Replicate models (take 2) (huggingface#1130)
This PR adds mappings for more Replicate models, along with tests for
each new model.
```
vitest run --config vitest.config.mts -t "Replicate"
...
✓ Replicate (9) 8666ms
✓ textToImage canonical - black-forest-labs/FLUX.1-schnell 1214ms
✓ textToImage canonical - black-forest-labs/FLUX.1-dev 3472ms
✓ textToImage canonical - stabilityai/stable-diffusion-3.5-large-turbo 1460ms
✓ textToImage versioned - ByteDance/SDXL-Lightning 2612ms
✓ textToImage versioned - ByteDance/Hyper-SD 4346ms
✓ textToImage versioned - playgroundai/playground-v2.5-1024px-aesthetic 4099ms
✓ textToImage versioned - stabilityai/stable-diffusion-xl-base-1.0 7205ms
↓ textToSpeech versioned [skipped]
↓ textToSpeech OuteTTS [skipped]
```
Replaces huggingface#1102
cc @julien-c @SBrandeis
---------
Co-authored-by: SBrandeis <[email protected]>
Co-authored-by: Simon Brandeis <[email protected]>1 parent 284b28e commit bd1fa9e
File tree
3 files changed
+377
-3
lines changed- packages/inference
- src/providers
- test
3 files changed
+377
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
12 | 22 | | |
13 | 23 | | |
14 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
838 | 838 | | |
839 | 839 | | |
840 | 840 | | |
841 | | - | |
| 841 | + | |
842 | 842 | | |
843 | 843 | | |
844 | 844 | | |
| |||
847 | 847 | | |
848 | 848 | | |
849 | 849 | | |
850 | | - | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
851 | 870 | | |
852 | 871 | | |
853 | 872 | | |
854 | | - | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
855 | 901 | | |
856 | 902 | | |
857 | 903 | | |
| |||
0 commit comments