|
1 | | -# Pipeline configuration |
| 1 | +# Apache Software License 2.0 |
| 2 | +# |
| 3 | +# Copyright (c) ZenML GmbH 2024. All rights reserved. |
| 4 | +# |
| 5 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | +# you may not use this file except in compliance with the License. |
| 7 | +# You may obtain a copy of the License at |
| 8 | +# |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +# |
| 11 | +# Unless required by applicable law or agreed to in writing, software |
| 12 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +# See the License for the specific language governing permissions and |
| 15 | +# limitations under the License. |
| 16 | +# |
| 17 | + |
| 18 | +# pipeline configuration |
2 | 19 | build: "batch-ocr-pipeline-20254007" |
3 | 20 | run_name: "run_ocr" |
4 | 21 |
|
5 | | -# Enable flags |
| 22 | +# environment configuration |
| 23 | +settings: |
| 24 | + docker: |
| 25 | + requirements: |
| 26 | + - requirements.txt |
| 27 | + required_integrations: |
| 28 | + - aws |
| 29 | + - s3 |
| 30 | + python_package_installer: "uv" |
| 31 | + environment: |
| 32 | + OPENAI_API_KEY: ${{ env.OPENAI_API_KEY }} |
| 33 | + MISTRAL_API_KEY: ${{ env.MISTRAL_API_KEY }} |
| 34 | + |
| 35 | +# enable flags |
6 | 36 | enable_artifact_metadata: True |
7 | 37 | enable_artifact_visualization: True |
8 | 38 | enable_cache: False |
9 | 39 | enable_step_logs: True |
10 | 40 |
|
11 | | -# Steps |
| 41 | +# step configuration |
12 | 42 | steps: |
13 | 43 | load_images: |
14 | 44 | parameters: |
|
27 | 57 | - "gemma3" |
28 | 58 | enable_cache: False |
29 | 59 |
|
30 | | -# Vision models registry – provides model metadata needed to run the pipeline |
31 | | -# -- update this list with whatever models you want to test |
| 60 | +# vision models configuration |
32 | 61 | models_registry: |
33 | 62 | - name: "mistral/pixtral-12b-2409" |
34 | 63 | shorthand: "pixtral" |
|
0 commit comments