Skip to content

Commit

Permalink
fix bad arg names in user rule
Browse files Browse the repository at this point in the history
  • Loading branch information
cat-bro committed Aug 5, 2024
1 parent adf0292 commit f1fd7a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ users:
if training_rules_apply:
include_tags = []
exclude_tags = ['pulsar', 'training-exempt']
slurm_preferred_for_training = pulsar_score is not None and pulsar_score < pulsar_score_slurm_threshold and not helpers.tag_values_match(entity, include_tags=[], exclude_tags=['pulsar-training-large', 'training-exempt'])
slurm_preferred_for_training = pulsar_score is not None and pulsar_score < pulsar_score_slurm_threshold and not helpers.tag_values_match(entity, match_tag_values=[], exclude_tag_values=['pulsar-training-large', 'training-exempt'])
training_job_matches_specs = slurm_preferred_for_training or helpers.tag_values_match(entity, include_tags, exclude_tags)
training_job_matches_specs
max_cores: 2
Expand Down

0 comments on commit f1fd7a2

Please sign in to comment.