Skip to content

Commit 5b10e55

Browse files
GnoaleSBrandeis
andauthored
feat: add scaleway inference provider (#1925)
* feat: add scaleway inference provider * Update docs * revert unrealted changes * add scaleway to partner table * Update toctree --------- Co-authored-by: SBrandeis <[email protected]>
1 parent 29bca87 commit 5b10e55

File tree

5 files changed

+78
-0
lines changed

5 files changed

+78
-0
lines changed

docs/inference-providers/_toctree.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@
101101
title: Replicate
102102
- local: providers/sambanova
103103
title: SambaNova
104+
- local: providers/scaleway
105+
title: Scaleway
104106
- local: providers/together
105107
title: Together
106108

docs/inference-providers/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Our platform integrates with leading AI infrastructure providers, giving you acc
2626
| [Nscale](./providers/nscale) ||| || | |
2727
| [Replicate](./providers/replicate) | | | ||||
2828
| [SambaNova](./providers/sambanova) || || | | |
29+
| [Scaleway](./providers/scaleway) || || | | |
2930
| [Together](./providers/together) ||| || | |
3031

3132
## Why Choose Inference Providers?
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<!---
2+
WARNING
3+
4+
This markdown file has been generated from a script. Please do not edit it directly.
5+
6+
### Template
7+
8+
If you want to update the content related to scaleway's description, please edit the template file under `https://github.com/huggingface/hub-docs/tree/main/scripts/inference-providers/templates/providers/scaleway.handlebars`.
9+
10+
### Logos
11+
12+
If you want to update scaleway's logo, upload a file by opening a PR on https://huggingface.co/datasets/huggingface/documentation-images/tree/main/inference-providers/logos. Ping @wauplin and @celinah on the PR to let them know you uploaded a new logo.
13+
Logos must be in .png format and be named `scaleway-light.png` and `scaleway-dark.png`. Visit https://huggingface.co/settings/theme to switch between light and dark mode and check that the logos are displayed correctly.
14+
15+
### Generation script
16+
17+
For more details, check out the `generate.ts` script: https://github.com/huggingface/hub-docs/blob/main/scripts/inference-providers/scripts/generate.ts.
18+
--->
19+
20+
# Scaleway
21+
22+
<Tip>
23+
24+
All supported Scaleway models can be found [here](https://huggingface.co/models?inference_provider=scaleway&sort=trending)
25+
26+
</Tip>
27+
28+
<div class="flex justify-center">
29+
<a href="https://www.scaleway.com" target="_blank">
30+
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/inference-providers/logos/scaleway-light.png"/>
31+
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/inference-providers/logos/scaleway-dark.png"/>
32+
</a>
33+
</div>
34+
35+
<div class="flex">
36+
<a href="https://huggingface.co/scaleway" target="_blank">
37+
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/follow-us-on-hf-lg.svg"/>
38+
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/follow-us-on-hf-lg-dark.svg"/>
39+
</a>
40+
</div>
41+
42+
Scaleway is a European cloud provider, serving latest LLM models through its [Generative APIs](https://www.scaleway.com/en/generative-apis/) alongside a complete cloud ecosystem.
43+
44+
## Supported tasks
45+
46+
47+
### Chat Completion (LLM)
48+
49+
Find out more about Chat Completion (LLM) [here](../tasks/chat-completion).
50+
51+
<InferenceSnippet
52+
pipeline=text-generation
53+
providersMapping={ {"scaleway":{"modelId":"Qwen/Qwen3-235B-A22B-Instruct-2507","providerModelId":"qwen3-235b-a22b-instruct-2507"} } }
54+
conversational />
55+

scripts/inference-providers/scripts/generate.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ const PROVIDERS_HUB_ORGS: Record<string, string> = {
4646
nscale: "nscale",
4747
replicate: "replicate",
4848
sambanova: "sambanovasystems",
49+
scaleway: "scaleway",
4950
together: "togethercomputer",
5051
};
5152

@@ -63,6 +64,7 @@ const PROVIDERS_URLS: Record<string, string> = {
6364
nscale: "https://www.nscale.com/",
6465
replicate: "https://replicate.com/",
6566
sambanova: "https://sambanova.ai/",
67+
scaleway: "https://www.scaleway.com",
6668
together: "https://together.xyz/",
6769
};
6870
const INFERENCE_PROVIDERS = Object.keys(PROVIDERS_HUB_ORGS);
@@ -543,6 +545,9 @@ async function fetchWarmModels(
543545
const providerData = providerMapping.filter(
544546
(mapping) => mapping.provider === provider,
545547
)[0];
548+
if (!providerData) {
549+
return;
550+
}
546551
return {
547552
modelId: topModelData.id,
548553
provider: provider,
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Scaleway
2+
3+
<Tip>
4+
5+
All supported Scaleway models can be found [here](https://huggingface.co/models?inference_provider=scaleway&sort=trending)
6+
7+
</Tip>
8+
9+
{{{logoSection}}}
10+
11+
{{{followUsSection}}}
12+
13+
Scaleway is a European cloud provider, serving latest LLM models through its [Generative APIs](https://www.scaleway.com/en/generative-apis/) alongside a complete cloud ecosystem.
14+
15+
{{{tasksSection}}}

0 commit comments

Comments
 (0)