Skip to content

Use nvidia deb files that we control - #5967

Merged
GMNGeoffrey merged 2 commits into
iree-org:mainfrom
GMNGeoffrey:nvidia-deb
May 21, 2021
Merged

GMNGeoffrey merged 2 commits into
iree-org:mainfrom
GMNGeoffrey:nvidia-deb

Conversation

@GMNGeoffrey

@GMNGeoffrey GMNGeoffrey commented May 20, 2021 •

Copy link
Copy Markdown
Member

We have had repeated issues where we cannot update our docker images
because the version we're using has disappeared from the apt
repository. We pin to a specific version because it has to match
exactly with the version on the underlying VM. For similar reasons,
updating the version is extremely painful.

So instead, let's fetch the deb from somewhere we know isn't going
away. If someone wants to experiment with an official stable source for
these that would be most welcome, but this was something I had high
confidence would work, and currently the inability to update these
images is blocking us updating basically any image.

I obtained these debs by running our current docker image and using
dpkg-repack to recreate the debs.

This should unblock further work on our docker images.

@google-cla google-cla Bot added the cla: yes label May 20, 2021
@GMNGeoffrey
GMNGeoffrey requested a review from antiagainst May 21, 2021 00:17
@GMNGeoffrey

Copy link
Copy Markdown
Member Author

I've triggered both turing builds, but they're taking a bit to find a machine with a GPU. One of them already passed on a previous commit: https://source.cloud.google.com/results/invocations/a2951e6e-8a28-438c-8e9c-ac81851026e9

@GMNGeoffrey
GMNGeoffrey marked this pull request as ready for review May 21, 2021 05:49
@GMNGeoffrey
GMNGeoffrey enabled auto-merge (squash) May 21, 2021 05:50

@antiagainst antiagainst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @GMNGeoffrey for fixing this! My only concern is that this actually makes updating the GPU driver to pick up features/bugfixes harder. :) But not gonna block this on that. We can see how things go later.

@GMNGeoffrey
GMNGeoffrey merged commit 995fdc9 into iree-org:main May 21, 2021
@GMNGeoffrey
GMNGeoffrey deleted the nvidia-deb branch May 21, 2021 15:35
@GMNGeoffrey

Copy link
Copy Markdown
Member Author

Yeah I agree it's not ideal. Then again updating the GPU driver is already a giant PITA and I think saving the deb file is not a super onerous extra step comparatively.

@hanhanW hanhanW mentioned this pull request May 21, 2021
hanhanW pushed a commit to hanhanW/iree that referenced this pull request May 21, 2021
We have had repeated issues where we cannot update our docker images
because the version we're using has disappeared from the apt
repository. We pin to a specific version because it has to match
*exactly* with the version on the underlying VM. For similar reasons,
updating the version is extremely painful.

So instead, let's fetch the deb from somewhere we know isn't going
away. If someone wants to experiment with an official stable source for
these that would be most welcome, but this was something I had high
confidence would work, and currently the inability to update these
images is blocking us updating basically *any* image.

I obtained these debs by running our current docker image and using
`dpkg-repack` to recreate the debs.

This should unblock further work on our docker images.
hanhanW pushed a commit to hanhanW/iree that referenced this pull request May 21, 2021
We have had repeated issues where we cannot update our docker images
because the version we're using has disappeared from the apt
repository. We pin to a specific version because it has to match
*exactly* with the version on the underlying VM. For similar reasons,
updating the version is extremely painful.

So instead, let's fetch the deb from somewhere we know isn't going
away. If someone wants to experiment with an official stable source for
these that would be most welcome, but this was something I had high
confidence would work, and currently the inability to update these
images is blocking us updating basically *any* image.

I obtained these debs by running our current docker image and using
`dpkg-repack` to recreate the debs.

This should unblock further work on our docker images.
This was referenced May 21, 2021
copybara-service Bot pushed a commit that referenced this pull request May 21, 2021
* 50f3b8f Fix ordering of inlined operations to ignore ops that are not inlined. (#5979)
* 4287062 Integrate MLIR-EmitC at iml130/mlir-emitc@648145e5 (#5977)
* 995fdc9 Use nvidia deb files that we control (#5967)
* 73a3058 Fix leaks from not freeing status in tests (#5973)
* 114e200 Fix vulkan dynamic library name for MacOS (#5974)
* 74be687 [Cleanup] Refactor BUILD file. (#5972)
* 82afa23 [CUDA-Codegen] Add support for constant tensor (#5966)
* 5c5b549 Update workflows to use new token (#5968)
* b154cd9 Fix tracking of result buffer to use if the buffer eventually maps to low disp..
* c74cb11 Merge google -> main (#5965)

COPYBARA_INTEGRATE_REVIEW=#5985 from hanhanW:main-to-google ce6f1e7
PiperOrigin-RevId: 375167936
iree-github-actions-bot pushed a commit that referenced this pull request May 21, 2021
* 50f3b8f Fix ordering of inlined operations to ignore ops that are not inlined. (#5979)
* 4287062 Integrate MLIR-EmitC at iml130/mlir-emitc@648145e5 (#5977)
* 995fdc9 Use nvidia deb files that we control (#5967)
* 73a3058 Fix leaks from not freeing status in tests (#5973)
* 114e200 Fix vulkan dynamic library name for MacOS (#5974)
* 74be687 [Cleanup] Refactor BUILD file. (#5972)
* 82afa23 [CUDA-Codegen] Add support for constant tensor (#5966)
* 5c5b549 Update workflows to use new token (#5968)
* b154cd9 Fix tracking of result buffer to use if the buffer eventually maps to low disp..
* c74cb11 Merge google -> main (#5965)

PiperOrigin-RevId: 375167936
@GMNGeoffrey GMNGeoffrey added the infrastructure Relating to build systems, CI, or testing label Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Relating to build systems, CI, or testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants