Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

tests.system.vertexai.test_tokenization.TestTokenization: many tests failed

Aperta
#6,672 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
google-cloud, python
Ambito
ai, testing-qa

Direzione di ricerca

Inizia eseguendo tests.system.vertexai.test_tokenization.TestTokenization e analizza i fallimenti elencati per gemini-1.5-pro-002 rispetto a PROD_ENDPOINT. Traccia il comportamento della tokenizzazione per i conteggi locali, i token calcolati, le istruzioni di sistema, gli strumenti e le chiamate o risposte di funzione. Il lavoro è completato quando il package non presenta più fallimenti e almeno un test ha esito positivo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

api: vertex-ai flakybot: issue priority: p1 type: bug

Many tests failed at the same time in this package.

  • I will close this issue when there are no more failures in this package and
    there is at least one pass.
  • No new issues will be filed for this package until this issue is closed.
  • If there are already issues for individual test cases, I will close them when
    the corresponding test passes. You can close them earlier, if you prefer, and
    I won't reopen them while this issue is still open.

Here are the tests that failed:

  • test_count_tokens_local[_get_tokenizer_for_model_preview-gemini-1.5-pro-002-udhr-udhr-PROD_ENDPOINT]
  • test_count_tokens_local[get_tokenizer_for_model-gemini-1.5-pro-002-udhr-udhr-PROD_ENDPOINT]
  • test_compute_tokens[_get_tokenizer_for_model_preview-gemini-1.5-pro-002-udhr-udhr-PROD_ENDPOINT]
  • test_compute_tokens[get_tokenizer_for_model-gemini-1.5-pro-002-udhr-udhr-PROD_ENDPOINT]
  • test_count_tokens_system_instruction[gemini-1.5-pro-002-PROD_ENDPOINT]
  • test_count_tokens_system_instruction_is_function_call[gemini-1.5-pro-002-PROD_ENDPOINT]
  • test_count_tokens_system_instruction_is_function_response[gemini-1.5-pro-002-PROD_ENDPOINT]
  • test_count_tokens_tool_is_function_declaration[gemini-1.5-pro-002-PROD_ENDPOINT]
  • test_count_tokens_content_is_function_call[gemini-1.5-pro-002-PROD_ENDPOINT]
  • test_count_tokens_content_is_function_response[gemini-1.5-pro-002-PROD_ENDPOINT]

commit: ca6b45e3fa09bfa53c2f2c1b1d44f9a3c7aa79d7
buildURL: Build Status, Sponge
status: failed

Lingua principale
Python
Stelle
908
Fork
468
Merge medio
2g 4h
PR unite (30g)
25

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di googleapis/python-aiplatform

Tutte le issue di googleapis/python-aiplatform

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.