Skip to content

Commit

Permalink
Add PRELOAD_PADDING env var to Prompt Processing
Browse files Browse the repository at this point in the history
This number will be used to set the amount of region padding
for spatial preload such as refcat template, and DIA preload.
  • Loading branch information
hsinfang committed Nov 13, 2024
1 parent ce50d5e commit 7cae6f3
Show file tree
Hide file tree
Showing 15 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions applications/prompt-proto-service-hsc-gpu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Prompt Proto Service is an event driven service for processing camera images. Th
| prompt-proto-service.instrument.name | string | `"HSC"` | The "short" name of the instrument |
| prompt-proto-service.instrument.pipelines.main | string | None, must be set | Machine-readable string describing which pipeline(s) should be run for which visits. Notation is complex and still in flux; see [the source code](https://github.com/lsst-dm/prompt_processing/blob/main/python/activator/config.py) for examples. |
| prompt-proto-service.instrument.pipelines.preprocessing | string | None, must be set | Machine-readable string describing which pipeline(s) should be run before which visits' raw arrival. |
| prompt-proto-service.instrument.preloadPadding | int | `30` | Number of arcseconds to pad the spatial region in preloading. |
| prompt-proto-service.instrument.skymap | string | `"hsc_rings_v1"` | Skymap to use with the instrument |
| prompt-proto-service.knative.cpuLimit | int | `1` | The maximum cpu cores for the full pod (see `containerConcurrency`). |
| prompt-proto-service.knative.cpuRequest | int | `1` | The cpu cores requested for the full pod (see `containerConcurrency`). |
Expand Down
2 changes: 2 additions & 0 deletions applications/prompt-proto-service-hsc-gpu/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ prompt-proto-service:
preprocessing: ""
# -- Skymap to use with the instrument
skymap: hsc_rings_v1
# -- Number of arcseconds to pad the spatial region in preloading.
preloadPadding: 30
# -- URI to the shared repo used for calibrations, templates, and pipeline outputs.
# If `registry.centralRepoFile` is set, this URI points to a local redirect instead of the central repo itself.
# @default -- None, must be set
Expand Down
1 change: 1 addition & 0 deletions applications/prompt-proto-service-hsc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Prompt Proto Service is an event driven service for processing camera images. Th
| prompt-proto-service.instrument.name | string | `"HSC"` | The "short" name of the instrument |
| prompt-proto-service.instrument.pipelines.main | string | None, must be set | Machine-readable string describing which pipeline(s) should be run for which visits. Notation is complex and still in flux; see [the source code](https://github.com/lsst-dm/prompt_processing/blob/main/python/activator/config.py) for examples. |
| prompt-proto-service.instrument.pipelines.preprocessing | string | None, must be set | Machine-readable string describing which pipeline(s) should be run before which visits' raw arrival. |
| prompt-proto-service.instrument.preloadPadding | int | `30` | Number of arcseconds to pad the spatial region in preloading. |
| prompt-proto-service.instrument.skymap | string | `"hsc_rings_v1"` | Skymap to use with the instrument |
| prompt-proto-service.knative.cpuLimit | int | `1` | The maximum cpu cores for the full pod (see `containerConcurrency`). |
| prompt-proto-service.knative.cpuRequest | int | `1` | The cpu cores requested for the full pod (see `containerConcurrency`). |
Expand Down
2 changes: 2 additions & 0 deletions applications/prompt-proto-service-hsc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ prompt-proto-service:
preprocessing: ""
# -- Skymap to use with the instrument
skymap: hsc_rings_v1
# -- Number of arcseconds to pad the spatial region in preloading.
preloadPadding: 30
# -- URI to the shared repo used for calibrations, templates, and pipeline outputs.
# If `registry.centralRepoFile` is set, this URI points to a local redirect instead of the central repo itself.
# @default -- None, must be set
Expand Down
1 change: 1 addition & 0 deletions applications/prompt-proto-service-latiss/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Prompt Proto Service is an event driven service for processing camera images. Th
| prompt-proto-service.instrument.name | string | `"LATISS"` | The "short" name of the instrument |
| prompt-proto-service.instrument.pipelines.main | string | None, must be set | Machine-readable string describing which pipeline(s) should be run for which visits. Notation is complex and still in flux; see [the source code](https://github.com/lsst-dm/prompt_processing/blob/main/python/activator/config.py) for examples. |
| prompt-proto-service.instrument.pipelines.preprocessing | string | None, must be set | Machine-readable string describing which pipeline(s) should be run before which visits' raw arrival. |
| prompt-proto-service.instrument.preloadPadding | int | `30` | Number of arcseconds to pad the spatial region in preloading. |
| prompt-proto-service.instrument.skymap | string | `"latiss_v1"` | Skymap to use with the instrument |
| prompt-proto-service.knative.cpuLimit | int | `1` | The maximum cpu cores for the full pod (see `containerConcurrency`). |
| prompt-proto-service.knative.cpuRequest | int | `1` | The cpu cores requested for the full pod (see `containerConcurrency`). |
Expand Down
2 changes: 2 additions & 0 deletions applications/prompt-proto-service-latiss/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ prompt-proto-service:
preprocessing: ""
# -- Skymap to use with the instrument
skymap: latiss_v1
# -- Number of arcseconds to pad the spatial region in preloading.
preloadPadding: 30
# -- URI to the shared repo used for calibrations, templates, and pipeline outputs.
# If `registry.centralRepoFile` is set, this URI points to a local redirect instead of the central repo itself.
# @default -- None, must be set
Expand Down
1 change: 1 addition & 0 deletions applications/prompt-proto-service-lsstcam/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Prompt Proto Service is an event driven service for processing camera images. Th
| prompt-proto-service.instrument.name | string | `""` | The "short" name of the instrument |
| prompt-proto-service.instrument.pipelines.main | string | None, must be set | Machine-readable string describing which pipeline(s) should be run for which visits. Notation is complex and still in flux; see [the source code](https://github.com/lsst-dm/prompt_processing/blob/main/python/activator/config.py) for examples. |
| prompt-proto-service.instrument.pipelines.preprocessing | string | None, must be set | Machine-readable string describing which pipeline(s) should be run before which visits' raw arrival. |
| prompt-proto-service.instrument.preloadPadding | int | `30` | Number of arcseconds to pad the spatial region in preloading. |
| prompt-proto-service.instrument.skymap | string | `""` | Skymap to use with the instrument |
| prompt-proto-service.knative.cpuLimit | int | `1` | The maximum cpu cores for the full pod (see `containerConcurrency`). |
| prompt-proto-service.knative.cpuRequest | int | `1` | The cpu cores requested for the full pod (see `containerConcurrency`). |
Expand Down
2 changes: 2 additions & 0 deletions applications/prompt-proto-service-lsstcam/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ prompt-proto-service:
preprocessing: ""
# -- Skymap to use with the instrument
skymap: ""
# -- Number of arcseconds to pad the spatial region in preloading.
preloadPadding: 30
# -- URI to the shared repo used for calibrations, templates, and pipeline outputs.
# If `registry.centralRepoFile` is set, this URI points to a local redirect instead of the central repo itself.
# @default -- None, must be set
Expand Down
1 change: 1 addition & 0 deletions applications/prompt-proto-service-lsstcomcam/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Prompt Proto Service is an event driven service for processing camera images. Th
| prompt-proto-service.instrument.name | string | `"LSSTComCam"` | The "short" name of the instrument |
| prompt-proto-service.instrument.pipelines.main | string | None, must be set | Machine-readable string describing which pipeline(s) should be run for which visits. Notation is complex and still in flux; see [the source code](https://github.com/lsst-dm/prompt_processing/blob/main/python/activator/config.py) for examples. |
| prompt-proto-service.instrument.pipelines.preprocessing | string | None, must be set | Machine-readable string describing which pipeline(s) should be run before which visits' raw arrival. |
| prompt-proto-service.instrument.preloadPadding | int | `30` | Number of arcseconds to pad the spatial region in preloading. |
| prompt-proto-service.instrument.skymap | string | `"ops_rehersal_prep_2k_v1"` | Skymap to use with the instrument |
| prompt-proto-service.knative.cpuLimit | int | `1` | The maximum cpu cores for the full pod (see `containerConcurrency`). |
| prompt-proto-service.knative.cpuRequest | int | `1` | The cpu cores requested for the full pod (see `containerConcurrency`). |
Expand Down
2 changes: 2 additions & 0 deletions applications/prompt-proto-service-lsstcomcam/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ prompt-proto-service:
preprocessing: ""
# -- Skymap to use with the instrument
skymap: "ops_rehersal_prep_2k_v1"
# -- Number of arcseconds to pad the spatial region in preloading.
preloadPadding: 30
# -- URI to the shared repo used for calibrations, templates, and pipeline outputs.
# If `registry.centralRepoFile` is set, this URI points to a local redirect instead of the central repo itself.
# @default -- None, must be set
Expand Down
1 change: 1 addition & 0 deletions applications/prompt-proto-service-lsstcomcamsim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Prompt Proto Service is an event driven service for processing camera images. Th
| prompt-proto-service.instrument.name | string | `"LSSTComCamSim"` | The "short" name of the instrument |
| prompt-proto-service.instrument.pipelines.main | string | None, must be set | Machine-readable string describing which pipeline(s) should be run for which visits. Notation is complex and still in flux; see [the source code](https://github.com/lsst-dm/prompt_processing/blob/main/python/activator/config.py) for examples. |
| prompt-proto-service.instrument.pipelines.preprocessing | string | None, must be set | Machine-readable string describing which pipeline(s) should be run before which visits' raw arrival. |
| prompt-proto-service.instrument.preloadPadding | int | `30` | Number of arcseconds to pad the spatial region in preloading. |
| prompt-proto-service.instrument.skymap | string | `"ops_rehersal_prep_2k_v1"` | Skymap to use with the instrument |
| prompt-proto-service.knative.cpuLimit | int | `1` | The maximum cpu cores for the full pod (see `containerConcurrency`). |
| prompt-proto-service.knative.cpuRequest | int | `1` | The cpu cores requested for the full pod (see `containerConcurrency`). |
Expand Down
2 changes: 2 additions & 0 deletions applications/prompt-proto-service-lsstcomcamsim/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ prompt-proto-service:
preprocessing: ""
# -- Skymap to use with the instrument
skymap: ops_rehersal_prep_2k_v1
# -- Number of arcseconds to pad the spatial region in preloading.
preloadPadding: 30
# -- URI to the shared repo used for calibrations, templates, and pipeline outputs.
# If `registry.centralRepoFile` is set, this URI points to a local redirect instead of the central repo itself.
# @default -- None, must be set
Expand Down
1 change: 1 addition & 0 deletions charts/prompt-proto-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Event-driven processing of camera images
| instrument.name | string | None, must be set | The "short" name of the instrument |
| instrument.pipelines.main | string | None, must be set | Machine-readable string describing which pipeline(s) should be run for which visits' raws. Notation is complex and still in flux; see [the source code](https://github.com/lsst-dm/prompt_processing/blob/main/python/activator/config.py) for examples. |
| instrument.pipelines.preprocessing | string | None, must be set | Machine-readable string describing which pipeline(s) should be run before which visits' raw arrival. |
| instrument.preloadPadding | int | `30` | Number of arcseconds to pad the spatial region in preloading. |
| instrument.skymap | string | `""` | Skymap to use with the instrument |
| knative.cpuLimit | int | `1` | The maximum cpu cores for the full pod (see `containerConcurrency`). |
| knative.cpuRequest | int | `1` | The cpu cores requested for the full pod (see `containerConcurrency`). |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ spec:
value: {{ .Values.instrument.pipelines.main }}
- name: SKYMAP
value: {{ .Values.instrument.skymap }}
- name: PRELOAD_PADDING
value: {{ .Values.instrument.preloadPadding | toString | quote }}
- name: IMAGE_BUCKET
value: {{ .Values.s3.imageBucket }}
- name: BUCKET_TOPIC
Expand Down
2 changes: 2 additions & 0 deletions charts/prompt-proto-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ instrument:
preprocessing: ""
# -- Skymap to use with the instrument
skymap: ""
# -- Number of arcseconds to pad the spatial region in preloading.
preloadPadding: 30
# -- URI to the shared repo used for calibrations, templates, and pipeline outputs.
# If `registry.centralRepoFile` is set, this URI points to a local redirect instead of the central repo itself.
# @default -- None, must be set
Expand Down

0 comments on commit 7cae6f3

Please sign in to comment.