comaniac opened a new pull request #6842:
URL: https://github.com/apache/incubator-tvm/pull/6842


   This PR adds required `__setstate__` and `__getstate__` to make `SearchTask` 
and `ComputeDAG` serializable. The idea is to serialize the list of tensors or 
the schedule used to construct a ComputeDAG, so that we can create an identical 
ComputeDAG by `pickle.loads`.
   
   Notes
   
   - `import pickle` are lazy imports to avoid unnecessary dependency.
   - We need to add `pickle` to the docker file and update the image to pass 
the CI.
   
   cc @merrymercy @tqchen @junrushao1994 


----------------------------------------------------------------
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.

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


Reply via email to