Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EXP ONLY] Only use us locations for VertexAI #829

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
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
6 changes: 3 additions & 3 deletions ci/k8s/pr-exp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ spec:
name: results-volume
env:
- name: LLM_NUM_EXP
value: '40'
value: '1'
- name: LLM_NUM_EVA
value: '10'
value: '1'
- name: VERTEX_AI_LOCATIONS
value: 'asia-east1,asia-east2,asia-northeast1,asia-northeast3,asia-south1,asia-southeast1,australia-southeast1,europe-central2,europe-north1,europe-southwest1,europe-west1,europe-west2,europe-west3,europe-west4,europe-west6,europe-west8,europe-west9,southamerica-east1,us-central1,us-east1,us-east4,us-east5,us-south1,us-west1,us-west4'
value: 'us-central1'
- name: CLOUD_BUILD_LOCATION
value: 'us-west2'
- name: GCB_BUILDPOOL_NAME
Expand Down
2 changes: 1 addition & 1 deletion run_all_experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def parse_args() -> argparse.Namespace:
parser.add_argument('-mr',
'--agent-max-round',
type=int,
default=10,
default=100,
help='Max trial round for agents.')

args = parser.parse_args()
Expand Down
2 changes: 1 addition & 1 deletion run_one_experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def _fuzzing_pipelines(benchmark: Benchmark, model: models.LLM,
with pool.ThreadPool(processes=NUM_EVA) as p:
# Initialize thread-local storage in each worker before processing
task_args = [(benchmark, model, args, work_dirs, trial)
for trial in range(1, NUM_EVA + 1)]
for trial in range(1, 11)]
trial_results = p.starmap(_fuzzing_pipeline, task_args)
return BenchmarkResult(benchmark=benchmark,
work_dirs=work_dirs,
Expand Down
Loading