Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Tensorflow addons #347

Merged
merged 23 commits into from
Jun 24, 2020
Merged

Tensorflow addons #347

merged 23 commits into from
Jun 24, 2020

Conversation

bhack
Copy link
Contributor

@bhack bhack commented May 26, 2020

Add support to Tensorflow addons:

See tensorflow/addons#1309 and tensorflow/addons#1888

@bhack
Copy link
Contributor Author

bhack commented May 26, 2020

As you have seen in the mentioned ticket we would like to have CPU and GPU separated configs but I think is not possible currently if you check microsoft/vscode-remote-release#2143 (comment)

@bhack bhack marked this pull request as draft May 27, 2020 12:23
@bhack
Copy link
Contributor Author

bhack commented May 27, 2020

We are waiting to check test and test discover to see if we could enable "python.testing.pytestEnabled": true,

@bhack
Copy link
Contributor Author

bhack commented May 27, 2020

@Chuxel is there a way to differentiate between CPU and GPU .devcontainer? Or are we still blocked by microsoft/vscode-remote-release#2143?

@Chuxel
Copy link
Member

Chuxel commented May 27, 2020

@bhack I would use a build arg if you need to modify the contents of the Dockerfile and add a comment into devcontainer.json about switching between the two.

@bhack
Copy link
Contributor Author

bhack commented May 27, 2020

@Chuxel need we to comment and uncomment also microsoft/vscode-remote-release#345 (comment) right?

@Chuxel
Copy link
Member

Chuxel commented May 27, 2020

@bhack If there's arguments you need to pass in, yes. The .NET Core definition is an example of this being done - in this case for SSL support: https://github.com/microsoft/vscode-dev-containers/blob/master/containers/dotnetcore-3.1/.devcontainer/devcontainer.json

@bhack
Copy link
Contributor Author

bhack commented May 27, 2020

@Chuxel I have another question how we could automate this manual commenting/uncommenting activity when we let the user to use this for Github codespaces?

@Chuxel
Copy link
Member

Chuxel commented May 27, 2020

VS Codespaces (and by extension Codespaces in GitHub) will be implementing the ability to iterate on a devcontainer.json and Dockerfile like the Remote - Containers extension over time. It's just not quite there yet.

@bhack
Copy link
Contributor Author

bhack commented May 27, 2020

@Chuxel do you mean that they have in the roadmap multiple alternative devcontainer.json and Dockerfile support for the same repo?

@Chuxel
Copy link
Member

Chuxel commented May 27, 2020

@bhack You'll be able to uncomment and just rebuild like you can with Remote - Containers. Step one is getting to feature parity.

@bhack
Copy link
Contributor Author

bhack commented May 27, 2020

@Chuxel Thanks. Could we still host .devcontainer here or it will be mandatory to be hosted in our repo root for Codespaces?

@Chuxel
Copy link
Member

Chuxel commented May 27, 2020

Yeah, currently Codespaces does not pull from this repo, but this is part of the work we'll collaborate with that team on as iterating on a container starts to be available. We'd want the same list of definitions from this repo there as well, so that would be the natural time to include it.

bhack added 2 commits May 28, 2020 12:41
Disable pytest integration until upstream bugs are resolved
@bhack
Copy link
Contributor Author

bhack commented Jun 4, 2020

@seanpmorgan I've added the build-arg IMAGE_TYPE to switch between CPU and GPU images but we need to push a CPU image on Dockerhub.

@bhack
Copy link
Contributor Author

bhack commented Jun 5, 2020

@Chuxel as you see we need to comment and uncomment two sections to switch from CPU to GPU. It is not the best UX solution but I don't find anything better with the current features.

@bhack bhack marked this pull request as ready for review June 8, 2020 12:18
Copy link
Member

@Chuxel Chuxel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two small comments to consider. Otherwise looks good.

@bhack
Copy link
Contributor Author

bhack commented Jun 8, 2020

It is ok for me. @seanpmorgan when you can give a pass with the GPU options we could merge this.

@Chuxel Chuxel mentioned this pull request Jun 22, 2020
@Chuxel
Copy link
Member

Chuxel commented Jun 24, 2020

@seanpmorgan @bhack Let me know when you think this is to the point it should be merged.

Copy link

@seanpmorgan seanpmorgan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies this is good to merge. There is some additional work that needs to be done on the base image but that's not gating this PR.

@Chuxel Chuxel merged commit 89baf8c into microsoft:master Jun 24, 2020
@bhack bhack mentioned this pull request Jul 6, 2020
@bhack
Copy link
Contributor Author

bhack commented Nov 26, 2020

Yeah, currently Codespaces does not pull from this repo, but this is part of the work we'll collaborate with that team on as iterating on a container starts to be available. We'd want the same list of definitions from this repo there as well, so that would be the natural time to include it.

@Chuxel any news on this specific point? Where can I track progress on this? Any ticket?

@bhack bhack deleted the tensorflow_addons branch November 26, 2020 12:29
@bhack
Copy link
Contributor Author

bhack commented Dec 15, 2020

@Chuxel gently ping

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants