quantum icon indicating copy to clipboard operation
quantum copied to clipboard

can't impelement tensorflow federated, tensorflow and tensorflow_quantum

Open Rayhan740 opened this issue 1 year ago • 8 comments

I wanted to verify a paper so I needed to apply tensorflow, tensorflow-quantum and tensorflow-federated at the same time or in a same environment and I tried different version but there is not compatible version that exist !🥲 .... I tried tensorflow==2.3.1 and tensorflow_quantum == 0.4.0 and tensorflow-federated==0.17.0 manually but the problem is it's still not compatible with each other. Is there any solution for that?

Rayhan740 avatar Apr 03 '23 04:04 Rayhan740

I don't see any matching versions of TFQ requirements on TF and TFF requirements. However, it is a little surprising they don't work since their requirements are only off by 0.0.1.

lockwo avatar Apr 03 '23 14:04 lockwo

yes there is no version but can tensorflow fix this problem?

Rayhan740 avatar Apr 03 '23 20:04 Rayhan740

TFQ main and TFF 0.41.0 both have 2.11.0 requirements. But I'm not sure if the latest changes in TFQ are stable yet, so enter at your own risk (see https://github.com/tensorflow/quantum/issues/757)

lockwo avatar Apr 03 '23 20:04 lockwo

It doesn't work. is there any way to fix this problem?

Rayhan740 avatar Apr 08 '23 21:04 Rayhan740

I'm not sure if any easy way, it you isolate the breaking points (which are probably minor since the versions are off by just 0.0.1) in TFF you could changed those and build from source, but I don't know anything about TFF so I can't comment much on it

lockwo avatar Apr 08 '23 21:04 lockwo

is there any way that I can get help ?? or can do something about it??

Rayhan740 avatar Apr 12 '23 19:04 Rayhan740

I am bumping up the TFQ version to be compatible with TF v2.11.0. During this unstable phase, could you please share the installation error log that I can help you with?

Firstly, please see https://github.com/tensorflow/quantum/issues/764

jaeyoo avatar Apr 14 '23 23:04 jaeyoo

I guess there is a numpy file which is making all the fuss for tfq and tff ..... Is this solved yet?

Rayhan740 avatar Jun 14 '23 15:06 Rayhan740