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

PintRun expensive even for nBlocks=10 and nIter=10 #9

Open
JensHahne opened this issue Jan 25, 2023 · 2 comments
Open

PintRun expensive even for nBlocks=10 and nIter=10 #9

JensHahne opened this issue Jan 25, 2023 · 2 comments

Comments

@JensHahne
Copy link
Collaborator

JensHahne commented Jan 25, 2023

The construction of the PintRun quickly becomes very expensive, for example with N=10 and K=10. It seems that the calls to simplify() and subs() from sympy are quite expensive. The functions are called for every n,k combination in the PinTRun, resulting in very expensive generations. Even for N=10 and K=10, this can easily lead to 4-5 seconds to create the PintRun.

I don't have a good idea at the moment how to fix this, but with these long runtimes for simulating relatively small block iterations, it is not really reasonable.

@tlunet
Copy link
Member

tlunet commented Jan 25, 2023

You're talking about the graph generation for speedup computation, right ? Maybe write a script somewhere that compute and plot the computation time for this, so we can use that as a benchmark and try to improve the implementation ...

@JensHahne
Copy link
Collaborator Author

Yes, exactly. Good idea, i will add a script and try to improve things.

@tlunet tlunet changed the title PintRun expensive even for N=10 and K=10 PintRun expensive even for nSteps=10 and nIter=10 Feb 6, 2023
@tlunet tlunet changed the title PintRun expensive even for nSteps=10 and nIter=10 PintRun expensive even for nBlocks=10 and nIter=10 Feb 6, 2023
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