Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions dataflow/gemma/e2e_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,18 @@

from collections.abc import Callable, Iterator

import os

import conftest # python-docs-samples/dataflow/conftest.py
from conftest import Utils

import pytest

DATAFLOW_MACHINE_TYPE = "g2-standard-8"
# TODO(developer): For local testing, ensure the 'gemma_2b_en' directory is uploaded
# to a GCS bucket you manage. Update the constant below to point to
# TODO(developer): For local testing, ensure the 'gemma_2b_en' directory is uploaded
# to a GCS bucket you manage. Update the constant below to point to
# the root path of this uploaded directory (e.g., 'gs://your-bucket-name/path/to/gemma_2b').
GEMMA_GCS = "gs://perm-dataflow-gemma-example-testdata/gemma_2b"
GEMMA_GCS = os.getenv("GEMMA_GCS", "gs://perm-dataflow-gemma-example-testdata/gemma_2b")
NAME = "dataflow/gemma/streaming"


Expand Down
5 changes: 2 additions & 3 deletions dataflow/gemma/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
protobuf==6.33.6
apache_beam[gcp]==2.74.0
keras==3.14.1
keras==3.15.1
keras_nlp==0.29.1
pyOpenSSL==26.3.0
pyOpenSSL==26.2.0