Nanmur opened a new issue, #20003:
URL: https://github.com/apache/tvm/issues/20003

   
   TVM previously supported importing PaddlePaddle models through the Relay 
frontend.
   However, the current Relax frontend does not provide a corresponding import 
path for
   PaddlePaddle models.
   
   This tracking issue proposes exploring an incremental implementation of a 
PaddlePaddle
   frontend for Relax. Over time, the scope may include:
   
   * Legacy static programs;
   * Paddle 3.x PIR programs;
   * Potentially other model formats exported by the PaddlePaddle ecosystem, 
subject to
     implementation findings and community discussion.
   
   The initial direction is to use PaddlePaddle's official Python APIs to load 
and
   deserialize models, and then translate the resulting program objects into 
Relax. This
   would avoid maintaining a separate PaddlePaddle model-file parser within TVM.
   
   Ideally, this effort could proceed incrementally through multiple small, 
independently
   reviewable PRs. As implementation work reveals additional requirements, the 
scope and
   roadmap can be discussed and refined together with the community.
   
   This effort follows the earlier tracking work for the Relay PaddlePaddle 
frontend in
   #8751.
   
   I would be glad to work on this incrementally and adjust the implementation 
based on
   community review. If the community is interested in moving this effort 
forward,
   maintainer guidance on the following questions would be greatly appreciated:
   
   * Is `python/tvm/relax/frontend/paddle/` an appropriate location for this 
frontend?
   * Is an API that accepts program objects already loaded by PaddlePaddle an 
appropriate
     interface for this integration?
   
   Contributions and suggestions from other developers interested in 
PaddlePaddle support
   would also be very welcome.
   
   ### Triage
   
   * needs-triage
   * type:rfc-tracking
   * frontend: paddlepaddle
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to