e2e: Check for GPU Driver/ML framework compatibilty - #11618
Conversation
|
👍 |
42e980e to
fac6cdb
Compare
|
👍 |
| f.It("Should run a PyTorch CUDA job on a gpu node [Zalando] [GPU]", f.WithSlow(), func(ctx context.Context) { | ||
| runGPUTest(ctx, f, cs, "gpu-test-", "pytorch/pytorch:2.12.1-cuda13.2-cudnn9-runtime", []string{"python", "-c", | ||
| "import torch; v=torch.version.cuda; assert torch.cuda.is_available(); " + | ||
| "assert tuple(map(int,v.split('.')))>=(13,2), f'CUDA {v} < 13.2'; " + |
There was a problem hiding this comment.
Does it make much sense to assert the version here? We control the version of the image ourselves in the function call. Also this increases maintenance overhead for the test-case, where we'll need to update this script every time we update the CUDA version.
I think we can drop the assert, and just keep the rest of the code. It should compile and run fine for us to be able to test properly for any version.
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
🤖 LLM Suggestions[High] Non-Zalando container registries used in production-facing testsTwo of the three new tests pull images from public Docker Hub registries:
Zalando policy requires images to come from Applied[High]
Terminated |
#11567 introduced an AMI with updated nvidia drivers
This adds GPU related e2e tests that verifies various GPU and ML framework support against the AMI/drivers. This way we can ensure to not break support over time or if we do we can do it consciously.