Skip to content

Commit

Permalink
Remove state_thresholds auto_trainer, structured_data_generator and i…
Browse files Browse the repository at this point in the history
…n-the-future generated functions (#762)
  • Loading branch information
assaf758 authored Dec 28, 2023
1 parent a2fb8c9 commit c619c72
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 14 deletions.
7 changes: 1 addition & 6 deletions auto_trainer/function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kind: job
metadata:
name: auto-trainer
tag: ''
hash: 86a2510a414a10512a9b25607fa0e7895d8fc47d
hash: 95201dacf05c181e0257b5dd145cb79a503b6fbe
project: ''
labels:
author: yonish
Expand Down Expand Up @@ -158,11 +158,6 @@ spec:
env: []
priority_class_name: ''
preemption_mode: prevent
state_thresholds:
pending_scheduled: 1h
pending_not_scheduled: '-1'
image_pull_backoff: 1h
running: 24h
affinity: null
tolerations: null
security_context: {}
Expand Down
2 changes: 1 addition & 1 deletion auto_trainer/item.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ spec:
kind: job
requirements: []
url: ''
version: 1.5.0
version: 1.6.0
1 change: 1 addition & 0 deletions cli/item_to_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ def create_function_yaml(
# remove build info from object
function_object.spec.build.code_origin = ''
function_object.spec.build.origin_filename = ''
function_object.spec.state_thresholds=None

custom_fields = spec.get("customFields", {})
for key, value in custom_fields.items():
Expand Down
7 changes: 1 addition & 6 deletions structured_data_generator/function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kind: job
metadata:
name: structured-data-generator
tag: ''
hash: 1ccebb4975b8e5078b22ade4ac145058a890a30a
hash: 775c1a59adea52f5a1a4d26c96925c88474015f3
project: ''
labels:
author: zeevr
Expand Down Expand Up @@ -65,11 +65,6 @@ spec:
env: []
priority_class_name: ''
preemption_mode: prevent
state_thresholds:
pending_scheduled: 1h
pending_not_scheduled: '-1'
image_pull_backoff: 1h
running: 24h
affinity: null
tolerations: null
security_context: {}
Expand Down
2 changes: 1 addition & 1 deletion structured_data_generator/item.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ spec:
- langchain
- tqdm
url: ''
version: 1.0.0
version: 1.1.0

0 comments on commit c619c72

Please sign in to comment.