huggingface/ratchet

Operation testing suite

開放

#235 建立於 2024年7月5日

 (4 則留言) (1 個反應) (0 位負責人)Rust (44 個分叉)auto 404
help wanted

倉庫指標

星標
 (768 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

As more and more browsers ship WebGPU, there may be minor discrepancies between implementations. This may cause us significant delays and issues if not addressed.

So, what we need is a test suite like no other. It must fuzz all functionality in all possible deployment settings.

Browser: Chrome, Safari, Firefox, OS: Windows, Macos, Linux

This gives us 7 combinations we need to fuzz all functionality on.

We do not currently do operation tests in the browser because they rely on pytorch for ground truth - this must be resolved by using pre-generated ground truth data (or some other great idea).

This will be done in conjunction with our property based testing, which runs locally and is ground truthed against pytorch.

貢獻者指南