Skip to content

Commit b790fcb

Browse files
authored
Merge pull request #17 from zenml-io/2024.06.06
Fix broken links
2 parents 28fd941 + c5f231f commit b790fcb

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

.github/workflows/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,14 @@ jobs:
3838
strategy:
3939
matrix:
4040
stack-name: [local]
41-
os: [windows-latest, ubuntu-latest, macos-latest]
41+
os: [windows-latest, ubuntu-latest, macos-13]
4242
python-version: ["3.8", "3.9", "3.10", "3.11"]
4343
env:
4444
ZENML_DEBUG: true
4545
ZENML_ANALYTICS_OPT_IN: false
4646
ZENML_LOGGING_VERBOSITY: INFO
47+
PYTORCH_MPS_HIGH_WATERMARK_RATIO: 0.0 #https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/9133
48+
PYTORCH_NO_CUDA_MEMORY_CACHING: 1
4749
steps:
4850
- name: Check out repository code
4951
uses: actions/checkout@v3

template/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ to indicate where you can add your code:
163163

164164
## 📜 Project Structure
165165

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

168168
```
169169
.

template/steps/promotion/{% if metric_compare_promotion %}promote_metric_compare_promoter.py{% endif %}

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def promote_metric_compare_promoter(
3434
In this example, the step can be configured to use different input data.
3535
See the documentation for more information:
3636

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

3939
Args:
4040
latest_metrics: Recently trained model metrics results.
@@ -69,4 +69,4 @@ def promote_metric_compare_promoter(
6969
logger.info(
7070
f"Promoted current model version to {pipeline_extra['target_env']} environment"
7171
)
72-
### YOUR CODE ENDS HERE ###
72+
### YOUR CODE ENDS HERE ###

template/steps/tokenizer_loader/tokenizer_loader.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def tokenizer_loader(
2727
For more information on how to configure steps in a pipeline, refer to the
2828
following documentation:
2929
30-
https://docs.zenml.io/user-guide/advanced-guide/configure-steps-pipelines
30+
https://docs.zenml.io/how-to/build-pipelines/use-pipeline-step-parameters
3131
3232
Args:
3333
lower_case: A boolean value indicating whether to convert the input text to

tests/test_template.py

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828

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

31-
3231
def generate_and_run_project(
3332
tmp_path_factory: pytest.TempPathFactory,
3433
open_source_license: Optional[str] = "apache",

0 commit comments

Comments
 (0)