Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,14 @@ jobs:
strategy:
matrix:
stack-name: [local]
os: [windows-latest, ubuntu-latest, macos-latest]
os: [windows-latest, ubuntu-latest, macos-13]
python-version: ["3.8", "3.9", "3.10", "3.11"]
env:
ZENML_DEBUG: true
ZENML_ANALYTICS_OPT_IN: false
ZENML_LOGGING_VERBOSITY: INFO
PYTORCH_MPS_HIGH_WATERMARK_RATIO: 0.0 #https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/9133
PYTORCH_NO_CUDA_MEMORY_CACHING: 1
steps:
- name: Check out repository code
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ to indicate where you can add your code:

## 📜 Project Structure

The project loosely follows [the recommended ZenML project structure](https://docs.zenml.io/user-guide/starter-guide/follow-best-practices):
The project loosely follows [the recommended ZenML project structure](https://docs.zenml.io/how-to/setting-up-a-project-repository/best-practices):

```
.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def promote_metric_compare_promoter(
In this example, the step can be configured to use different input data.
See the documentation for more information:

https://docs.zenml.io/user-guide/advanced-guide/configure-steps-pipelines
https://docs.zenml.io/how-to/build-pipelines/use-pipeline-step-parameters

Args:
latest_metrics: Recently trained model metrics results.
Expand Down Expand Up @@ -69,4 +69,4 @@ def promote_metric_compare_promoter(
logger.info(
f"Promoted current model version to {pipeline_extra['target_env']} environment"
)
### YOUR CODE ENDS HERE ###
### YOUR CODE ENDS HERE ###
2 changes: 1 addition & 1 deletion template/steps/tokenizer_loader/tokenizer_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def tokenizer_loader(
For more information on how to configure steps in a pipeline, refer to the
following documentation:

https://docs.zenml.io/user-guide/advanced-guide/configure-steps-pipelines
https://docs.zenml.io/how-to/build-pipelines/use-pipeline-step-parameters

Args:
lower_case: A boolean value indicating whether to convert the input text to
Expand Down
1 change: 0 additions & 1 deletion tests/test_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

TEMPLATE_DIRECTORY = str(pathlib.Path.joinpath(pathlib.Path(__file__).parent.parent))


def generate_and_run_project(
tmp_path_factory: pytest.TempPathFactory,
open_source_license: Optional[str] = "apache",
Expand Down