uber / neuropod

A uniform interface to run deep learning models from multiple frameworks
https://neuropod.ai
Apache License 2.0
936 stars 77 forks source link

Default to running models in isolated Python environments #536

Closed VivekPanyam closed 2 years ago

VivekPanyam commented 2 years ago

Summary:

This PR modifies Neuropod to run models in isolated python environments by default. This makes it possible to have consistent model behavior between execution environments (without depending on system-installed python packages).

Using this behavior requires passing in requirements when packaging python models.

Test Plan:

CI

codecov[bot] commented 2 years ago

Codecov Report

Merging #536 (1ad6944) into master (5533eb7) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #536   +/-   ##
=======================================
  Coverage   86.58%   86.58%           
=======================================
  Files         104      104           
  Lines        6955     6955           
=======================================
  Hits         6022     6022           
  Misses        933      933           
Impacted Files Coverage Δ
...e/neuropod/backends/python_bridge/python_bridge.cc 83.24% <100.00%> (ø)

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 5533eb7...1ad6944. Read the comment docs.