Coder Social home page Coder Social logo

easydk's People

Contributors

lefttyre avatar maxwellding avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

easydk's Issues

Question on OSS code

Hi Cambricon team,

Where can i find the OSS code such like bootloader/kernel/libraries applications etc. on your github site?

Thanks,

Question about "samples/classification_runner.hpp"

In "samples/classification_runner.hpp", the variable model_ is used to initial class edk::EasyInfer infer_. After that, model_ is used to get the input shape. But in "src/easyinfer/easy_infer.cpp", the EasyInfer::Init() function treat the input parameter std::shared_ptr<ModelLoader> model with std::move like d_ptr_->model_ = std::move(model). Perhaps, it might cause error in debugging "samples/classification_runner.hpp", because model_ is an empty pointer.

Codes from "samples/classification_runner.hpp":

ClassificationRunner::ClassificationRunner(const std::string& model_path, const std::string& func_name,
                                           const std::string& label_path, const std::string& data_path, bool show,
                                           bool save_video)
    : StreamRunner(data_path), show_(show), save_video_(save_video) {
  // load offline model
  model_ = std::make_shared<edk::ModelLoader>(model_path.c_str(), func_name.c_str());

  // prepare mlu memory operator and memory
  mem_op_.SetModel(model_);

  // init easy_infer
  infer_.Init(model_, 0);

  // create mlu resize and convert operator
  auto& in_shape = model_->InputShape(0);

infer_server是否有考虑过集入nvidia-triton-server?

请问是否考虑过将cambricon作为backend集成进nvidia-triton-server。目前paddle-paddle, pytorch, tensorrt作为一种backend集成入了triton。如果从通用度或者生态考虑,是否有机会集成入triton?另外,目前nvidia的做法是Deepstream+triton,其中triton的的地位与infer_server类似,也是可以作为Deepstream的一个module。然而从我使用者的角度看,更希望的是server内部包含Deepstream(infer_server 包含 cnstream),类似于triton中的ensamble模型(emsamble不够灵活),以cnstream增加pipeline构建灵活度,以infer_server解决服务调度等问题,最终以infer_server作为出口,支持rpc/http调用。

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.