-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
adding tensorflow_io_gcs_filesystem #17069
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Hey @ngam, just looking at this - thanks for starting this off! I think there's a bunch of things to fix though - I can offer to commit into this PR if you make me a collaborator on your fork of staged-recipes, otherwise I'll open a new PR. |
Of course, I have just added you as a collaborator. Feel free to do anything :) |
This is their build description: https://github.com/tensorflow/io/blob/master/docs/development.md#centos-7 |
Sounds good, I added you both as collaborators --- feel free to do whatever you'd like. I am going to note again that building locally on an ubuntu 20.04.3 goes further than this. |
Ah, I didn't realize we had a cyclic dependency issue. That's super annoying. Is the situation the same as with tf-estimator? There, it was my understanding that the cycle can be removed (in any case, maybe my recent changes aren't even functional, and it hasn't been merged yet 😋). I just trusted your opinion on this so far ;-)
|
Actually, there's an unreleased commit upstream that breaks that cyclic dependency by making tensorflow an |
@h-vetinari should I close this for now and go back to the drawing board in conda-forge/tensorflow-feedstock#176? I don't think I will be able to pull this off, let's be real 🥲 |
So I looked at the upstream situation for about half an hour now, and all that comes to mind is "oh what a tangled web we weave..." It could be possible to build the package by backporting the commit I noted, but even then, the entire test suite requires tensorflow. I mean, I'm not actually that sure how many of the tests (especially against cloud infra) we could be running at all, but I'd rather slim down the tensorflow-build than stuff more modules into it. So I might still try to make an importable package here... 🤷 |
Ah, and |
Just cross posting for clarity, I don't think that tensorfow depends on this package yet. Therefore, we should move forward with 2.7, then add this package when 2.7 is built. |
@hmaarrfk I think the tests will fail without it --- so yes, in theory, it is not strictly needed. I built tf2.7 from feedstock and it was totally fine, it's just that some tests failed. I reported that here: conda-forge/tensorflow-feedstock#169 |
I might suggest building 0.21 first, then upgrading to 0.22 later. It would likely break the circular dependency. |
|
@hmaarrfk does this error basically say add protobuf?
|
probably libprotobuf |
we likely have to specify a protobuf include path |
I think it compiles its own protobuf, no? or like, whatever it's doing here is likely related... |
This recipe really won't be easy to build. I don't think we need it for TF 2.7 which really unpins alot of the other dependencies. The issue is that TF (and tensorflow io) really likes to vendor dependencies, which is frowned upon at Conda-forge (though encouraged with pip+pypi). Basically, somebody will have to audit every occurrence of something that looks like a fetch:
and remove it. I'm also unsure of their configure command. It might just be easier to write the bazel file yourself given how straightforward their configuration file is. This isn't really something that I have too much time to work on right now (especially since it isn't a hard dependency yet) so i'm not sure how much I can help before the new year. |
Yes, totally understand. I think it would be safe to ignore this for now. As you say, it is pretty hard; and I don't think I am personally in a position to pull it off. However, I will do my best to push this forward without disrupting the bigger project in the main pr. |
Checklist
url
) rather than a repo (e.g.git_url
) is used in your recipe (see here for more details).