Giter VIP home page Giter VIP logo

Comments (8)

evelkey avatar evelkey commented on August 12, 2024

No, I tried it and found out some cuda ops are not compatible.
For quick solution I merged different versions of tensorflow to have the functionality I need.

from fold.

delesley avatar delesley commented on August 12, 2024

from fold.

KazuhiraDZ avatar KazuhiraDZ commented on August 12, 2024

Hi, I want to compile from source, can you tell me how to compile the latest version? is it the same as how we compile tensorflow from source?

from fold.

evelkey avatar evelkey commented on August 12, 2024

Hi, after compiling both tensorflow_fold and tensorflow from sources, it is working fine with tf version 1.3.
It's quite tricky to get it to work, because the tensorflow version which is included in fold has an error with a checksum.
You can find build instructions here: sources
Right now it's building with only bazel 5.4 for me.
To make it build you have to remove the checksum from tf with the following command:
sed -ri "/^\W+sha256 = \"[^\"]+\"\W+$/d" tensorflow/workspace.bzl (issue)

from fold.

KazuhiraDZ avatar KazuhiraDZ commented on August 12, 2024

thank you for help. I have run the code to remove the checksum,but, it still has something wrong,like:
Python Configuration Error: 'PYTHON_BIN_PATH' environment variable is not set
and referenced by '@org_tensorflow//util/python:python_headers'
ERROR: Analysis of target '//tensorflow_fold/loom:pywrapweaver' failed; build aborted
INFO: Elapsed time: 1.325s
FAILED: Build did NOT complete successfully (8 packages loaded)
Fetching http://mirror.bazel.build/.../swig/swig-3.0.8/swig-3.0.8.tar.gz
Fetching http://mirror.bazel.build/.../eigen/eigen/get/f3a22f35b044.tar.gz
Fetching http://mirror.bazel.build/.../backports.weakref-1.0rc1.tar.gz
Fetching http://mirror.bazel.build/.../archive/release-1.8.0.zip
ERROR: Couldn't start the build. Unable to run tests
can you help me the order how to build it?
and every time it have different log

from fold.

evelkey avatar evelkey commented on August 12, 2024

Try exporting the variable replacing "usr/bin/python3" with your own python path:
export PYTHON_BIN_PATH="/usr/bin/python3"

from fold.

KazuhiraDZ avatar KazuhiraDZ commented on August 12, 2024

Thank you! It does work in cpu pc! I will install it in my gpu server...

from fold.

shengc avatar shengc commented on August 12, 2024

I have the following errors trying to build from source. Any idea how to fix them ?

/usr/include/string.h:544: error: '__locale_t' has not been declared
/usr/include/string.h:545: error: nonnull argument references non-pointer operand (argument 1, operand 3)
/usr/include/string.h:548: error: '__locale_t' has not been declared
/usr/include/string.h:549: error: nonnull argument references non-pointer operand (argument 1, operand 4)

from fold.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.