Skip to content

[docs] Romanian translation of pipeline_tutorial.md, pipeline_gradio.md, pipeline_webserver.md and add_new_pipeline.md.#46388

Merged
stevhliu merged 5 commits into
huggingface:mainfrom
filipinescu:ro
Jun 4, 2026
Merged

[docs] Romanian translation of pipeline_tutorial.md, pipeline_gradio.md, pipeline_webserver.md and add_new_pipeline.md.#46388
stevhliu merged 5 commits into
huggingface:mainfrom
filipinescu:ro

Conversation

@filipinescu
Copy link
Copy Markdown
Contributor

What does this PR do?

Translates pipeline_tutorial.md, pipeline_gradio.md, pipeline_webserver.md and add_new_pipeline.md into Romanian. Also updates the _toctree.yml file accordingly.

Continuation of #46166, #46309, #46345 and #46356, related to issue #38435.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?

@stevhliu :)


Fiecare task este configurat să folosească un model preantrenat și un preprocesor implicit, dar acest lucru poate fi suprascris cu parametrul `model` dacă vrei să folosești un alt model.

De exemplu, pentru a folosi [`TextGenerationPipeline`] cu [Gemma 2], setează `task="text-generation"` și `model="google/gemma-2-2b"`.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

removed link, will update when translated

Copy link
Copy Markdown
Contributor Author

@filipinescu filipinescu left a comment

Choose a reason for hiding this comment

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

added comment

Copy link
Copy Markdown
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

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

thanks!

Comment thread docs/source/ro/pipeline_webserver.md Outdated
1. Nu există o limită pentru dimensiunea batch-ului.
2. Timeout-ul este resetat la fiecare preluare din queue, așa că ai putea ajunge să aștepți mult mai mult decât valoarea `timeout` înainte de a procesa o cerere. Acest lucru ar întârzia și prima cerere de inferență cu acea perioadă de timp. Web server-ul așteaptă mereu 1s chiar dacă queue-ul este gol, ceea ce este ineficient, deoarece acel timp poate fi folosit pentru a porni inferența. Totuși, ar putea avea sens dacă batching-ul este esențial pentru cazul tău de utilizare.

Ar fi mai bine să ai un singur deadline de 1s, în loc să îl resetezi la fiecare preluare, așa cum se arată mai jos.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
Ar fi mai bine să ai un singur deadline de 1s, în loc să îl resetezi la fiecare preluare, așa cum se arată mai jos.
Ar fi mai bine să ai un singur deadline de 1ms, în loc să îl resetezi la fiecare preluare, așa cum se arată mai jos.

@filipinescu filipinescu requested a review from stevhliu June 4, 2026 15:49
Copy link
Copy Markdown
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

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

👍

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

CI Dashboard: View test results in Grafana

@stevhliu stevhliu added this pull request to the merge queue Jun 4, 2026
@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.

Merged via the queue into huggingface:main with commit 032db9c Jun 4, 2026
17 checks passed
@filipinescu filipinescu deleted the ro branch June 4, 2026 16:13
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