|
49 | 49 | "source": [
|
50 | 50 | "# S3 bucket and prefix\n",
|
51 | 51 | "bucket = '<your_s3_bucket_name_here>'\n",
|
52 |
| - "prefix = 'sagemaker/data_distribution_types'\n", |
| 52 | + "prefix = 'sagemaker/DEMO-data-distribution-types'\n", |
53 | 53 | "\n",
|
54 | 54 | "# Define IAM role\n",
|
55 | 55 | "import boto3\n",
|
|
327 | 327 | "metadata": {},
|
328 | 328 | "outputs": [],
|
329 | 329 | "source": [
|
330 |
| - "sharded_job = 'linear-sharded-' + time.strftime(\"%Y-%m-%d-%H-%M-%S\", time.gmtime())\n", |
| 330 | + "sharded_job = 'DEMO-linear-sharded-' + time.strftime(\"%Y-%m-%d-%H-%M-%S\", time.gmtime())\n", |
331 | 331 | "\n",
|
332 | 332 | "print(\"Job name is:\", sharded_job)\n",
|
333 | 333 | "\n",
|
|
342 | 342 | "metadata": {},
|
343 | 343 | "outputs": [],
|
344 | 344 | "source": [
|
345 |
| - "replicated_job = 'linear-replicated-' + time.strftime(\"%Y-%m-%d-%H-%M-%S\", time.gmtime())\n", |
| 345 | + "replicated_job = 'DEMO-linear-replicated-' + time.strftime(\"%Y-%m-%d-%H-%M-%S\", time.gmtime())\n", |
346 | 346 | "\n",
|
347 | 347 | "print(\"Job name is:\", replicated_job)\n",
|
348 | 348 | "\n",
|
|
512 | 512 | "metadata": {},
|
513 | 513 | "outputs": [],
|
514 | 514 | "source": [
|
515 |
| - "sharded_endpoint_config = 'sharded-endpoint-config-' + time.strftime(\"%Y-%m-%d-%H-%M-%S\", time.gmtime())\n", |
| 515 | + "sharded_endpoint_config = 'DEMO-sharded-endpoint-config-' + time.strftime(\"%Y-%m-%d-%H-%M-%S\", time.gmtime())\n", |
516 | 516 | "print(sharded_endpoint_config)\n",
|
517 | 517 | "sharded_endpoint_config_response = sm.create_endpoint_config(\n",
|
518 | 518 | " EndpointConfigName=sharded_endpoint_config,\n",
|
|
531 | 531 | "metadata": {},
|
532 | 532 | "outputs": [],
|
533 | 533 | "source": [
|
534 |
| - "replicated_endpoint_config = 'replicated-endpoint-config-' + time.strftime(\"%Y-%m-%d-%H-%M-%S\", time.gmtime())\n", |
| 534 | + "replicated_endpoint_config = 'DEMO-replicated-endpoint-config-' + time.strftime(\"%Y-%m-%d-%H-%M-%S\", time.gmtime())\n", |
535 | 535 | "print(replicated_endpoint_config)\n",
|
536 | 536 | "replicated_endpoint_config_response = sm.create_endpoint_config(\n",
|
537 | 537 | " EndpointConfigName=replicated_endpoint_config,\n",
|
|
559 | 559 | "source": [
|
560 | 560 | "%%time\n",
|
561 | 561 | "\n",
|
562 |
| - "sharded_endpoint = 'sharded-endpoint-' + time.strftime(\"%Y%m%d%H%M\", time.gmtime())\n", |
| 562 | + "sharded_endpoint = 'DEMO-sharded-endpoint-' + time.strftime(\"%Y%m%d%H%M\", time.gmtime())\n", |
563 | 563 | "print(sharded_endpoint)\n",
|
564 | 564 | "sharded_endpoint_response = sm.create_endpoint(\n",
|
565 | 565 | " EndpointName=sharded_endpoint,\n",
|
566 | 566 | " EndpointConfigName=sharded_endpoint_config)\n",
|
567 | 567 | "print(sharded_endpoint_response['EndpointArn'])\n",
|
568 | 568 | "\n",
|
569 |
| - "replicated_endpoint = 'replicated-endpoint-' + time.strftime(\"%Y%m%d%H%M\", time.gmtime())\n", |
| 569 | + "replicated_endpoint = 'DEMO-replicated-endpoint-' + time.strftime(\"%Y%m%d%H%M\", time.gmtime())\n", |
570 | 570 | "print(replicated_endpoint)\n",
|
571 | 571 | "replicated_endpoint_response = sm.create_endpoint(\n",
|
572 | 572 | " EndpointName=replicated_endpoint,\n",
|
|
0 commit comments