凤
weixin_44093752/Addaoud_DeepPlant-GEP_Ascend_NPU
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

Addaoud/DeepPlant-GEP Ascend NPU adaptation

This delivery keeps the official DeepPlant GEP checkpoint and runs the official network on Ascend910 npu:0. The input is a 2500bp DNA sequence in one-hot format with shape [batch, 4, 2500]; the GEP head returns 2935 features.

Official source

  • Hugging Face model: https://huggingface.co/Addaoud/DeepPlant-GEP
  • Revision: 57d02f6e9bfee46c98c8a0cbc1b835095898a3b6
  • Official implementation: https://github.com/Addaoud/DeepPlant/tree/bbdd95dec527f1f54b101d940a758a3da3aaf0c8
  • Checkpoint: model.safetensors, 995,600,180 bytes
  • SHA-256: 75456915b0b6d09b444b43ab1ef803a0b129a9a1938d9d92ccaae4d7592def90

The official_src/ directory is a pinned copy of the official DeepPlant modules used by inference.py. The HF checkpoint's historical key layout is mapped to the current official module layout before a strict load.

NPU smoke result

The checkpoint loaded strictly with 143 state keys and zero missing or unexpected keys. The model has 248,667,511 parameters. On a real Ascend910 npu:0, the delivery input [1, 4, 2500] produced a finite float32 output [2935] in about 0.829 seconds. This is an NPU smoke gate only; full plant-genomics accuracy was not evaluated.

Run

Prepare config.json and model.safetensors from the pinned Hugging Face revision in one directory, then run:

python inference.py --model-path ./weights --device npu --device-index 0 --output-dir ./validation/run

The checkpoint is intentionally excluded from Git. Dependencies are listed in requirements.txt.

Evidence

Agent workflow

NPU device call

Model result