masahi edited a comment on pull request #8587:
URL: https://github.com/apache/tvm/pull/8587#issuecomment-892284770


   @Lunderberg ~~On AMD I got a different error with this PR~~: (UPDATE) The 
error below is introduced in https://github.com/apache/tvm/pull/8602. With 8602 
reverted and applying this PR, the original error I saw was gone.
   ```
     4: tvm::TargetInternal::ConstructorDispatcher(tvm::runtime::TVMArgs, 
tvm::runtime::TVMRetValue*)
     3: tvm::Target::Target(tvm::runtime::String const&)
     2: tvm::TargetInternal::FromString(tvm::runtime::String const&)
     1: tvm::TargetInternal::FromRawString(tvm::runtime::String const&)
     0: 
tvm::TargetInternal::FromConfig(std::unordered_map<tvm::runtime::String, 
tvm::runtime::ObjectRef, std::hash<tvm::runtime::String>, 
std::equal_to<tvm::runtime::String>, 
std::allocator<std::pair<tvm::runtime::String const, tvm::runtime::ObjectRef> > 
>)
     File "/home/masa/projects/dev/tvm/src/target/target.cc", line 469
   TVMError: ValueError[10:18:05] 
/home/masa/projects/dev/tvm/src/target/target.cc:788: Expected runtime.String 
parameter for attribute 'device_name', but received TVMArgTypeCode(8) from 
device api
   . Target creation from string failed: vulkan -from_device=0
   ```


-- 
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-unsubscr...@tvm.apache.org

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


Reply via email to