[docs] Romanian translation of pipeline_tutorial.md, pipeline_gradio.md, pipeline_webserver.md and add_new_pipeline.md.#46388
Merged
Conversation
filipinescu
commented
Jun 3, 2026
|
|
||
| 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"`. |
Contributor
Author
There was a problem hiding this comment.
removed link, will update when translated
filipinescu
commented
Jun 3, 2026
Contributor
Author
filipinescu
left a comment
There was a problem hiding this comment.
added comment
stevhliu
approved these changes
Jun 4, 2026
| 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. |
Member
There was a problem hiding this comment.
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. |
Contributor
|
CI Dashboard: View test results in Grafana |
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Translates
pipeline_tutorial.md,pipeline_gradio.md,pipeline_webserver.mdandadd_new_pipeline.mdinto Romanian. Also updates the_toctree.ymlfile accordingly.Continuation of #46166, #46309, #46345 and #46356, related to issue #38435.
Before submitting
Pull Request section?
@stevhliu :)