-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault when integrated with Ray #181
Comments
Hi @mobicham , thanks for reporting! would you mind provide scripts for us to reproduce? |
Sorry for the delay @LeiWang1999 . We fixed the issue by importing bitblas first before anything else. |
@mobicham That's interesting, I met some problems when working with mlc, for example: import tvm # upstream
relax_mod = relax_transform(relax_mod)
import welder
relax_mod = welder.tune(relax_mod)
# something bad happened The problem was that when welder is imported, it also imports in its own version of TVM, which then invokes load_dlls (for example, to load libcutlass). This process ends up overwriting the upstream cutlass lib and lead to some bugs. I guess there may be similar rationals behind these two cases. |
Thanks! Yeah for the moment the trick is to experiment with different import orders and pick the one that doesn't throw an error. |
BitBlas throws a segmentation fault when integrated in an environment using Ray, is this something related to the order of loading of
bitblas
or something? Thank you very much in advance!The text was updated successfully, but these errors were encountered: