Skip to content
Merged
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
13 changes: 8 additions & 5 deletions examples/tutorial/KDD_2025/heterogeneous_walkthrough.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1427,13 +1427,16 @@
"\n",
"# In order for your code changes to be reflected in the docker images, you can build your own docker images.\n",
"# We have a script that will build the docker images for you.\n",
"from gigl.orchestration.img_builder import build_and_push_customer_src_images\n",
"from scripts.build_and_push_docker_image import build_and_push_cpu_image, build_and_push_cuda_image, build_and_push_dataflow_image\n",
"\n",
"repository = \"gigl-base-images\"\n",
"tag = f\"{getpass.getuser()}_{datetime.datetime.now().strftime('%Y%m%d_%H%M%S')}\"\n",
"notebook_cpu_image, notebook_cuda_image, notebook_dataflow_image = build_and_push_customer_src_images(\n",
" context_path=\".\",\n",
" export_docker_artifact_registry=f\"us-central1-docker.pkg.dev/{resource_config.project}/{repository}\",\n",
")"
"notebook_cpu_image = f\"us-central1-docker.pkg.dev/{resource_config.project}/{repository}/src-cuda:{tag}\"\n",
"notebook_cuda_image = f\"us-central1-docker.pkg.dev/{resource_config.project}/{repository}/src-cuda:{tag}\"\n",
"notebook_dataflow_image = f\"us-central1-docker.pkg.dev/{resource_config.project}/{repository}/src-dataflow:{tag}\"\n",
"build_and_push_cpu_image(notebook_cpu_image)\n",
"build_and_push_cuda_image(notebook_cuda_image)\n",
"build_and_push_dataflow_image(notebook_dataflow_image)\n"
]
},
{
Expand Down