Open rkazants opened 2 months ago
Hi @rkazants! I would like to take up this issue.
Hi @sacredvoid, the task is yours.
Best regards, Roman
Had a doubt, I'm currently on a windows machine, trying to build OpenVino. Is there a guide to properly build openvino for windows? Encountered an issue while building. @rkazants
Had a doubt, I'm currently on a windows machine, trying to build OpenVino. Is there a guide to properly build openvino for windows? Encountered an issue while building. @rkazants
Hi, checkout our wiki: https://github.com/openvinotoolkit/openvino/wiki
I want to solve this issue could you please assign me. @rkazants
@sacredvoid are you working on this task or should we reassign it?
Kindly reassign it, thank you.
not a problem, maybe other ticket will be more fisible for you, in more convinient time? :)
.take
Thank you for looking into this issue! Please let us know if you have any questions or require any help.
Context
OpenVINO component responsible for support of JAX/Flax models is called as JAX Frontend (JAX FE). JAX FE converts a JAX/Flax model represented by
ClosedJAXpr
graph object with operations from jax.lax opset to OpenVINO IR containing operations from OpenVINO opset.In order to infer JAX/Flax models containing jax.lax.logistic operation by OpenVINO, JAX FE needs to be extended with this operation support.
What needs to be done?
For jax.lax.logistic operation support, you need to implement the corresponding loader into JAX FE op directory and to register it into the dictionary of Loaders. One loader is responsible for conversion (or decomposition) of one type of JAX operation.
Here is an example of loader implementation for jax.lax.reshape operation:
In this example,
translate_reshape
expressesjax.lax.reshape
using OpenVINO opset. Sincejax.lax.reshape
performs transposition and tensor reshaping according to JAX documentation, the resulted decomposition contains OpenVINOTranspose
andReshape
operations. ForTranspose
andReshape
nodes, this conversion parses constant parametersdimensions
to permute input tensor andnew_size
that is the target shape of the result.Once you are done with implementation of the translator, you need to implement the corresponding layer tests
test_logistic.py
and put it into layer_tests/jax_tests directory. Example how to run some layer test:Example Pull Requests
Resources
Contact points
Ticket
No response