Skip to content
This repository was archived by the owner on Apr 11, 2020. It is now read-only.

Initial implementation of Microsoft R Server adaptor #4

Merged
merged 10 commits into from
Nov 15, 2017

Conversation

achimnol
Copy link
Member

This adds an adaptor kernel runner for Microsoft R Server API, a multi-node scalable version of R, and also improves existing BaseRunner's code structure.

 * TODO: While individual test cases pass, running two or more tests in test_r_server_ms.py crashes due to unexpected closing of the event loop or ZeroMQ-releated synchronization issue
 * The root cause was to miss closing runner.outsock before mocking.

 * Refactored out _init/_shutdown methods in BaseRunner so that
   different event loop users can reuse them (e.g., the main program
   and the test fixture).
@codecov-io
Copy link

codecov-io commented Nov 14, 2017

Codecov Report

Merging #4 into master will decrease coverage by 1.49%.
The diff coverage is 48.48%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master       #4     +/-   ##
=========================================
- Coverage   56.38%   54.89%   -1.5%     
=========================================
  Files          16       17      +1     
  Lines         908      991     +83     
=========================================
+ Hits          512      544     +32     
- Misses        396      447     +51
Impacted Files Coverage Δ
ai/backend/kernel/python/__init__.py 32.39% <100%> (ø) ⬆️
ai/backend/kernel/terminal.py 26.36% <100%> (ø) ⬆️
ai/backend/kernel/python/inproc.py 38.65% <100%> (ø) ⬆️
ai/backend/kernel/r_server_ms/__init__.py 27.27% <27.27%> (ø)
ai/backend/kernel/base.py 67.5% <90%> (+1.37%) ⬆️

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 82815f0...33f5c8c. Read the comment docs.

@achimnol achimnol merged commit 06881c1 into lablup:master Nov 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants