Commit Graph

253 Commits

Author SHA1 Message Date
yangdsh 60a30c2f85 fix the bug in generating knob_data for invalid result 2020-02-25 20:46:37 -05:00
yangdsh 9b4bafb86f give more penalty to invalid configs 2020-02-25 20:46:37 -05:00
yangdsh 27a275e21e detect celery failure 2020-02-25 12:31:53 -05:00
yangdsh 2293fac4d3 fix bug when skipping workload mapping 2020-02-21 19:57:13 -05:00
dvanaken 07425da6e8 Fixed style 2020-02-20 17:16:04 -05:00
dvanaken ff488cae35 Updated parser unit tests. 2020-02-20 17:16:04 -05:00
dvanaken 944a0ccc8d Speedup parser 2020-02-20 17:16:04 -05:00
dvanaken 8768686d17 Added rule for new migration file to pylintrc 2020-02-20 00:52:46 -05:00
dvanaken 3bd6d03efe Increased length of function field in executiontime model from 32 to 64 2020-02-20 00:52:46 -05:00
arifiorino 70f2768797 Style fixes 2020-02-19 20:51:50 -05:00
arifiorino 8f382e22e8 Style fixes 2020-02-19 20:51:50 -05:00
arifiorino 96a7991766 Bug fixes 2020-02-19 20:51:50 -05:00
arifiorino a2a77f9a75 Store execution times 2020-02-19 20:51:50 -05:00
yangdsh f7e22ff5bb skip workload mapping when there is no workload 2020-02-18 15:55:28 -05:00
yangdsh 59b723ee83 increase waiting time for starting celery 2020-02-18 14:43:37 -05:00
yangdsh 8e399db587 ack late; check rabbitmq 2020-02-18 14:43:37 -05:00
yangdsh 010a3ff267 check celery on each request for result 2020-02-18 14:43:37 -05:00
bohanjason c8a537e9e0 fix task visualization 2020-02-10 12:08:31 -05:00
yangdsh c69fca77d6 address dana's comment 2020-02-08 18:56:34 -05:00
yangdsh c33625ca17 random->lhs when lacking data for GPR; fix editing session 2020-02-08 18:56:34 -05:00
yangdsh ae98fdcb32 increase the waiting time for celery restarts 2020-02-08 18:56:34 -05:00
yangdsh d0cf8b597d check celery status before running tasks 2020-02-08 18:56:34 -05:00
dvanaken 42fc5ebe3e Update celery commands 2020-02-08 17:31:29 -05:00
dvanaken 9a5dea806f Added new migration file to change type of Result.taskids field and cleaned up views.py 2020-02-08 17:31:29 -05:00
dvanaken 4d228f5765 Updated task_ids field from CharField to TextField type 2020-02-08 17:31:29 -05:00
dvanaken ec9066e5b2 Updated handling of celery task status in views 2020-02-08 17:31:29 -05:00
dvanaken d9e2806b9e Changes:
- website.celery: create celery app
- website.admin: do not unregister the djcelery models
- website.settings: added some new celery settings and updated others. Added 'celery.tasks' to our logging config which resolved the missing celery log messages issue
- website.async_tasks: removed redundant abstract task classes. Removed the settings that configured retries since do not handle retries in the tasks
2020-02-08 17:31:29 -05:00
dvanaken 7339d07a98 Updated celery package version requirements 2020-02-08 17:31:29 -05:00
dvanaken 06948089d2 Added new model to store execution times 2020-01-23 23:38:56 -05:00
Dana Van Aken 0cbc7ba334 travis-ci: trigger a build in the other repository instead of cloning and building it here 2020-01-23 16:15:49 -05:00
bohanjason 6f0fcfd952 use gpflow in workload mapping 2020-01-22 13:13:32 -05:00
BohanZhang 25d1950e67 use GPFlow in workload mapping 2020-01-22 13:13:32 -05:00
yangdsh 389174302f fix hard coded target objective 2020-01-21 20:02:06 -05:00
Dana Van Aken 6b78b8a131 Added 'set -e' to the top of docker/install.sh so bash exits if there are any errors during package installation. 2020-01-19 08:52:14 -05:00
Dana Van Aken 286046e2df Save the latest git commit ID inside the Docker containers to /app/.git_commit 2020-01-19 08:52:14 -05:00
Dana Van Aken 35160f2fb4 Upgraded Django from version 1.11.23 to 1.11.27 2020-01-19 06:33:25 -05:00
Dana Van Aken 1d8913f408 When converting a value in bytes to human-readable, if the conversion fails then log a warning and return the original value instead of raising an exception. 2020-01-19 02:43:55 -05:00
yangdsh c2d5cbadd6 rename hyperparameters and use them as defaults 2020-01-18 23:27:01 -05:00
yangdsh cb8c597818 fix format 2020-01-18 23:27:01 -05:00
yangdsh a3774af2c1 modify tests 2020-01-18 23:27:01 -05:00
yangdsh d3c7bb661d fix bugs 2020-01-18 23:27:01 -05:00
yangdsh 24194293bc make session hyperparameters editable on the website 2020-01-18 23:27:01 -05:00
dvanaken 6bf50b892d Moved dumpdata code from resetwebsite into its own mgmt command, ignore errors from stopcelery kill command, added backdoor method to dump website backend database and logfiles 2020-01-14 07:43:31 -05:00
dvanaken 9f9f2845d6 Fixed formatting 2020-01-13 17:21:56 -05:00
dvanaken 7b962c4065 Updated parser classes to not cache knob/metric catalogs and replaced all queries that filter for numeric metrics with the new MetricType.numeric() method. 2020-01-13 17:21:56 -05:00
dvanaken e1a41928f6 Fixed admin forms for Metric/KnobCatalog models. 2020-01-13 17:21:56 -05:00
dvanaken ee101d818e Added class methods to get numeric/nonnumeric metric types. 2020-01-13 17:21:56 -05:00
dvanaken a4f8e0b37e Cleanup old celery processes in docker/start.sh 2020-01-13 17:21:56 -05:00
dvanaken bcad0fa017 Added CHOOSE to enumvals for Oracle parameter optimizer_mode 2020-01-13 10:09:31 -05:00
dvanaken 2f79bfdc17 Fixed parser to treat enum values as case-insensitive 2020-01-13 10:09:31 -05:00