← Về thư mục
📄 / / profiles / r-and-d / raw_evidence / DualStake / verl / models / README.md

Models

Common modelzoo such as huggingface/transformers stuggles when using Pytorch native model parallelism. Following the design principle of vLLM, we keep a simple, parallelizable, highly-optimized with packed inputs in verl.

Adding a New Huggingface Model

Step 1: Copy the model file from HF to verl

Step 2: Modify the model file to use packed inputs

Step 2.5: Add tests

Step 3: Add a function to apply tensor parallelism

Step 4: Add a function to apply data parallelism

Step 5: Add a function to apply pipeline parallelism