You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
verl does not yet support sequence parlallelism with the latest version of transformer > 0.48. The implementation is at verl/models/transformers/monkey_patch.py
The text was updated successfully, but these errors were encountered:
….48 (#357)
close#312
Add support for ulysses sp for transformers >= 0.48
I've tested transformers 0.45.0, 0.46.0, 0.47.0, 0.48.0 and 0.49.0,
using sp=2 with the following script in my local env
```bash
#!/bin/bash
set -ex
VERSIONS=("4.45.0" "4.46.0" "4.47.0" "4.48.0" "4.49.0")
for version in "${VERSIONS[@]}"; do
echo "Testing with Transformers version ${version}"
echo "----------------------------------------"
pip install "transformers==${version}"
PYTHONPATH=./ torchrun --nproc_per_node=2 tests/model/test_transformers_ulysses.py
echo "----------------------------------------"
echo "Completed testing for version ${version}"
echo ""
done
```
verl does not yet support sequence parlallelism with the latest version of transformer > 0.48. The implementation is at verl/models/transformers/monkey_patch.py
The text was updated successfully, but these errors were encountered: