Git Product home page Git Product logo

Comments (2)

gabrielspmoreira avatar gabrielspmoreira commented on May 23, 2024

Errors when trying to export the model to ONMX:

  1. When using the original code to convert NVT offset representation of sequence features to sparse features:
    "getting an error: RuntimeError: Exporting the operator repeat_interleave to ONNX opset version 9 is not supported."

  2. Sara/Ronay changed the torch.repeat_interleave b np.repeat and the error changed to:
    "RuntimeError: Exporting the operator sparse_coo_tensor to ONNX opset version 9 is not supported."

Next steps:

  • [] Julio was about to create an option to generate dense tensors for list columns. Follow-up on that and check if we are able to export the model to ONMX using the latest NVTabular version (which now provides dicts of tensors)
  • [] Triton team has suggested us to try newest version of ONMX (current opset is 9)
  • [] Try export using TorchScript instead of ONMX. That requires us to change our ensemble on Triton to use TorchScript instead of ONMX
  • [] Use Python backend for Triton

P.s. We need the NVT preproc module on Triton to be able to work with multi-hot (list columns) - Issue on NVTabular

from transformers4rec.

rnyak avatar rnyak commented on May 23, 2024

I tried the ecom-rees NVT ETL notebook to generate config file and serve the model_nvt to triton.

  • One error is about datetime columns. when we have datetime object columns as input or output, we cannot generate config files, so so we need to convert these columns to timestamp column as integer dtypes.
  • Once we get rid of datetime columns, we can generate the config file, Model is loaded to the server. But when I send a client request it gives error. It looks like it complains about lambda and filter ops.

Will create a GH issue on NVTabular and followup on that.

from transformers4rec.

Related Issues (20)

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.