torch-tpu-model-support
收藏资源简介:
该数据集记录了 HuggingFace 模型在 Google Cloud TPU 上使用 torch_tpu 进行 sweep 测试的结果。每个样本代表一个模型在一次 sweep 中的测试情况,测试过程为:加载模型,使用固定 prompt “The future of AI is”,以 bf16 精度生成 8 个 token。结果状态分为 PASS(成功)、FAIL(load)(加载异常)、FAIL(gen)(生成异常)、FAIL(other)(其他错误)。数据字段包括 tokens_in(输入 token 数量,经过聊天模板处理后的指令模型)和 tokens_out(生成 token 数量,超出输入部分),这两个字段在早期 sweep 中可能为 null。数据集包含两个配置:results(结果数据)和 excluded(被排除的数据)。数据以 Parquet 格式存储。该数据集可用于评估 HuggingFace 模型在 TPU 上的兼容性和生成性能,支持失败模式分析、模型兼容性测试等任务。
This dataset records the results of sweep tests on HuggingFace models using torch_tpu on Google Cloud TPU. Each sample represents a test case of a model in one sweep. The test process: load the model, use a fixed prompt "The future of AI is", generate 8 tokens with bf16 precision. The result status includes PASS, FAIL(load), FAIL(gen), and FAIL(other). Data fields include tokens_in (number of input tokens after chat template processing for instruction models) and tokens_out (number of generated tokens beyond the input), which may be null in early sweeps. The dataset has two configurations: results and excluded. Data is stored in Parquet format. This dataset can be used to evaluate the compatibility and generation performance of HuggingFace models on TPU, supporting failure mode analysis, model compatibility testing, etc.
torch-tpu-model-support 数据集概述
数据集简介
该数据集记录了 HuggingFace 模型在 Google Cloud TPU 上使用 torch_tpu 框架进行支持性扫描(sweep)的测试结果,每个数据行代表一个模型在一次扫描中的测试情况。
数据配置
数据集包含两个配置(config):
- results:存放于
data/results/**/*.parquet路径下,为主要测试结果数据。 - excluded:存放于
data/excluded/**/*.parquet路径下,为被排除的扫描数据。
测试方法
- 每个扫描任务会加载对应模型,并使用固定提示词
"The future of AI is"生成 8 个 token。 - 所有测试均在 bf16 精度下进行。
结果值含义
扫描结果分为四类:
- PASS:模型成功加载并完成文本生成。
- FAIL(load):模型加载阶段发生异常。
- FAIL(gen):模型加载成功,但生成阶段抛出异常。
- FAIL(other):其他未分类失败(如渲染错误、内存溢出等)。
Token 计数字段
- tokens_in:输入时提交的 token 数量(指令微调模型会考虑聊天模板处理后的数量)。
- tokens_out:超出输入部分生成的 token 数量。
- 若扫描早于 token 计数功能上线,则这两个字段均为
null。
相关资源链接
- 源代码仓库:https://github.com/huggingface/tpu-test
- 原始日志存储桶:
hf://buckets/{user}/torch-tpu-transformers/





