NVIDIA / TransformerEngine

A library for accelerating Transformer models on NVIDIA GPUs, including using 8-bit floating point (FP8) precision on Hopper and Ada GPUs, to provide better performance with lower memory utilization in both training and inference.
https://docs.nvidia.com/deeplearning/transformer-engine/user-guide/index.html
Apache License 2.0
1.85k stars 309 forks source link

[PyTorch] Disable THD tests on architectures lower than sm90 #973

Closed cyanguwa closed 3 months ago

cyanguwa commented 3 months ago

Description

This PR disables CP tests for THD format for architectures lower than sm90. In the future, we will add a utility function so users can check this before running any tests.

Type of change

Changes

Please list the changes introduced in this PR:

Checklist:

cyanguwa commented 3 months ago

/te-ci pytorch