这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
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
2 changes: 2 additions & 0 deletions notebooks/community/model_garden/model_garden_e5.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,8 @@
" accept_eula=True,\n",
" use_dedicated_endpoint=use_dedicated_endpoint,\n",
" serving_container_image_uri=\"us-docker.pkg.dev/vertex-ai/vertex-vision-model-garden-dockers/pytorch-vllm-serve:20250430_0916_RC00_maas\",\n",
" machine_type=\"a3-highgpu-1g\",\n",
" accelerator_type=\"NVIDIA_H100_80GB\",\n",
" machine_type=\"a2-ultragpu-1g\",\n",
" accelerator_type=\"NVIDIA_A100_80GB\",\n",
" accelerator_count=1,\n",
")"
]
Expand All @@ -400,8 +400,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,8 @@
" accept_eula=True,\n",
" use_dedicated_endpoint=use_dedicated_endpoint,\n",
" serving_container_image_uri=\"us-docker.pkg.dev/deeplearning-platform-release/vertex-model-garden/sglang-serve.cu124.0-4.ubuntu2204.py310:model-garden.sglang-0-4-release_20250817.00_p0\",\n",
" machine_type=\"a3-highgpu-1g\",\n",
" accelerator_type=\"NVIDIA_H100_80GB\",\n",
" machine_type=\"a2-ultragpu-1g\",\n",
" accelerator_type=\"NVIDIA_A100_80GB\",\n",
" accelerator_count=1,\n",
")"
]
Expand All @@ -400,8 +400,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,8 @@
" accept_eula=True,\n",
" use_dedicated_endpoint=use_dedicated_endpoint,\n",
" serving_container_image_uri=\"us-docker.pkg.dev/vertex-ai/vertex-vision-model-garden-dockers/pytorch-vllm-serve:20251023_0916_RC01\",\n",
" machine_type=\"a3-highgpu-1g\",\n",
" accelerator_type=\"NVIDIA_H100_80GB\",\n",
" machine_type=\"a2-ultragpu-1g\",\n",
" accelerator_type=\"NVIDIA_A100_80GB\",\n",
" accelerator_count=1,\n",
")"
]
Expand All @@ -400,8 +400,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,6 @@
"# )\n",
"# endpoint = aiplatform.Endpoint(aip_endpoint_name)\n",
"\n",
"# @markdown A chat template formatted prompt for Gemma 3n is shown below as an example.\n",
"prompt = \"Write a quick sort algorithm in Python.\" # @param {type: \"string\"}\n",
"\n",
"max_new_tokens = 32768 # @param {type:\"integer\"}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
},
"outputs": [],
"source": [
"model_version = \"qwen3-vl-8b-instruct\" # @param [\"qwen3-vl-235b-a22b-instruct\", \"qwen3-vl-235b-a22b-instruct-fp8\", \"qwen3-vl-235b-a22b-thinking\", \"qwen3-vl-235b-a22b-thinking-fp8\", \"qwen3-vl-30b-a3b-instruct\", \"qwen3-vl-30b-a3b-instruct-fp8\", \"qwen3-vl-30b-a3b-thinking\", \"qwen3-vl-30b-a3b-thinking-fp8\", \"qwen3-vl-32b-instruct\", \"qwen3-vl-32b-instruct-fp8\", \"qwen3-vl-32b-thinking\", \"qwen3-vl-32b-thinking-fp8\", \"qwen3-vl-4b-instruct\", \"qwen3-vl-4b-instruct-fp8\", \"qwen3-vl-4b-thinking\", \"qwen3-vl-4b-thinking-fp8\", \"qwen3-vl-8b-instruct\", \"qwen3-vl-8b-instruct-fp8\", \"qwen3-vl-8b-thinking\", \"qwen3-vl-8b-thinking-fp8\"] {isTemplate:true}\n",
"model_version = \"qwen3-vl-8b-instruct\" # @param [\"qwen3-vl-235b-a22b-instruct\", \"qwen3-vl-235b-a22b-instruct-fp8\", \"qwen3-vl-235b-a22b-thinking\", \"qwen3-vl-235b-a22b-thinking-fp8\", \"qwen3-vl-2b-instruct\", \"qwen3-vl-2b-instruct-fp8\", \"qwen3-vl-2b-thinking\", \"qwen3-vl-2b-thinking-fp8\", \"qwen3-vl-30b-a3b-instruct\", \"qwen3-vl-30b-a3b-instruct-fp8\", \"qwen3-vl-30b-a3b-thinking\", \"qwen3-vl-30b-a3b-thinking-fp8\", \"qwen3-vl-32b-instruct\", \"qwen3-vl-32b-instruct-fp8\", \"qwen3-vl-32b-thinking\", \"qwen3-vl-32b-thinking-fp8\", \"qwen3-vl-4b-instruct\", \"qwen3-vl-4b-instruct-fp8\", \"qwen3-vl-4b-thinking\", \"qwen3-vl-4b-thinking-fp8\", \"qwen3-vl-8b-instruct\", \"qwen3-vl-8b-instruct-fp8\", \"qwen3-vl-8b-thinking\", \"qwen3-vl-8b-thinking-fp8\"] {isTemplate:true}\n",
"MODEL_NAME = f\"qwen/qwen3-vl@{model_version}\""
]
},
Expand Down Expand Up @@ -400,8 +400,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,10 @@
"source": [
"if \"sdk_default\" in endpoints:\n",
" endpoint = endpoints[\"sdk_default\"]\n",
" LABEL = \"sdk_default\"\n",
"elif \"sdk_custom\" in endpoints:\n",
" endpoint = endpoints[\"sdk_custom\"]\n",
" LABEL = \"sdk_custom\"\n",
"else:\n",
" raise ValueError(\"No endpoint found. Create an endpoint.\")"
]
Expand Down
Loading