g
gcw_StsIRaj1/WhereIsAI-UAE-Large-V1-Ascend-NPU
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

WhereIsAI/UAE-Large-V1:昇腾 NPU 全模型嵌入推理

本项目对应官方模型池 Phase 4 / Row 18(记录 recvsfrbvPmIc3)。使用官方 LFS 权重 model.safetensors(1,340,612,432 bytes,SHA-256 8ac0e0e2eb9f5371c528f5269876e33b298790699ddf3b824efeef9ded542e24),在官方 Model Agent 的 Ascend NPU 上通过 AutoModel 完整加载并执行文本嵌入前向。

严格验证

  • 模型、输入、输出均为 npu:0,不允许 CPU fallback。
  • 完整状态字典审计:missing / unexpected / mismatched / error 均为空。
  • 完整模型输出:last_hidden_state shape [1, 15, 1024]。
  • 机器可读事实源:evidence/result.json;三张官方终端截图在 assets/。

运行

python3 inference.py --model-dir /path/to/UAE-Large-V1 --output-dir outputs
cat outputs/result.json

缺少 Ascend NPU 或 torch_npu 时脚本会失败,不会退回 CPU。本仓只声明官方权重的全模型 NPU 嵌入前向,不声明训练、微调、精度评测或生产准入。