Skip to content

Commit 5e961d4

Browse files
committed
Disable test on wgpu linux CI
1 parent 6b97991 commit 5e961d4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/transformers/clip.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,12 @@ mod tests {
360360

361361
#[test]
362362
fn test_init_text_embeddings() {
363+
// This test is known to fail on WGPU using mesa on a Linux Github CI.
364+
#[cfg(all(feature = "std", target_os = "linux", feature = "wgpu"))]
365+
if std::env::var("CI").is_ok() {
366+
return;
367+
}
368+
363369
let device = Default::default();
364370
let clip_config = ClipConfig::v1_5();
365371
let text_embeddings: ClipTextEmbeddings<TestBackend> =

0 commit comments

Comments
 (0)