Amazon-Ergo-NVFP4 / patch /README.md
hancheolp's picture
Upload folder using huggingface_hub
751b5ac verified
|
Raw History Blame Contribute Delete
849 Bytes

Ergo vLLM patch

Patch for the vLLM in the official Ergo image vllm/vllm-openai:amazon-fmr-ergo (vLLM 0.1.dev26190+g7fd7b0f93.d20261201).

python apply_patch.py --dry-run     # print the diff only
python apply_patch.py               # apply all steps (backup: vllm/.nota_patch_backup/)
python apply_patch.py --revert      # restore the original files
python apply_patch.py --vllm-dir /path/to/site-packages/vllm   # target another vLLM install

Run it with the Python of the environment that has vLLM. A different vLLM version is refused unless --force is given.

Steps (steps/, applied in order)

Step Change
ergo_nvfp4 Loading of ModelOpt NVFP4 checkpoints and NVFP4 experts on the FusedMoE path (--moe-backend flashinfer_trtllm), including Ergo's ReLU² activation and per-expert output RMSNorm