-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a09bc30
commit 88194f2
Showing
47 changed files
with
545 additions
and
880 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,4 +29,5 @@ | |
|
||
STATICFILES_DIRS = [ | ||
os.path.join(BASE_DIR, 'manager/static'), | ||
] | ||
] | ||
URL_MODE_PREFIX = "manager" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
backend/common_models/migrations/0002_alter_gpus_status_alter_nodes_status_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Generated by Django 4.2.9 on 2024-01-28 21:05 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("common_models", "0001_initial"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="gpus", | ||
name="status", | ||
field=models.CharField( | ||
choices=[ | ||
("Waiting", "Waiting"), | ||
("Running", "Running"), | ||
("Reserved", "Reserved"), | ||
("Unavailable", "Unavailable"), | ||
], | ||
default="Waiting", | ||
max_length=50, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="nodes", | ||
name="status", | ||
field=models.CharField( | ||
choices=[ | ||
("Waiting", "Waiting"), | ||
("Running", "Running"), | ||
("Reserved", "Reserved"), | ||
("Unavailable", "Unavailable"), | ||
], | ||
default="Waiting", | ||
max_length=50, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="task", | ||
name="status", | ||
field=models.CharField( | ||
choices=[ | ||
("Waiting", "Waiting"), | ||
("Pending", "Pending"), | ||
("Running", "Running"), | ||
("Finished", "Finished"), | ||
("Interrupted", "Interrupted"), | ||
], | ||
default="Waiting", | ||
max_length=50, | ||
), | ||
), | ||
] |
22 changes: 0 additions & 22 deletions
22
backend/common_models/migrations/0002_task_submit_time_task_user.py
This file was deleted.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
..._models/migrations/0010_alter_task_est.py → ..._models/migrations/0003_alter_task_est.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# Generated by Django 4.2.9 on 2024-01-27 14:44 | ||
# Generated by Django 4.2.9 on 2024-01-28 22:34 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("common_models", "0009_task_est_task_gpu_partition_alter_task_id"), | ||
("common_models", "0002_alter_gpus_status_alter_nodes_status_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="task", | ||
name="est", | ||
field=models.DurationField(blank=True, null=True), | ||
field=models.CharField(blank=True, max_length=100, null=True), | ||
), | ||
] |
This file was deleted.
Oops, something went wrong.
35 changes: 35 additions & 0 deletions
35
...end/common_models/migrations/0004_gpus_no_alter_task_gpu_partition_alter_task_priority.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Generated by Django 4.2.9 on 2024-01-29 10:36 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("common_models", "0003_alter_task_est"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="gpus", | ||
name="no", | ||
field=models.IntegerField(blank=True, default=0, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="task", | ||
name="gpu_partition", | ||
field=models.CharField( | ||
choices=[("Slow", "Slow"), ("Normal", "Normal"), ("Fast", "Fast")], | ||
default="normal", | ||
max_length=6, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="task", | ||
name="priority", | ||
field=models.CharField( | ||
choices=[("Slow", "Slow"), ("Normal", "Normal"), ("Fast", "Fast")], | ||
default="normal", | ||
max_length=6, | ||
), | ||
), | ||
] |
17 changes: 0 additions & 17 deletions
17
backend/common_models/migrations/0004_nodes_number_of_gpus.py
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.