Skip to content

Commit

Permalink
fine tune
Browse files Browse the repository at this point in the history
  • Loading branch information
kerrychu committed Jan 23, 2024
1 parent 8732cc4 commit f87162e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpu_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def get_gpu_jobs() -> str:
def monitor():
gpu_jobs = get_gpu_jobs()
gpu_records = stdout_to_gpu_records(gpu_jobs)
header = f"🔉 Currently, there are {len(gpu_records)} running GPU Jobs\n Here are some from our lab.\n\n"
header = f"🔉 Currently, there are {len(gpu_records)} running GPU Jobs on Bunya.\n Here are some from our lab.\n\n"
filtered_gpu_records = list(filter(lambda x: x['USER'] in GPU_USERS, gpu_records))
slack_message = job_records_to_slack_message(header, filtered_gpu_records)
send_slack_message(slack_message, SLACK_WEBHOOK)
Expand Down

0 comments on commit f87162e

Please sign in to comment.