Skip to content

Commit e85a14b

Browse files
author
Eric Cornwell
committed
Added solution guidance tracking, updated arch diagram to v1.7, fixed rotation artifacts
1 parent 3e2b76f commit e85a14b

File tree

21 files changed

+963
-598
lines changed

21 files changed

+963
-598
lines changed
Binary file not shown.
45.8 KB
Loading
42.9 KB
Loading

assets/images/gs-deploy-arch.PNG

-10.9 KB
Loading

assets/images/gs-workflow-arch.PNG

-6.35 KB
Loading

assets/input/BenchMelb.mov

88.1 MB
Binary file not shown.

deployment/cdk/app.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
# Comply with SageMaker path definitions
4747
current_path = os.path.dirname(os.path.realpath(__file__))
48-
build_args = {'CODE_PATH':'/opt/ml/code','MODEL_PATH':'/opt/ml/model'}
48+
build_args = {'CODE_PATH':'/opt/ml/code','MODEL_PATH':'/opt/ml/model'} #,'--no-cache': 'true'}
4949

5050
# Handle deploying and destroying groups of stacks
5151
select_all = False
@@ -64,7 +64,8 @@
6464
scope=app,
6565
id="GSWorkflowBaseStack",
6666
config_data=config_data,
67-
env=environment
67+
env=environment,
68+
description="Guidance for Open Source 3D Reconstruction Toolbox for Gaussian Splats on AWS (SO9142)"
6869
)
6970

7071
# Always include post-deploy stack in the app definition, even during destroy
@@ -89,7 +90,8 @@
8990
output_json_path=outputs_path,
9091
build_args=build_args,
9192
dockerfile_path=os.path.join(current_path, "../../source/container"),
92-
env=environment
93+
env=environment,
94+
description="Guidance for Open Source 3D Reconstruction Toolbox for Gaussian Splats on AWS (SO9142)"
9395
)
9496
print("Post-deploy stack created successfully")
9597

deployment/cdk/requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
aws-cdk-lib==2.144.0
1+
aws-cdk-lib==2.200.1
22
constructs>=10.0.0,<11.0.0
3-
cdk-ecr-deployment==3.0.127
4-
boto3
5-
gradio
3+
cdk-ecr-deployment==4.0.1
4+
boto3==1.38.34
5+
gradio==5.33.2

deployment/cdk/stacks/components/container_deployment.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,7 @@ def __init__(
107107
directory=dockerfile_path,
108108
build_args=build_args,
109109
platform=ecr_assets.Platform.LINUX_AMD64,
110-
#build_options={
111-
# "platform": "linux/amd64"
112-
#}
110+
#cache_disabled=True
113111
)
114112

115113
# Copy image from cdk docker image asset to ECR

deployment/cdk/stacks/components/s3.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def __init__(
5959
enforce_ssl=True,
6060
encryption=s3.BucketEncryption.S3_MANAGED,
6161
removal_policy=removal_policy,
62+
auto_delete_objects=removal_policy == RemovalPolicy.DESTROY,
6263
block_public_access=s3.BlockPublicAccess.BLOCK_ALL,
6364
lifecycle_rules=[
6465
s3.LifecycleRule(
@@ -104,7 +105,8 @@ def __init__(
104105
versioned=True,
105106
enforce_ssl=True,
106107
encryption=s3.BucketEncryption.S3_MANAGED,
107-
removal_policy=RemovalPolicy.RETAIN,
108+
removal_policy=removal_policy,
109+
auto_delete_objects=removal_policy == RemovalPolicy.DESTROY,
108110
cors=[
109111
s3.CorsRule(
110112
allowed_methods=[

0 commit comments

Comments
 (0)