Awni Hannun 
							
						 
					 
					
						
						
							
						
						4f72c66911 
					 
					
						
						
							
							improvements to scatter / gather ( #1541 )  
						
						 
						
						
						
						
					 
					
						2024-10-30 19:30:54 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Angelos Katharopoulos 
							
						 
					 
					
						
						
							
						
						c9b41d460f 
					 
					
						
						
							
							Working 64-bit scans ( #1506 )  
						
						 
						
						
						
						
					 
					
						2024-10-24 11:05:46 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						3f86399922 
					 
					
						
						
							
							Real and Imag ( #1490 )  
						
						 
						
						... 
						
						
						
						* real and imag
* fix
* fix 
						
						
					 
					
						2024-10-15 16:23:15 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						1fa0d20a30 
					 
					
						
						
							
							consistently handle all -inf in softmax ( #1470 )  
						
						 
						
						
						
						
					 
					
						2024-10-08 09:54:02 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Angelos Katharopoulos 
							
						 
					 
					
						
						
							
						
						9b12093739 
					 
					
						
						
							
							Add the roll op ( #1455 )  
						
						 
						
						
						
						
					 
					
						2024-10-07 17:21:42 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						1bdc038bf9 
					 
					
						
						
							
							fix argpartition + faster {arg} sorts / partitions ( #1453 )  
						
						 
						
						
						
						
					 
					
						2024-10-03 14:21:25 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						718aea3f1d 
					 
					
						
						
							
							allow take to work with integer index ( #1440 )  
						
						 
						
						
						
						
					 
					
						2024-09-26 15:58:03 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						195b429d99 
					 
					
						
						
							
							Put along axis + fixe for partition grad ( #1430 )  
						
						 
						
						... 
						
						
						
						* put along axis, fixes for partition grad
* zeros for arg reduce 
						
						
					 
					
						2024-09-23 10:03:38 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						d6492b0163 
					 
					
						
						
							
							fix clip ( #1415 )  
						
						 
						
						
						
						
					 
					
						2024-09-14 16:09:09 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						98b6ce3460 
					 
					
						
						
							
							Refactor reductions and fix scatter atomics for large sizes ( #1300 )  
						
						 
						
						... 
						
						
						
						Co-authored-by: Angelos Katharopoulos <a_katharopoulos@apple.com > 
						
						
					 
					
						2024-08-22 16:03:31 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alex Barron 
							
						 
					 
					
						
						
							
						
						99bb7d3a58 
					 
					
						
						
							
							GPU mx.sign for complex64 ( #1326 )  
						
						 
						
						
						
						
					 
					
						2024-08-14 07:54:53 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						eaaea02010 
					 
					
						
						
							
							Add isfinite ( #1318 )  
						
						 
						
						... 
						
						
						
						* isfinite
* remove reduce test since fix is not complete 
						
						
					 
					
						2024-08-13 14:49:28 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alex Barron 
							
						 
					 
					
						
						
							
						
						635ccd9e25 
					 
					
						
						
							
							Add "edge" mode to mx.pad ( #1309 )  
						
						 
						
						... 
						
						
						
						* Add edge padding mode
* fix pad in pooling
* string arg instead of enum 
						
						
					 
					
						2024-08-06 11:23:10 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Anton Belov 
							
						 
					 
					
						
						
							
						
						5029894662 
					 
					
						
						
							
							[Issue  #1187 ] Add nan_to_num function initial attempt ( #1247 )  
						
						 
						
						... 
						
						
						
						* initial attempt, working with wrong types
* not compiling; mx.float16 and mx.bfloat16 tests added
* fix nan to num
* nit
---------
Co-authored-by: Awni Hannun <awni@apple.com > 
						
						
					 
					
						2024-07-25 09:57:37 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jagrit Digani 
							
						 
					 
					
						
						
							
						
						7f914365fd 
					 
					
						
						
							
							Fix GPU sort for large arrays ( #1285 )  
						
						 
						
						... 
						
						
						
						* Fix GPU sort for large arrays 
						
						
					 
					
						2024-07-24 14:37:10 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alex Barron 
							
						 
					 
					
						
						
							
						
						c34a5ae7f7 
					 
					
						
						
							
							Fix bfloat16 Hadamard ( #1283 )  
						
						 
						
						... 
						
						
						
						* fix bfloat16 hadamard
* add scale
* review comments
---------
Co-authored-by: Alex Barron <abarron22@apple.com > 
						
						
					 
					
						2024-07-23 14:54:43 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						e2aa6ec8ae 
					 
					
						
						
							
							some fixes ( #1281 )  
						
						 
						
						
						
						
					 
					
						2024-07-23 11:49:05 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tim Gymnich 
							
						 
					 
					
						
						
							
						
						6307d166eb 
					 
					
						
						
							
							Fix overflow / underflow handling for expm1f ( #1278 )  
						
						 
						
						... 
						
						
						
						* Fix overflow / underflow handling for expm1f
* update tests 
						
						
					 
					
						2024-07-23 07:29:06 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alex Barron 
							
						 
					 
					
						
						
							
						
						a3c287354f 
					 
					
						
						
							
							Fast Hadamard Transform ( #1249 )  
						
						 
						
						... 
						
						
						
						* Working hadamard for powers of 2
* working for m*2^k
* add scale and check contiguity
* add size check
* clean up
* fix test
* add grads + vmap
* gpu only
* skip on linux
* test typo
* add cpu impl
* remove gpu only tests
* fix linux build + add is_equivalent 
						
						
					 
					
						2024-07-09 20:39:01 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alex Barron 
							
						 
					 
					
						
						
							
						
						bdb36c9a63 
					 
					
						
						
							
							add zero vjps for bitwise ops and gather w.r.t. index ( #1256 )  
						
						 
						
						
						
						
					 
					
						2024-07-07 21:34:59 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alex Barron 
							
						 
					 
					
						
						
							
						
						2615660e62 
					 
					
						
						
							
							Fix strided sort bug ( #1236 )  
						
						 
						
						... 
						
						
						
						* Use output strides in sort kernel
* fix zero strides bug 
						
						
					 
					
						2024-06-26 14:32:11 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						496315fe1d 
					 
					
						
						
							
							Fix scan ( #1188 )  
						
						 
						
						... 
						
						
						
						* fix scan
* improve grid size
* fix cpu cummax 
						
						
					 
					
						2024-06-05 14:21:58 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						83b11bc58d 
					 
					
						
						
							
							Fix Metal API validation for empty concat ( #1183 )  
						
						 
						
						
						
						
					 
					
						2024-06-04 13:17:08 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						ea9090bbc4 
					 
					
						
						
							
							Add view op ( #1179 )  
						
						 
						
						... 
						
						
						
						* add view primitive
* nit
* fix view 
						
						
					 
					
						2024-06-04 08:05:27 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jagrit Digani 
							
						 
					 
					
						
						
							
						
						76b6cece46 
					 
					
						
						
							
							Fix multi-block sort stride management ( #1169 )  
						
						 
						
						... 
						
						
						
						* Fix multi-block sort stride management
* Add seed to tests 
						
						
					 
					
						2024-05-31 11:10:54 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						a87ef5bfc1 
					 
					
						
						
							
							fix broadcast bug in bitwise ops ( #1157 )  
						
						 
						
						
						
						
					 
					
						2024-05-24 11:44:40 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Abe Leininger 
							
						 
					 
					
						
						
							
						
						79ef49b2c2 
					 
					
						
						
							
							add mx.trace ( #1143 ) ( #1147 )  
						
						 
						
						... 
						
						
						
						* working c++ trace implementation
* updated throw + added overloads
* added python binding for trace function
* pre-commit reformatting
* add trace to docs
* resolve comments
* remove to_stream call 
						
						
					 
					
						2024-05-22 15:50:27 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alex Barron 
							
						 
					 
					
						
						
							
						
						2e158cf6d0 
					 
					
						
						
							
							Add conjugate operator ( #1100 )  
						
						 
						
						... 
						
						
						
						* cpu and gpu impl
* add mx.conj and array.conj()
---------
Co-authored-by: Alex Barron <abarron22@apple.com > 
						
						
					 
					
						2024-05-10 07:22:20 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						b21242faf1 
					 
					
						
						
							
							Allow unary ops to accept array like ( #1093 )  
						
						 
						
						
						
						
					 
					
						2024-05-09 09:36:02 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rahul Yedida 
							
						 
					 
					
						
						
							
						
						cc05a281c4 
					 
					
						
						
							
							Added ArcTan2 operation ( #1079 )  
						
						 
						
						... 
						
						
						
						* Added ArcTan2 operation
* Cleanup, bug fixes from code review
* Minor cleanup, fixed Linux tests 
						
						
					 
					
						2024-05-08 08:35:15 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						86f495985b 
					 
					
						
						
							
							Add bitwise ops ( #1037 )  
						
						 
						
						... 
						
						
						
						* bitwise ops
* fix tests 
						
						
					 
					
						2024-04-26 22:03:42 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Aneesh Shetty 
							
						 
					 
					
						
						
							
						
						d0dbfe0b97 
					 
					
						
						
							
							Adds radians and degrees ( #1011 )  
						
						 
						
						
						
						
					 
					
						2024-04-22 11:17:49 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Abe Leininger 
							
						 
					 
					
						
						
							
						
						a1a31eed27 
					 
					
						
						
							
							Add mx.meshgrid ( #961 )  
						
						 
						
						
						
						
					 
					
						2024-04-09 11:43:08 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						42afe27e12 
					 
					
						
						
							
							std and expm1 ( #973 )  
						
						 
						
						... 
						
						
						
						* std and expm1
* actually add expm1
* fix linux
* fix vjp
* relax tol for linux test
* Add it to the compilable primitives
---------
Co-authored-by: Angelos Katharopoulos <a_katharopoulos@apple.com > 
						
						
					 
					
						2024-04-08 14:26:01 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						76e63212ff 
					 
					
						
						
							
							Enable bfloat scan ( #974 )  
						
						 
						
						... 
						
						
						
						* enable bfloat scan
* fix tests 
						
						
					 
					
						2024-04-08 12:29:19 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						e142aaf8a1 
					 
					
						
						
							
							Option for precise softmax ( #953 )  
						
						 
						
						... 
						
						
						
						* precise softmax
* Add an equivalency check
* Make the threadgroup memory definition fixed
* precise cpu softmax
* precise option on cpu
* remove print
---------
Co-authored-by: Angelos Katharopoulos <a_katharopoulos@apple.com > 
						
						
					 
					
						2024-04-04 08:32:35 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Cheng 
							
						 
					 
					
						
						
							
						
						f30b659291 
					 
					
						
						
							
							Make MLX build on x64 macOS ( #901 )  
						
						 
						
						... 
						
						
						
						The arm64 macbook pros are heavy and I usually care my intel one for
mobile, it would be nice if I can play with MLX on it.
To build with x64, user must pass `MLX_ENABLE_X64_MAC` to cmake:
CMAKE_ARGS='-DMLX_ENABLE_X64_MAC=ON' python setup.py 
						
						
					 
					
						2024-03-27 06:14:29 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jagrit Digani 
							
						 
					 
					
						
						
							
						
						925014b661 
					 
					
						
						
							
							Fix multiblock sort limits ( #906 )  
						
						 
						
						... 
						
						
						
						* Fix multiblock sort limits
* Fix metal validation error 
						
						
					 
					
						2024-03-26 14:00:00 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Strobusch 
							
						 
					 
					
						
						
							
						
						479051ce1c 
					 
					
						
						
							
							add numeric type hierarchy and issubdtype as well as a set_dtype meth… ( #427 )  
						
						 
						
						... 
						
						
						
						* add numeric type hierarchy and issubdtype as well as a set_dtype method to nn.Module with predicate
numeric type hierarchy and issubtype is compatible to the [numpy hierarchy](220f0ab2c5/numpy/_core/numerictypes.py (L42) ).
Closes  #285 .
* nits in docs
* unify type category checking
* nits in docs
* nits in docs
* more docs nits
* fix callable type
---------
Co-authored-by: Awni Hannun <awni@apple.com > 
						
						
					 
					
						2024-03-25 12:32:59 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jagrit Digani 
							
						 
					 
					
						
						
							
						
						b219d12a6b 
					 
					
						
						
							
							Check edge case handling in row reduce med kernel ( #858 )  
						
						 
						
						
						
						
					 
					
						2024-03-20 11:37:58 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Deschenaux 
							
						 
					 
					
						
						
							
						
						8e5600022a 
					 
					
						
						
							
							Implement RNN, GRU, LSTM ( #268 )  
						
						 
						
						... 
						
						
						
						* RNN base implementation
* Address comments+format
* nits in docs
* add tests for prb
* fix test
* add a couple tests
---------
Co-authored-by: Awni Hannun <awni@apple.com > 
						
						
					 
					
						2024-03-11 21:14:44 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Angelos Katharopoulos 
							
						 
					 
					
						
						
							
						
						8e281c76c3 
					 
					
						
						
							
							Fix the top-k op ( #768 )  
						
						 
						
						
						
						
					 
					
						2024-03-01 22:08:43 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hinrik Snær Guðmundsson 
							
						 
					 
					
						
						
							
						
						08226ab491 
					 
					
						
						
							
							added atleast *args input support ( #710 )  
						
						 
						
						... 
						
						
						
						* added atleast list(array) input support
* function overloading implemented
* Refactoring
* fixed formatting
* removed pos_only 
						
						
					 
					
						2024-02-26 11:17:59 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Noah Farr 
							
						 
					 
					
						
						
							
						
						d729a1991b 
					 
					
						
						
							
							Fix arange with inf step ( #686 )  
						
						 
						
						... 
						
						
						
						* Fix case for step=inf in arange and add inf check for start/stop
* Add test cases for arange
* Update ops.cpp to include climits header
* Fix arange
* Fix formatting
* Refactor
* Add missing include 
						
						
					 
					
						2024-02-23 06:18:15 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hinrik Snær Guðmundsson 
							
						 
					 
					
						
						
							
						
						f883fcede0 
					 
					
						
						
							
							Added support for atleast_1d, atleast_2d, atleast_3d ( #694 )  
						
						 
						
						
						
						
					 
					
						2024-02-19 09:40:52 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								toji 
							
						 
					 
					
						
						
							
						
						85143fecdd 
					 
					
						
						
							
							improved error msg for invalid axis(mx.split) ( #685 )  
						
						 
						
						... 
						
						
						
						* improved error msg for invalid axis(`mx.split`)
* Apply suggestions from code review
Co-authored-by: Awni Hannun <awni.hannun@gmail.com >
* fixed formatting issue
---------
Co-authored-by: Awni Hannun <awni.hannun@gmail.com > 
						
						
					 
					
						2024-02-15 07:25:38 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Noah Farr 
							
						 
					 
					
						
						
							
						
						0c65517e91 
					 
					
						
						
							
							Return empty array when repeats is 0 in mx.repeat ( #681 )  
						
						 
						
						... 
						
						
						
						* Return empty array when repeats is 0
* Add test case for repeats = 0 
						
						
					 
					
						2024-02-13 17:49:31 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nripesh Niketan 
							
						 
					 
					
						
						
							
						
						0dbc4c7547 
					 
					
						
						
							
							feat: Update pre-commit-config.yaml ( #667 )  
						
						 
						
						
						
						
					 
					
						2024-02-11 06:08:20 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						b96be943dc 
					 
					
						
						
							
							bug fix ( #658 )  
						
						 
						
						
						
						
					 
					
						2024-02-09 16:50:45 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Abdussamet Türker 
							
						 
					 
					
						
						
							
						
						b670485185 
					 
					
						
						
							
							Remainder negative numerator bug fixed ( #641 )  
						
						 
						
						... 
						
						
						
						Co-authored-by: Angelos Katharopoulos <a_katharopoulos@apple.com > 
						
						
					 
					
						2024-02-09 16:49:14 -08:00