Coder Social home page Coder Social logo

adlik / adlik Goto Github PK

View Code? Open in Web Editor NEW
789.0 29.0 82.0 54.2 MB

Adlik: Toolkit for Accelerating Deep Learning Inference

License: Apache License 2.0

Python 39.47% C++ 47.31% Shell 1.40% C 2.40% Dockerfile 3.97% Starlark 4.91% CMake 0.56%
deep-learning inference tensorflow-serving openvino tensorrt compiler inference-engine model-optimizer docker-images

adlik's Issues

Inaccurate description in "Build in Docker"

You can build Adlik inside the Docker image.

Image is not runtime, so you can't compile Adlik inside image. There are two ways to use the image:

  1. Use the image as a base image.
  2. Run container of the image.

Bazel build does not support 2020 OpenVINO

In the readme.md

Build serving with OpenVINO runtime
Install intel-openvino-ie-rt-core package from OpenVINO.

If we install intel-openvino-runtime-ubuntu18-2020.1.023 and intel-openvino-dev-ubuntu18-2020.1.023 according to the OpenVINO, we cannot successfully build the serving.

Adlik Benchmark Test framework

Support Benchmark test :

  1. Test performance of different runtime framework, if Adlik supports
  2. Test Adlik inference scheduler performance

Compile the onnx model to OpenVINO or TensorRT model failed.

When i compile the onnx model to OpenVINO or TensorRT model , the error is as follows:
TypeError: expected str, bytes or os.PathLike object, not NoneType {'status': 'failure', 'error_msg': 'expected str, bytes or os.PathLike object, not NoneType'}
But there is an onnx model in the directory of input_model.

Add more CI tests for building on macOS

Add the following CI checks:

  • Build clients on macOS
  • Build serving on macOS
    • Build serving with OpenVINO runtime on macOS
    • Build serving with TensorFlow CPU runtime on macOS
    • Build serving with TensorFlow GPU runtime on macOS
    • Build serving with TensorRT runtime on macOS

The bug of model_compiler

There is a bug in line 326 of model_loader.py in model_compiler

 if len(self.input_formats) < len(self.input_names):
      self.input_formats.extend([None for _ in range(len(self.input_formats), len(self.input_formats))])

TfLite run-time should support ARM CPU

Considering two scenario:

  • Use QEMU ARM64 emulator.
  1. Provide cross-compile tool-chain for ARM-64.
  2. Compile ServingLite framework and TfLite runtime, and run inference test with Tflite Model ( Resnet50).
  3. Considering several optimizing methods for TfLite Model, the specification of performance tests should be clear, and cover as many scenes as possible.
  • Support real device such as Raspberry Pi or Nvidia Jetson Nano.
  1. Provide specific cross-compile tool-chain.
  2. Compile ServingLite framework and TfLite runtime, and run TfLite Model in device successfully.

Model Optimizer

Adlik should support the framework to optimize deep-learned model, such as tensorflow checkpoint.
The optimizing techniques include:

  1. Model Quantilization.
  2. Model Pruning.

Rewrite model compiler

Currently, there are some bad designs in the model compiler. We should come up with a new design.

Undefinite declaration in Readme.md

"" Build serving with OpenVINO runtime
Install intel-openvino-ie-rt-core package from OpenVINO.""

Is a installation process or a building process?

Support FPGA runtime

ServingLite runtime framework should support Deep Learning model running in FPGA.

  1. Execute instruction pipeline by model compiler.
  2. Divide ops running in CPU and FPGA.
  3. Run ops in CPU
  4. Call FPGA interface when running ops in FPGA.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.