Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 2, 2023. It is now read-only.

Conversation

@achimnol
Copy link
Member

@achimnol achimnol commented Apr 1, 2021

Internal ticket: OP#1157

@achimnol achimnol added this to the 20.09 milestone Apr 1, 2021
@codecov
Copy link

codecov bot commented Apr 1, 2021

Codecov Report

Merging #415 (47c5b67) into main (60f7235) will increase coverage by 0.31%.
The diff coverage is 57.09%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #415      +/-   ##
==========================================
+ Coverage   48.61%   48.92%   +0.31%     
==========================================
  Files          52       52              
  Lines        8276     8316      +40     
==========================================
+ Hits         4023     4069      +46     
+ Misses       4253     4247       -6     
Impacted Files Coverage Δ
src/ai/backend/manager/registry.py 17.43% <0.00%> (-0.02%) ⬇️
src/ai/backend/manager/scheduler/dispatcher.py 20.90% <10.71%> (+1.70%) ⬆️
src/ai/backend/manager/scheduler/predicates.py 28.91% <50.00%> (-0.16%) ⬇️
src/ai/backend/manager/scheduler/types.py 76.11% <76.11%> (ø)
src/ai/backend/manager/scheduler/fifo.py 95.65% <95.00%> (-0.58%) ⬇️
src/ai/backend/manager/models/kernel.py 45.71% <100.00%> (+0.10%) ⬆️
src/ai/backend/manager/scheduler/drf.py 92.42% <100.00%> (+0.23%) ⬆️
src/ai/backend/manager/scheduler/mof.py 94.11% <100.00%> (+0.78%) ⬆️
src/ai/backend/manager/api/auth.py 51.17% <0.00%> (-0.30%) ⬇️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 60f7235...47c5b67. Read the comment docs.

@achimnol achimnol marked this pull request as draft April 2, 2021 03:08
@achimnol achimnol self-assigned this Apr 2, 2021
@achimnol achimnol changed the title Rewrite scheduler to avoid HoL Rewrite scheduler to avoid HoL blocking Apr 2, 2021
@achimnol achimnol marked this pull request as ready for review April 7, 2021 08:35
@achimnol achimnol merged commit 4b614a4 into main Apr 7, 2021
@achimnol achimnol deleted the feature/scheduler-rewrite-v3 branch April 7, 2021 08:47
achimnol added a commit that referenced this pull request Apr 7, 2021
* db: Add alembic migration to add KernelStatus.SCHEDULED and fix up the unique constraint
* fix: Split the async tasks for session scheduling into two separate "scheduling" + "preparation" loops
* refactor: Make PendingSession/ExistingSession queries composable
* test: Update scheduler test cases
* feat: Skip the session with specific number of retries in FIFO scheduler
  - This is not a strict FIFO, but will reduce many customer complaints...
  - Use `config/plugins/scheduler/fifo/num_retries_to_skip` etcd key.

Backported-From: main
Backported-To: 21.03
achimnol added a commit that referenced this pull request Apr 7, 2021
* db: Add alembic migration to add KernelStatus.SCHEDULED and fix up the unique constraint
* fix: Split the async tasks for session scheduling into two separate "scheduling" + "preparation" loops
* refactor: Make PendingSession/ExistingSession queries composable
* test: Update scheduler test cases
* feat: Skip the session with specific number of retries in FIFO scheduler
  - This is not a strict FIFO, but will reduce many customer complaints...
  - Use `config/plugins/scheduler/fifo/num_retries_to_skip` etcd key.

Backported-From: main
Backported-To: 20.09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants