mirror of
				https://github.com/hiyouga/LLaMA-Factory.git
				synced 2025-11-04 18:02:19 +08:00 
			
		
		
		
	Merge pull request #6564 from stephen-nju/fix_ray
Fix ray Former-commit-id: d4566839369726023f1b6e8f4b2332bda0c715cc
This commit is contained in:
		
						commit
						4e25d037c8
					
				@ -75,7 +75,7 @@ def _parse_args(
 | 
			
		||||
 | 
			
		||||
    (*parsed_args, unknown_args) = parser.parse_args_into_dataclasses(args=args, return_remaining_strings=True)
 | 
			
		||||
 | 
			
		||||
    if unknown_args:
 | 
			
		||||
    if unknown_args and not allow_extra_keys:
 | 
			
		||||
        print(parser.format_help())
 | 
			
		||||
        print(f"Got unknown args, potentially deprecated arguments: {unknown_args}")
 | 
			
		||||
        raise ValueError(f"Some specified arguments are not used by the HfArgumentParser: {unknown_args}")
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user