huggingface/ratchet

Operation testing suite

开放

#235 创建于 2024年7月5日

 (4 条评论) (1 个反应) (0 位负责人)Rust (44 个派生)auto 404
help wanted

仓库指标

星标
 (768 个星标)
PR 合并指标
 (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.

贡献者指南