YUNTA88 commited on
Commit
73eeb2e
·
verified ·
1 Parent(s): 0bcf150

Upload root_scripts/check_verl.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. root_scripts/check_verl.py +24 -0
root_scripts/check_verl.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ import sys
3
+ print("Python:", sys.version.split()[0])
4
+
5
+ try:
6
+ import verl
7
+ print(f"veRL: {verl.__version__}")
8
+ except Exception as e:
9
+ print(f"veRL: ERROR - {e}")
10
+
11
+ try:
12
+ import vllm
13
+ print(f"vLLM: {vllm.__version__}")
14
+ except Exception as e:
15
+ print(f"vLLM: ERROR - {e}")
16
+
17
+ try:
18
+ from verl.models.registry import check_model_support_rmpad
19
+ check_model_support_rmpad("qwen2_5_vl")
20
+ print("qwen2_5_vl: SUPPORTED!")
21
+ except ValueError as e:
22
+ print(f"qwen2_5_vl: NOT supported - {e}")
23
+ except Exception as e:
24
+ print(f"registry: ERROR - {e}")