Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Time taken to import qml modules #135

Open
puckvg opened this issue Dec 16, 2020 · 1 comment
Open

Time taken to import qml modules #135

puckvg opened this issue Dec 16, 2020 · 1 comment
Assignees

Comments

@puckvg
Copy link

puckvg commented Dec 16, 2020

Hello,

It might just be me, but I was recently timing / profiling some reasonably fast code and noticed that the bottleneck was the qml import. I then ran a file containing only the two imports that were causing the bottleneck, i.e. import.py containing:

from qml.kernels import gaussian_kernel
from qml.math import cho_solve

and it took my reasonably crap laptop 4s to run that. Is it just me or could there be some hefty imports in those modules?

Thanks,
Puck

@charnley
Copy link
Member

Interesting find @puckvg. Looking forward to your pull-request.

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

No branches or pull requests

2 participants