Add machine-readable list of PyTorch GPU tests.

Used internally for benchmarking.

PiperOrigin-RevId: 709153019
This commit is contained in:
Etienne Perot
2024-12-23 14:35:27 -08:00
committed by gVisor bot
parent 1a9f8b17ed
commit 0a9b7a7b21
+9
View File
@@ -144,6 +144,15 @@ var (
test: eval,
},
}
// AllTests is a map of test names to the tests.
AllTests = map[string][]pytorchTest{
"FastNLPBert": FastNLPBert,
"BigBird": BigBird,
"SpeechTransformer": SpeechTransformer,
"LearningToPaint": LearningToPaint,
"MobileNetV2": MobileNetV2,
}
)
// Name returns the name of the test with the argument parameters included. It is formatted so