Skip to content
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

Assertion `xl1 < xl2 && xh1 < xh2' failed: node 8 (nan, nan, nan, nan) overlaps with node 40 (nan, nan, nan, nan) #210

Open
Kash6 opened this issue Jan 10, 2025 · 1 comment

Comments

@Kash6
Copy link

Kash6 commented Jan 10, 2025

I'm running the benchmarks from the ispd 2015 dataset using the command:
python dreamplace/Placer.py ../test/ispd2015/lefdef/mgc_superblue11_a.json

And I get the following error right after the legality check:
/home/eleven/projects/DREAMPlace/dreamplace/ops/abacus_legalize/../abacus_legalize/src/abacus_legalize_cpu.h:96: void DreamPlace::sortNodesInRow(const T*, const T*, const T*, const T*, int, std::vector<int, std::allocator >&) [with T = float]: Assertion `xl1 < xl2 && xh1 < xh2' failed: node 8 (nan, nan, nan, nan) overlaps with node 40 (nan, nan, nan, nan)
Aborted (core dumped)

I haven't modified anything and I'm running it on torch 1.10.2+cu113.

@limbo018
Copy link
Owner

It works fine on my side. Here's the log.

[INFO   ] Greedy legalization takes 2975.9 ms
[INFO   ] Legality check takes 81.7796 ms
[DEBUG  ] average displace = 10.6866
[INFO   ] Abacus legalization takes 28.9314 ms
[DEBUG  ] average displace = 8.22345
[INFO   ] Abacus legalization takes 27.9994 ms
[DEBUG  ] average displace = 41.4481
[INFO   ] Abacus legalization takes 29.2102 ms
[DEBUG  ] average displace = 10.9823
[INFO   ] Abacus legalization takes 27.8204 ms
[DEBUG  ] average displace = 7.63178
[INFO   ] Abacus legalization takes 171.506 ms
[INFO   ] DREAMPlace - legalization takes 5.713 seconds
[INFO   ] DREAMPlace - iteration  961, wHPWL 3.606356E+08, time 0.355ms

I saw nan in your log. What is the earliest place it appears? Could you check your GPU card? Old GPU may not be supported. You can also try running on CPU to see whether it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants