Skip to content

[docs] add featherless docs #1748

Closed
DarinVerheijke wants to merge 3 commits into
huggingface:mainfrom
featherless-ai-integrations:featherless-docs
Closed

[docs] add featherless docs #1748
DarinVerheijke wants to merge 3 commits into
huggingface:mainfrom
featherless-ai-integrations:featherless-docs

Conversation

@DarinVerheijke

@DarinVerheijke DarinVerheijke commented May 22, 2025

Copy link
Copy Markdown
Contributor

Adds Featherless.ai provider to the documentation:

Waiting on merge of huggingface/huggingface_hub#3081

@DarinVerheijke DarinVerheijke changed the title add featherless docs [docs] add featherless docs May 22, 2025
@DarinVerheijke
DarinVerheijke marked this pull request as ready for review May 27, 2025 15:05

@hanouticelina hanouticelina left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DarinVerheijke Thank you for this PR! could you open a PR in the huggingface/documentation-images repository to upload your logos (separate light and dark mode versions)? alternatively, you can provide the logos here and we will upload them :)

@DarinVerheijke

Copy link
Copy Markdown
Contributor Author

@DarinVerheijke Thank you for this PR! could you open a PR in the huggingface/documentation-images repository to upload your logos (separate light and dark mode versions)? alternatively, you can provide the logos here and we will upload them :)

ofcourse!
see: https://huggingface.co/datasets/huggingface/documentation-images/discussions/498

@hanouticelina

Copy link
Copy Markdown
Contributor

Hi @DarinVerheijke,
thank you, we're almost there! :) could you run pnpm install (if you haven’t already) and then pnpm run generate at the root of the scripts/inference-providers repository to generate the documentation for featherless AI ? after that, you just have to commit docs/inference-providers/providers/featherless-ai.md, docs/inference-providers/tasks/chat-completion.md and docs/inference-providers/tasks/text-generation.md.

@DarinVerheijke

DarinVerheijke commented Jun 3, 2025

Copy link
Copy Markdown
Contributor Author

Hi @DarinVerheijke, thank you, we're almost there! :) could you run pnpm install (if you haven’t already) and then pnpm run generate at the root of the scripts/inference-providers repository to generate the documentation for featherless AI ? after that, you just have to commit docs/inference-providers/providers/featherless-ai.md, docs/inference-providers/tasks/chat-completion.md and docs/inference-providers/tasks/text-generation.md.

I'm currently getting some errors with running the generate script, specifically in fetchwarmmodels(), is it possible that this is caused by us still being in staging?

@hanouticelina

Copy link
Copy Markdown
Contributor

I'm currently getting some errors with running the generate script, specifically in fetchwarmmodels(), is it possible that this is caused by us still being in staging

could you share the full traceback of the error?
I was able to run the script and generate the docs locally without issues, but I don t have write access to https://github.com/featherlessai/hub-docs/tree/featherless-docs, so I couldn't push the changes

@DarinVerheijke

DarinVerheijke commented Jun 3, 2025

Copy link
Copy Markdown
Contributor Author

I'm currently getting some errors with running the generate script, specifically in fetchwarmmodels(), is it possible that this is caused by us still being in staging

could you share the full traceback of the error? I was able to run the script and generate the docs locally without issues, but I don t have write access to https://github.com/featherlessai/hub-docs/tree/featherless-docs, so I couldn't push the changes

Strange, I'll try again, I've given you write access in the meanwhile,

EDIT to add traceback:

          providerModelId: providerData.providerId,
                                        ^
TypeError: Cannot read properties of undefined (reading 'providerId')

    at <anonymous> (/home/darin/hub-docs/scripts/inference-providers/scripts/generate.ts:546:41)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0)
    at async fetchWarmModels (/home/darin/hub-docs/scripts/inference-providers/scripts/generate.ts:509:5)
    at async <anonymous> (/home/darin/hub-docs/scripts/inference-providers/scripts/generate.ts:558:40)
    at async Promise.all (index 13)
    at async <anonymous> (/home/darin/hub-docs/scripts/inference-providers/scripts/generate.ts:556:1)

Node.js v20.17.0
 ELIFECYCLE  Command failed with exit code 1.

@hanouticelina

hanouticelina commented Jun 3, 2025

Copy link
Copy Markdown
Contributor

I've given you write access in the meanwhile,

I still have only read permission to the repo and cannot push the changes

EDIT: nevermind, it works!

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@hanouticelina hanouticelina left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks a lot @DarinVerheijke for adding this! you can check the result here: https://moon-ci-docs.huggingface.co/docs/inference-providers/pr_1748/en/providers/featherless-ai

We will merge this as soon as we're ready to go live! cc @SBrandeis for viz

@DarinVerheijke

Copy link
Copy Markdown
Contributor Author

hanouticelina

Awesome thanks for taking the time!

@hanouticelina

Copy link
Copy Markdown
Contributor

closing this PR as duplicate of #1780 (already merged)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants