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

DM-46885: Set up a Prompt Processing deployment configured for ComCam. #3793

Merged
merged 3 commits into from
Oct 25, 2024

Conversation

erinleighh
Copy link
Collaborator

No description provided.

@erinleighh erinleighh force-pushed the tickets/DM-46885 branch 2 times, most recently from 21f8612 to 9fb674d Compare October 24, 2024 23:00
@erinleighh erinleighh marked this pull request as ready for review October 25, 2024 00:21
@erinleighh erinleighh requested a review from hsinfang October 25, 2024 00:28

s3:
imageBucket: rubin-summit
endpointUrl: https://s3dfrgw.slac.stanford.edu
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://sdfembs3.sdf.slac.stanford.edu

imageBucket: rubin-summit
endpointUrl: https://s3dfrgw.slac.stanford.edu

raw_microservice: http://172.24.5.144:8080/presence
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

172.24.5.158


imageNotifications:
kafkaClusterAddress: prompt-processing-2-kafka-bootstrap.kafka:9092
topic: rubin-prompt-processing-prod
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rubin-summit-notification

# BLOCK-271 is photon transfer curve calibrations
# BLOCK-295 is the daily calibration sequence as of May 27, 2024
main: >-
(survey="BLOCK-306")=[${PROMPT_PROCESSING_DIR}/pipelines/LSSTComCam/ApPipe.yaml,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These survey names are for LATISS and are unlikely to be the same for LSSTComCam. See the Slack thread . It's okay to put in a simpler placeholder for now.

@@ -15,11 +15,11 @@ Prompt Proto Service is an event driven service for processing camera images. Th
| prompt-proto-service.additionalVolumeMounts | list | `[]` | Kubernetes YAML configs for extra container volume(s). Any volumes required by other config options are automatically handled by the Helm chart. |
| prompt-proto-service.affinity | object | `{}` | Affinity rules for the prompt processing pods |
| prompt-proto-service.alerts.server | string | `"usdf-alert-stream-dev-broker-0.lsst.cloud:9094"` | Server address for the alert stream |
| prompt-proto-service.alerts.topic | string | None, must be set | Topic name where alerts will be sent |
| prompt-proto-service.alerts.topic | string | `""` | Topic name where alerts will be sent |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit of doc update should be squashed with the commit where you update the values

image:
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: 4.5.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4.6.0 ?

@@ -62,7 +62,7 @@ prompt-proto-service:
# -- A factor by which to multiply `baseSize` for refcat datasets.
refcatsPerImage: 4
# -- A factor by which to multiply `baseSize` for templates and other patch-based datasets.
patchesPerImage: 4
patchesPerImage: 6
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know what's the optimal values, but I probably would start with those of LSSTComCamSim. Or where did you get these values that I probably missed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These values came from LATISS but I will update them to LSSTComCamSim's.

# -- The URI to a microservice that maps image metadata to a file location.
# If empty, Prompt Processing does not use a microservice.
raw_microservice: ""

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason to delete this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, that was an accident. Thanks for catching that!

@@ -102,7 +98,6 @@ prompt-proto-service:
# -- Server address for the alert stream
server: "usdf-alert-stream-dev-broker-0.lsst.cloud:9094"
# -- Topic name where alerts will be sent
# @default -- None, must be set
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The None default seems good to me. Any reason not?

@@ -143,17 +138,14 @@ prompt-proto-service:
memoryRequest: "2Gi"
# -- The maximum memory limit for the full pod (see `containerConcurrency`).
memoryLimit: "8Gi"
# -- To acommodate scheduling problems, Knative waits for a request for twice `worker.timeout`.
# This parameter adds extra time to that minimum (seconds).
extraTimeout: 10
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reason to delete this?

@erinleighh erinleighh added this pull request to the merge queue Oct 25, 2024
Merged via the queue into main with commit bfd0bf0 Oct 25, 2024
6 checks passed
@erinleighh erinleighh deleted the tickets/DM-46885 branch October 25, 2024 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants