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

tensorflow-core-ops won't compile #259

Open
noahmartinwilliams opened this issue May 20, 2020 · 6 comments
Open

tensorflow-core-ops won't compile #259

noahmartinwilliams opened this issue May 20, 2020 · 6 comments

Comments

@noahmartinwilliams
Copy link

noahmartinwilliams commented May 20, 2020

Error message is:
Resolving dependencies... Starting tensorflow-core-ops-0.2.0.1 Building tensorflow-core-ops-0.2.0.1 Failed to install tensorflow-core-ops-0.2.0.1 Build log ( /home/noah/.cabal/logs/ghc-8.6.5/tensorflow-core-ops-0.2.0.1-235Sg1PUXZGDGhDcUwp47K.log ): cabal: Entering directory '/tmp/cabal-tmp-6165/tensorflow-core-ops-0.2.0.1' [1 of 1] Compiling Main ( /tmp/cabal-tmp-6165/tensorflow-core-ops-0.2.0.1/dist/setup/setup.hs, /tmp/cabal-tmp-6165/tensorflow-core-ops-0.2.0.1/dist/setup/Main.o ) Linking /tmp/cabal-tmp-6165/tensorflow-core-ops-0.2.0.1/dist/setup/setup ... Configuring tensorflow-core-ops-0.2.0.1... parseAttrType: unrecognized type "func" for op "LegacyParallelInterleaveDatasetV2" CallStack (from HasCallStack): error, called at src/TensorFlow/OpGen/ParsedOp.hs:345:10 in tensorflow-opgen-0.2.0.1-Fre9UOrsWuM54BucKfZJ4M:TensorFlow.OpGen.ParsedOp cabal: Leaving directory '/tmp/cabal-tmp-6165/tensorflow-core-ops-0.2.0.1' cabal: Error: some packages failed to install: tensorflow-core-ops-0.2.0.1-235Sg1PUXZGDGhDcUwp47K failed during the building phase. The exception was: ExitFailure 1
GHC version is : 8.6.5
cabal version is : 2.4.1.0
OS: Arch Linux.

@judah
Copy link
Contributor

judah commented May 20, 2020

I think you'll need to add the new op to the blacklist:

You're probably using a newer version of tensorflow than has been tested before with this library.

@blackgnezdo
Copy link
Contributor

Like @judah said, sharing the TF version would help with diagnosing. So would using the TF version currently tested in the project.

@noahmartinwilliams
Copy link
Author

tensorflow-core-ops-0.2.0.1 is the name of the core-ops package and it's the same exact version for tensorflow. I got both of them from hackage.

@judah
Copy link
Contributor

judah commented May 24, 2020

@SKYNET1 we mean the version of the Tensorflow C++ library itself that's installed on your machine, not these Haskell bindings. (For example, from https://www.tensorflow.org/install/lang_c).

@noahmartinwilliams
Copy link
Author

Oh, sorry. That is version 2.2.0

@blackgnezdo
Copy link
Contributor

@SKYNET1, #242 has an unfinished attempt to bring TF 2.0 support. See if you can finish that?

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

3 participants