GithubHelp home page GithubHelp logo

Comments (8)

wq1456728 avatar wq1456728 commented on May 2, 2024 2

I met the same problems, exactly in the same way. “when run this code "w = tfe.define_private_variable(tf.ones(shape=(10,10)))", Segmentation fault (core dumped) occured.“
all I did is trying to run the tutorial code in the readme.md.
my env:

  1. platform is CentOS Linux release 7.8.2003 (Core)
  2. i isntalled tfe by the 2nd way, from source, and build completed with no error.
  3. python version is 3.6.5.
  4. tf version is 1.15.2 as required.

please help. thx

Could you check if the problem exists on tf 1.13.2 and tf 1.14.0 ?

Thank you for quick reply. I will take a try, but why the requirements said 1.15.2?

OK, I have tried both 1.13.2 and 1.14.0, they both work well. problem solved.
Thank you again, and could you do a favor explaining some of the deep reason for the problem in 1.15.2?

from tf-encrypted.

jvmncs avatar jvmncs commented on May 2, 2024 1

got any idea in mind ?

Unfortunately nothing solid, I haven't been keeping up with the tf1 compatibility recently. Just looking at the readme code, I don't see anything obvious. One possibility I could imagine is if you built tensorflow with our patch for secure randomness. That secure randomness op uses their Custom Op API in tensorflow_core, but they may have introduced breaking changes to it in the jump from 1.14.0 -> 1.15.2, since that API does not have stability guarantees. I think they were interested in phasing that API out w/ TF2, because they had some other things in the works for adding new Ops to TF (maybe related to their work on TFRT).

from tf-encrypted.

vincehong avatar vincehong commented on May 2, 2024

Could you provide your TF version, and the script you ran ?

from tf-encrypted.

zicofish avatar zicofish commented on May 2, 2024

when run this code "w = tfe.define_private_variable(tf.ones(shape=(10,10)))", Segmentation fault (core dumped) occured.

@purpleyun it would help to debug the issue if you could provide:

  1. Detailed platform information with uname -a if you are on linux or macos
  2. How you install the library? Building from source, or using pip install tf-encrypted?
  3. TF version, script (showing which mpc protocol you use)

from tf-encrypted.

wq1456728 avatar wq1456728 commented on May 2, 2024

I met the same problems, exactly in the same way. “when run this code "w = tfe.define_private_variable(tf.ones(shape=(10,10)))", Segmentation fault (core dumped) occured.“

all I did is trying to run the tutorial code in the readme.md.

my env:

  1. platform is CentOS Linux release 7.8.2003 (Core)
  2. i isntalled tfe by the 2nd way, from source, and build completed with no error.
  3. python version is 3.6.5.
  4. tf version is 1.15.2 as required.

please help. thx

from tf-encrypted.

vincehong avatar vincehong commented on May 2, 2024

I met the same problems, exactly in the same way. “when run this code "w = tfe.define_private_variable(tf.ones(shape=(10,10)))", Segmentation fault (core dumped) occured.“

all I did is trying to run the tutorial code in the readme.md.

my env:

  1. platform is CentOS Linux release 7.8.2003 (Core)
  2. i isntalled tfe by the 2nd way, from source, and build completed with no error.
  3. python version is 3.6.5.
  4. tf version is 1.15.2 as required.

please help. thx

Could you check if the problem exists on tf 1.13.2 and tf 1.14.0 ?

from tf-encrypted.

vincehong avatar vincehong commented on May 2, 2024

I met the same problems, exactly in the same way. “when run this code "w = tfe.define_private_variable(tf.ones(shape=(10,10)))", Segmentation fault (core dumped) occured.“
all I did is trying to run the tutorial code in the readme.md.
my env:

  1. platform is CentOS Linux release 7.8.2003 (Core)
  2. i isntalled tfe by the 2nd way, from source, and build completed with no error.
  3. python version is 3.6.5.
  4. tf version is 1.15.2 as required.

please help. thx

Could you check if the problem exists on tf 1.13.2 and tf 1.14.0 ?

Thank you for quick reply. I will take a try, but why the requirements said 1.15.2?

OK, I have tried both 1.13.2 and 1.14.0, they both work well. problem solved. Thank you again, and could you do a favor explaining some of the deep reason for the problem in 1.15.2?

Actually I don't know why :( , I suggested that because I encountered a similar problem last year when using tf1.15. @zicofish @jvmncs got any idea in mind ?

from tf-encrypted.

wq1456728 avatar wq1456728 commented on May 2, 2024

I met the same problems, exactly in the same way. “when run this code "w = tfe.define_private_variable(tf.ones(shape=(10,10)))", Segmentation fault (core dumped) occured.“
all I did is trying to run the tutorial code in the readme.md.
my env:

  1. platform is CentOS Linux release 7.8.2003 (Core)
  2. i isntalled tfe by the 2nd way, from source, and build completed with no error.
  3. python version is 3.6.5.
  4. tf version is 1.15.2 as required.

please help. thx

Could you check if the problem exists on tf 1.13.2 and tf 1.14.0 ?

Thank you for quick reply. I will take a try, but why the requirements said 1.15.2?
OK, I have tried both 1.13.2 and 1.14.0, they both work well. problem solved. Thank you again, and could you do a favor explaining some of the deep reason for the problem in 1.15.2?

Actually I don't know why :( , I suggested that because I encountered a similar problem last year when using tf1.15. @zicofish @jvmncs got any idea in mind ?

Anyway, thank you a lot for replying. Looking for further discussion.

from tf-encrypted.

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.