Commit Graph

11 Commits

Author SHA1 Message Date
26137b8a15
feat: change to new rules 2024-11-11 16:49:56 +08:00
3073c248fe
fix: invalid key 2024-08-02 19:03:21 +08:00
ad3f5b5b30
feat: weekly report 2024-07-30 16:32:40 +08:00
5b4982acf1
feat: use Mailer template 2024-07-30 16:03:14 +08:00
77b51204af
fix: some exception 2024-04-18 14:09:49 +08:00
65beca5067
fix: null subject when non-Debug mode 2024-03-22 19:58:05 +08:00
a9c3e63b44
feat: detect use 3 card on multi server (rule) 2024-03-22 19:52:06 +08:00
66e4b9ec51
docs: update comment 2024-03-22 17:40:17 +08:00
e907d42043
fix: get all users on the same GPU
Problem:
    Sometimes, multiple users may run the different program on the same
    GPU if the VRAM is enough.
    But the original program only get the first username on the webpage
    so that we may lose some users.

Solution:
    For one servers, I get all GPU's name and all usernames on this line
    on the webpage.

    So I will return a dict contains all GPU names and username on every
    GPU.
2024-03-22 17:34:44 +08:00
834bed6eb0
feat: debug mode & fix 'unix manager' asci in mail
- add debug mode. if in the debug mode, it will send the mails without
  any CD time. And it only use my Gmail account as the receiver so that
  the other admin will not receive this DEBUG mail.
- send the mail with HTML header so that we can use <pre> label to show
  the ascii emoji
2024-03-22 16:31:37 +08:00
f0e94303cc
feat: first commit
- the filter with detecting multi card in the same server, but only
  retrive the first user in the list.
- get Gmail private code with the enviroment variables.
2024-03-22 15:50:43 +08:00