Skip to content

[BUG]: Test: The generated ptx will not be loadable by the current driver. #1851

@mdboom

Description

@mdboom

Is this a duplicate?

Type of Bug

Runtime Error

Component

cuda.core

Describe the bug

Occasionally in testing the following error is displayed:

RuntimeWarning: The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.

This can come from the cuda_core/examples/jit_lto_fractal.py test in the "Test win-64 / py3.11, 13.2.0, wheels, rtx4090 (WDDM)" configuration.

Full log

How to Reproduce

Happens occasionally in CI.

I think the root cause is that the CI runner is in an incorrect state -- perhaps there is a race condition between installing the driver and the runtime that we could fix by determining the version once and installing the same version of both.

I think it is better to fix that root cause than to make the test skippable.

Expected behavior

All tests should pass.

Operating System

No response

nvidia-smi output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions