Hi There!
I have done BYOC in TVM relax and I am using JSON runtime to execute my kernels. Current I am accessing the weight pointer while execute the kernel with in the RUN function. I cannot access weight or param pointer within my constructor of Runtime object while building the model.
Any idea on how to offload the weight to my device global memory while building the model and used the loaded weight while kernel execution instead of loading them on runtime during kernel execution? Any Idea how to handle this thing?