Skip to content

Re-package tensorflow-serving-api==1.9.0 (discussion about future of this package) #6

Closed

Activity

  1. ghego commented on Aug 1, 2018

    @ghego

    1.9.0 has been out for a while. Is this going to be repackaged?

  2. illagrenan commented on Aug 1, 2018

    @illagrenan
    OwnerAuthor

    I will try to release a new version later today (Thu) or tomorrow (Fri).

  3. ghego commented on Aug 1, 2018

    @ghego

    actually, I was just checking the official package and it seems to be supporting py3 too. have a look: https://pypi.org/project/tensorflow-serving-api/#files

  4. illagrenan commented on Aug 1, 2018

    @illagrenan
    OwnerAuthor

    You're right! That's new. So I think my project is no longer needed. 😄 It looks like tensorflow-serving-api supports Python 3 from version >=1.8.0.

  5. ghego commented on Aug 1, 2018

    @ghego

    as far as I understand they did release it with tf 1.9 but somehow the tensorflow_model_server command is not available. I'm confused..

  6. ghego commented on Aug 1, 2018

    @ghego
  7. spate141 commented on Aug 2, 2018

    @spate141

    @illagrenan Thank you for all your work! 🎉

  8. ghego commented on Aug 2, 2018

    @ghego

    The official package seems to require tensorflow and does not work with tensorflow-gpu. @illagrenan thanks for the good work! maybe worth keeping this alive for one more release while they fix the issue?

  9. illagrenan commented on Aug 2, 2018

    @illagrenan
    OwnerAuthor

    @ghego I understand the problem. I have never understood the splitting of the GPU and the non-GPU version of Tensorflow.

    You can try this:

    pip install 'tensorflow-serving-api~=1.9.0' --no-dependencies
    pip install 'tensorflow-gpu~=1.9.0'
  10. ghego commented on Aug 2, 2018

    @ghego

    Thanks that solved the issue. Do you know if it can be done in a requirements file or conda environment.yml ? I don't seem to have found a way to do that.

  11. illagrenan commented on Aug 3, 2018

    @illagrenan
    OwnerAuthor

    Unfortunately, it looks like it is not possible in requirements.txt. And I'm not familiar with Conda. 😞 Ref: https://stackoverflow.com/questions/31798280/pass-no-deps-in-pip-requirements-txt

  12. illagrenan commented on Aug 3, 2018

    @illagrenan
    OwnerAuthor

    But it shouldn't be so hard to handle this situation with your build script / Dockerfile. For example, I would do this in Dockerfile:

    RUN pip install -r requirements.txt
    RUN pip uninstall tensorflow-gpu
    RUN pip install tensorflow
  13. changed the title [-]Re-package tensorflow-serving-api==1.9.0[/-] [+]Re-package tensorflow-serving-api==1.9.0 (discussion about future of this package)[/+] on Aug 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions