You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "vacu9708 (via GitHub)" <gi...@apache.org> on 2025/05/21 13:21:30 UTC

Re: [PR] [Doc][Relax][MetaSchedule] Resolve issue #17899 where the end-to-end tutorial e2e_opt_model.py fails with errors and cannot be executed successfully. [tvm]

vacu9708 commented on PR #17986:
URL: https://github.com/apache/tvm/pull/17986#issuecomment-2897951582

   I confirmed that the change I made works but
   **this seems more correct**
   ```python
   SpaceGenerator.create(postprocs=target.kind.name)
   ```
   **instead of**
   ```python
   if "gpu" in target.keys:
                       space_generator = SpaceGenerator.create(
                           space_generator, postprocs=[postproc.VerifyGPUCode()]
                       )
                   else:
                       space_generator = SpaceGenerator.create(space_generator)
   ```
   
   so that PostprocDefaultCUDA can be used from postproc.py
   However, SpaceGenerator.create(postprocs=target.kind.name) does not work. This issue needs to be looked into more.


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org