-
Notifications
You must be signed in to change notification settings - Fork 9
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
ZeroDivisionError: float division by zero #4
Comments
I have installed torch 1.13.0+cu117 |
How do you build your project? Is there any error reported? |
The |
|
when I run "make -j40 && make install" to specify the number of jobs, it give me an error. But when I just run "make install", it is ok. |
Are you using WSL-ubuntu in Windows? I also meet the same errors in WSL... Instead of running Xplace on WSL, I suggest using Linux (e.g. Ubuntu, CentOS) if it is possible for you. |
Yes, I use WSL2-ubuntu22.04. I will change to Linux and try. Thanks. |
BTW, what is your GPU architecture? Is RTX 20xx? |
GTX1080 |
Please remember to change the SM version to 61 if you are using GTX 1080 in https://github.com/cuhk-eda/Xplace/blob/main/CMakeLists.txt#L79
:) Just a quick fix, I will make it more robust later. |
thx |
Btw, how to use ntuplace_4dr? I mean I cannot find the file in repo. |
I found that I can use Xplace in WSL now after correctly setting the CUDA ARCH... As for NTUplace4dr, you may need to contact Prof. Yao-Wen Chang and the other authors of NTUplace4dr, and see whether they can provide the binary for you. |
Ok. I will try |
Thanks!!! It can run now. Because no qt plugin in WSL, it just do GP. Next I will try in ubuntu desktop. |
I faced the same QT plugin trouble as you and I fixed it. Probably you can upgrade WSL to support the GUI. Some references also used by me: |
When I run the the first run command in Xplace:
"python main.py --dataset ispd2005 --design_name adaptec1 --load_from_raw True --detail_placement True"
It gives ZeroDivisionError: float division by zero
The error:
Could you please help me check why this error happen? Thanks a lot.
The text was updated successfully, but these errors were encountered: