Skip to content

Commit

Permalink
Merge pull request #10 from zenml-io/2024.11.08
Browse files Browse the repository at this point in the history
New outputs notation
  • Loading branch information
avishniakov authored Nov 8, 2024
2 parents 225cb80 + bab056b commit 82f7c12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion template/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
zenml
torch>=2.2.0
datasets
datasets>=2.15
transformers
peft
bitsandbytes>=0.41.3
Expand Down
2 changes: 1 addition & 1 deletion template/steps/log_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def log_metadata_from_step_artifact(

context = get_step_context()
metadata_dict: Dict[str, Any] = (
context.pipeline_run.steps[step_name].outputs[artifact_name].load()
context.pipeline_run.steps[step_name].outputs[artifact_name][0].load()
)

metadata = {artifact_name: metadata_dict}
Expand Down

0 comments on commit 82f7c12

Please sign in to comment.