mirror of
				https://github.com/ml-explore/mlx.git
				synced 2025-11-01 00:28:11 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			256 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			256 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| 
 | |
| ## Build
 | |
| 
 | |
| ```
 | |
| pip install -e .
 | |
| ```
 | |
| 
 | |
| For faster builds during development, you can also pre-install the requirements:
 | |
| 
 | |
| ```
 | |
| pip install -r requirements.txt
 | |
| ```
 | |
| 
 | |
| And then run:
 | |
| 
 | |
| ```
 | |
| python setup.py build_ext -j8 --inplace
 | |
| ```
 | |
| 
 | |
| ## Test
 | |
| 
 | |
| ```
 | |
| python test.py
 | |
| ```
 | 
