-
Notifications
You must be signed in to change notification settings - Fork 689
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
Regarding to the problem related to ninja... #33
Comments
@frostinassiky |
@frostinassiky |
@xu13521090631
In the function.py file, I create a new _backend by
|
@frostinassiky !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! See https://gist.github.com/goldsborough/d466f43e8ffc948ff92de7486c5216d6 |
@frostinassiky
Actually, this is the same complain that I get in the traceback when ninja is istalled (pretty the same of this previous issue). I sincerly cannot figure out how to solve the problem, since I haven't found decent solutions in related topics. My environment:
I tried also to use downgraded versions of torch and CUDA, but it did not work. Any help would be appreciated! |
I found that this error relates to version matching problem, specifying between Torch and ninja version. |
Dear guys,
I also meet some issue about the ninja... Here is my understanding:
This project uses JIT coding style, which requires ninja building system.
Solution 1. To install set up the system, there are two ways.
apt-get install ninja-build
. The cuda version in the system has to match the one used in conda envconda install ninja
orpip install ninja
: does not work for me.Solution 2 that I am using. To avoid ninja, write in the "ahead of time" is one possible solution.
setup.py
undermodels/hrnet/sync_bn/inplace_abn
python setup.py install
models/hrnet/sync_bn/inplace_abn/functions.py
, import the module as_backend
The text was updated successfully, but these errors were encountered: