Skip to content

Commit e6c4a19

Browse files
💥 Adding Nscale documentation to hub-docs (#1737)
* add nscale to docs * correct spacing * add section, url and hub org * fix and add nscale page --------- Co-authored-by: Celina Hanouti <[email protected]>
1 parent 4be92a9 commit e6c4a19

File tree

5 files changed

+59
-1
lines changed

5 files changed

+59
-1
lines changed

docs/inference-providers/_toctree.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
title: Nebius
3030
- local: providers/novita
3131
title: Novita
32+
- local: providers/nscale
33+
title: Nscale
3234
- local: providers/replicate
3335
title: Replicate
3436
- local: providers/sambanova

docs/inference-providers/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Here is the complete list of partners integrated with Inference Providers, and t
2323
| [Hyperbolic](./providers/hyperbolic) ||| | | |
2424
| [Nebius](./providers/nebius) ||| || |
2525
| [Novita](./providers/novita) ||| | ||
26+
| [Nscale](./providers/nscale) ||| || |
2627
| [Replicate](./providers/replicate) | | | |||
2728
| [SambaNova](./providers/sambanova) || || | |
2829
| [Together](./providers/together) ||| || |
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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 nscale's description, please edit the template file under `https://github.com/huggingface/hub-docs/tree/main/scripts/inference-providers/templates/providers/nscale.handlebars`.
9+
10+
### Logos
11+
12+
If you want to update nscale'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 `nscale-light.png` and `nscale-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+
# Nscale
21+
22+
<div class="flex justify-center">
23+
<a href="https://www.nscale.com/" target="_blank">
24+
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/inference-providers/logos/nscale-light.png"/>
25+
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/inference-providers/logos/nscale-dark.png"/>
26+
</a>
27+
</div>
28+
29+
<div class="flex">
30+
<a href="https://huggingface.co/nscale" target="_blank">
31+
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/follow-us-on-hf-lg.svg"/>
32+
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/follow-us-on-hf-lg-dark.svg"/>
33+
</a>
34+
</div>
35+
36+
Nscale is a vertically integrated AI cloud that delivers bespoke, sovereign AI infrastructure at scale.
37+
38+
Built on this foundation, Nscale's inference service empowers developers with a wide range of models and ready-to-use inference services that integrate into workflows without the need to manage the underlying infrastructure.
39+
40+
## Supported tasks
41+

scripts/inference-providers/scripts/generate.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ const PROVIDERS_HUB_ORGS: Record<string, string> = {
4141
hyperbolic: "Hyperbolic",
4242
nebius: "nebius",
4343
novita: "novita",
44+
nscale: "nscale",
4445
replicate: "replicate",
4546
sambanova: "sambanovasystems",
4647
together: "togethercomputer",
@@ -55,6 +56,7 @@ const PROVIDERS_URLS: Record<string, string> = {
5556
hyperbolic: "https://hyperbolic.xyz/",
5657
nebius: "https://nebius.com/",
5758
novita: "https://novita.ai/",
59+
nscale: "https://www.nscale.com/",
5860
replicate: "https://replicate.com/",
5961
sambanova: "https://sambanova.ai/",
6062
together: "https://together.xyz/",
@@ -772,7 +774,8 @@ await Promise.all(
772774
);
773775

774776
await Promise.all(
775-
Object.entries(PER_PROVIDER_TASKS).map(async ([provider, tasks]) => {
777+
INFERENCE_PROVIDERS.map(async (provider) => {
778+
const tasks = PER_PROVIDER_TASKS[provider] || []; // Get tasks or use an empty array if none
776779
const rendered = await renderTemplate(provider, "providers", {
777780
tasksSection: PROVIDER_TASKS_TEMPLATE({ tasks }),
778781
followUsSection: FOLLOW_US_BUTTON_TEMPLATE({
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Nscale
2+
3+
{{{logoSection}}}
4+
5+
{{{followUsSection}}}
6+
7+
Nscale is a vertically integrated AI cloud that delivers bespoke, sovereign AI infrastructure at scale.
8+
9+
Built on this foundation, Nscale's inference service empowers developers with a wide range of models and ready-to-use inference services that integrate into workflows without the need to manage the underlying infrastructure.
10+
11+
{{{tasksSection}}}

0 commit comments

Comments
 (0)