7 Commits

Author SHA1 Message Date
Etienne Perot e13cf36ad7 Update all GPU tests to use the ioctl sniffer.
Fixes issue #10885.

PiperOrigin-RevId: 688728104
2024-10-22 16:21:47 -07:00
Etienne Perot 0fcb9b7f2e Disable GPU sniffer on all non-smoke GPU tests.
The presubmit pipeline does not exercise these, so commit
a689c11a76 broke them.

This change disables the sniffer on all the non-smoke tests to unbreak
the release pipeline. I will then send another change to re-enable them
on tests where the sniffer works fine after manual testing.

Updates #10885

PiperOrigin-RevId: 673555026
2024-09-11 15:17:58 -07:00
Etienne Perot a689c11a76 Integrate GPU ioctl sniffer in GPU tests.
This wraps all GPU tests' command line with the nvproxy ioctl sniffer.

This has multiple functions:

- Verifying that the application does not call ioctls unsupported by
  nvproxy. This is controlled by a `AllowIncompatibleIoctl` option, which
  is initially set to `true` in all tests to mirror current behavior, but
  should be flipped as we verify that they do not call unsupported ioctls.
- Verifying that the sniffer itself works transparently for a wide range
  of applications.
- Later down the line, enforcing that the application only calls ioctls
  that are part of GPU capabilities that it has a need for. This is
  controlled by a capability string which is currently only used to set
  the `NVIDIA_DRIVER_CAPABILITIES` environment variable.

Updates issue #10856

PiperOrigin-RevId: 672714520
2024-09-09 16:34:19 -07:00
Etienne Perot 883c9e9b46 Add duration metrics to Stable Diffusion XL library.
PiperOrigin-RevId: 619375261
2024-03-26 18:40:16 -07:00
Etienne Perot 687c542721 Automated rollback of changelist 614026488
PiperOrigin-RevId: 617336302
2024-03-19 16:59:25 -07:00
Etienne Perot 558a78de55 Automated rollback of changelist 614015218
PiperOrigin-RevId: 614026488
2024-03-08 13:22:10 -08:00
Etienne Perot 5f6dade838 Create Stable Diffusion XL Docker image and regression test.
PiperOrigin-RevId: 614015218
2024-03-08 12:40:36 -08:00