mirror of
				https://github.com/hiyouga/LLaMA-Factory.git
				synced 2025-11-04 18:02:19 +08:00 
			
		
		
		
	
							parent
							
								
									4d3ffa2ec4
								
							
						
					
					
						commit
						6c3cd400b5
					
				@ -152,6 +152,8 @@ def setup_fs(path, anon=False):
 | 
			
		||||
        fs = fsspec.filesystem("gcs", **storage_options)
 | 
			
		||||
    else:
 | 
			
		||||
        raise ValueError(f"Unsupported protocol in path: {path}. Use 's3://' or 'gs://'")
 | 
			
		||||
    if not fs.exists(path):
 | 
			
		||||
        raise ValueError(f"Path does not exist: {path}")
 | 
			
		||||
    return fs
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user