tensorflow / quantum

Hybrid Quantum-Classical Machine Learning in TensorFlow
https://www.tensorflow.org/quantum
Apache License 2.0
1.79k stars 572 forks source link

update bazel version in install.md to 5.3.0 to work with TF v2.11.0 #756

Closed Sinestro38 closed 1 year ago

Sinestro38 commented 1 year ago

This PR accompanies #755

Updates the docs/install.md file to download bazel 5.3.0 instead of 5.1.0 which causes errors when building Tensorflow 2.11.0

Sinestro38 commented 1 year ago

@jaeyoo

Sinestro38 commented 1 year ago

realized https://github.com/tensorflow/quantum/pull/755 updates the readme

deepquantum88 commented 1 year ago

@Sinestro38 is tfq worked with tf2.11.0 and python 3.9 at your side? because when i follow up the steps of installation listed on website, it throws an error of tfq_simulate_ops.so

jaeyoo commented 1 year ago

Hi @deepquantum88 could you tell us more information?

  1. how to configure your tfq? Is it cpu/gpu?
  2. which installation steps did you follow? docs/install.md?
  3. which step did you get stuck with?
  4. the error message detail please.
deepquantum88 commented 1 year ago

I want to work with TF 2.11.0 and TFQ 0.7.2. But during installation it did not work. Although, i worked with TF 2.7.0, and TFQ0.7.2

But due to some other packages i have to work with TF2.11.0.

jaeyoo commented 1 year ago

We will soon release TFQ 0.7.3 which is compatible with TF2.11.0. It will resolve the issue. please stay tuned.

lockwo commented 1 year ago

Will 0.7.3 include GPU support? Also is there any public roadmap for the future development of TFQ?

jaeyoo commented 1 year ago

Hi @lockwo, currently, I am working on the full support for TFv2.11.0 compatibility. Please stay tuned for the future roadmap later soon.

Sinestro38 commented 1 year ago

.

deepquantum88 commented 1 year ago

@jaeyoo @Sinestro38 is tfq nightly can work with TF2.11.0?

jaeyoo commented 1 year ago

@deepquantum88 theoretically, yes. could you please try it?

deepquantum88 commented 1 year ago

@jaeyoo Thank you for your response. I tried the latest version, but did not able to install. Can you suggest any particular tfq nightly version which can be compatible with TF2.11.0?

jaeyoo commented 1 year ago

https://colab.research.google.com/drive/19I2LXkN6rDwFCxXy75bkkU-23MJweFJH?authuser=1#scrollTo=LwybXgHjTJ7J

Do you mean this?

jaeyoo commented 1 year ago

Or could you please tell me the exact error messages with your command lines?