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

_tfq_simulate_ops.so cannot open shared file #757

Closed
deepquantum88 opened this issue Mar 27, 2023 · 9 comments
Closed

_tfq_simulate_ops.so cannot open shared file #757

deepquantum88 opened this issue Mar 27, 2023 · 9 comments
Labels
area/dependencies Concerns libraries or other software that TFQ depends on area/installation Concerns installation of TFQ

Comments

@deepquantum88
Copy link

deepquantum88 commented Mar 27, 2023

Hi,

I am installing TFQ (0.7.2) on python=3.9.7 version and TensorFlow 2.11.0, protobuf=3.17.3. But throws an error.
Earlier I worked with TFQ (0.7.2) with python 3.8.16 and TF= 2.7.0. It worked fine.

But now i have to use python=3.9 and it throws an error of file _tfq_simulate_ops.so.

Please help.

@lockwo
Copy link
Contributor

lockwo commented Mar 27, 2023

I don't think 2.11.0 support is finalized yet (see #756 and #755). When it is finalized it will be through TFQ nightly, 0.7.2 requires TF 2.7.0 (see the requirements file for 0.7.2: https://github.com/tensorflow/quantum/blob/v0.7.2/requirements.txt#L8)

@deepquantum88
Copy link
Author

can you please specify the steps to install with bazel. I checked tfq website. and installed bazel 5.3.0. But not sure how to make it compatible tf2.11.0 and tfq with bazel.

@lockwo
Copy link
Contributor

lockwo commented Mar 27, 2023

To install with bezel, see the install from source instructions: https://www.tensorflow.org/quantum/install

@deepquantum88
Copy link
Author

I tried installing but it throws an error of undefined symbol _ZNK10tensorflow80p....

@lockwo
Copy link
Contributor

lockwo commented Mar 27, 2023

Hmmm there are probably other issues in TFQ that need to be fixed before being stable than, TF 2.11 support will probably be out with the next release.

@deepquantum88
Copy link
Author

any hope when it will be released?

@lockwo
Copy link
Contributor

lockwo commented Mar 27, 2023

I do not know the release schedule for 0.8, though there was a 11 month gap between 0.7 and 0.6, and a 8 month gap between 0.6 and 0.5 for context.

@jaeyoo
Copy link
Member

jaeyoo commented Apr 14, 2023

#762 (comment)

Please, please rebuild TF 2.11.0 with the right build options: ABI is set to 1, std c++ is 17.

Here is the newly updated installation guideline:

https://github.com/tensorflow/quantum/blob/master/docs/install.md#4-build-tensorflow-from-source

@mhucka
Copy link
Member

mhucka commented Dec 1, 2024

This issue appears related to older releases of TFQ and TF. Given the most recent comments, it appears likely that this has been resolved one way or another. In the interest of prioritizing work on TensorFlow Quantum, I will close this issue. Please reopen this issue if the original problem was not addressed.

@mhucka mhucka closed this as completed Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dependencies Concerns libraries or other software that TFQ depends on area/installation Concerns installation of TFQ
Projects
None yet
Development

No branches or pull requests

4 participants