Awni Hannun 
							
						 
					 
					
						
						
							
						
						e7c6e1db82 
					 
					
						
						
							
							no segfault with uninitialized array.at ( #2514 )  
						
						 
						
						
						
						
					 
					
						2025-08-18 08:33:38 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						c552ff2451 
					 
					
						
						
							
							[CUDA] Fix back-end bugs and enable corresponding tests ( #2296 )  
						
						 
						
						... 
						
						
						
						* Fix some cuda back-end bugs and enable corresponding tests
* more fixes
* enable more tests
* format 
						
						
					 
					
						2025-06-16 08:45:40 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						4fda5fbdf9 
					 
					
						
						
							
							add python testing for cuda with ability to skip list of tests ( #2295 )  
						
						 
						
						
						
						
					 
					
						2025-06-15 10:56:48 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						c35f4d089a 
					 
					
						
						
							
							start cuda circle config ( #2256 )  
						
						 
						
						... 
						
						
						
						* rebase
* fix metal kernel linking issue on cuda
* start cuda circle config 
						
						
					 
					
						2025-06-10 21:19:47 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						a2cadb8218 
					 
					
						
						
							
							real and imag properties ( #2189 )  
						
						 
						
						
						
						
					 
					
						2025-05-15 18:17:50 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						fbc89e3ced 
					 
					
						
						
							
							fix pinv ( #2110 )  
						
						 
						
						
						
						
					 
					
						2025-04-23 13:08:28 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yury Popov 
							
						 
					 
					
						
						
							
						
						e9e268336b 
					 
					
						
						
							
							LogCumSumExp ( #2069 )  
						
						 
						
						
						
						
					 
					
						2025-04-13 01:27:29 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						5580b47291 
					 
					
						
						
							
							iinfo and scalar overflow detection ( #2009 )  
						
						 
						
						
						
						
					 
					
						2025-03-27 19:54:56 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						2a980a76ce 
					 
					
						
						
							
							Add stats and limit to common allocator and enable tests ( #1988 )  
						
						 
						
						... 
						
						
						
						* add stats to common allocator and enable tests
* linux memory and default
* fix 
						
						
					 
					
						2025-03-21 12:28:36 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						4e1994e9d7 
					 
					
						
						
							
							move memory APIs into top level mlx.core ( #1982 )  
						
						 
						
						
						
						
					 
					
						2025-03-21 07:25:12 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alex Barron 
							
						 
					 
					
						
						
							
						
						4c1dfa58b7 
					 
					
						
						
							
							xor op on arrays ( #1875 )  
						
						 
						
						
						
						
					 
					
						2025-02-17 00:24:53 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alex Barron 
							
						 
					 
					
						
						
							
						
						55c5ac7820 
					 
					
						
						
							
							fix int64 bug ( #1860 )  
						
						 
						
						
						
						
					 
					
						2025-02-12 19:23:46 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						516ded618b 
					 
					
						
						
							
							Dynamic slicing ( #1741 )  
						
						 
						
						... 
						
						
						
						* dynamic slice and slice update
* python bindings + tests + fix set item
* fix compile issue
* comment
* fix jit 
						
						
					 
					
						2025-01-07 14:02:16 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						c3628eea49 
					 
					
						
						
							
							Add mx.finfo and use it when making causal mask ( #1726 )  
						
						 
						
						... 
						
						
						
						* finfo
* fixes
* docs 
						
						
					 
					
						2024-12-19 14:52:41 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Cheng 
							
						 
					 
					
						
						
							
						
						dfccd17ab9 
					 
					
						
						
							
							Use psutil to get memory info on Windows ( #1700 )  
						
						 
						
						
						
						
					 
					
						2024-12-13 19:50:13 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						bc2a29f033 
					 
					
						
						
							
							fix ( #1654 )  
						
						 
						
						
						
						
					 
					
						2024-12-06 10:48:58 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						bf481e8e5d 
					 
					
						
						
							
							Fix sibling leak ( #1590 )  
						
						 
						
						... 
						
						
						
						* add test
* fix + test
* fix fix 
						
						
					 
					
						2024-11-18 19:17:01 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						57c6aa7188 
					 
					
						
						
							
							fix multi output leak ( #1548 )  
						
						 
						
						
						
						
					 
					
						2024-10-31 09:32:01 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						d2ff04a4f2 
					 
					
						
						
							
							fix format ( #1539 )  
						
						 
						
						
						
						
					 
					
						2024-10-28 18:29:14 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alex Barron 
							
						 
					 
					
						
						
							
						
						3d17077187 
					 
					
						
						
							
							Add mx.array.__format__ ( #1521 )  
						
						 
						
						... 
						
						
						
						* add __format__
* actually test something
* fix 
						
						
					 
					
						2024-10-24 11:11:39 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						f374b6ca4d 
					 
					
						
						
							
							Bump nanobind to 2.2 ( #1461 )  
						
						 
						
						... 
						
						
						
						* bump nanobind
* extension version for tests 
						
						
					 
					
						2024-10-07 16:52:40 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						0070e1db40 
					 
					
						
						
							
							Fix deep recursion with siblings ( #1462 )  
						
						 
						
						... 
						
						
						
						* fix recursion with siblings
* fix
* add test
* increase tol 
						
						
					 
					
						2024-10-07 06:15:33 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Bhargav Yagnik 
							
						 
					 
					
						
						
							
						
						11371fe251 
					 
					
						
						
							
							Test to prevent bugs like  #1386  ( #1391 )  
						
						 
						
						... 
						
						
						
						* updated test_array for missing ops
* formatting changes 
						
						
					 
					
						2024-09-04 17:24:30 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alex Barron 
							
						 
					 
					
						
						
							
						
						d1183821a7 
					 
					
						
						
							
							int() and float() for mx.array ( #1360 )  
						
						 
						
						
						
						
					 
					
						2024-08-25 20:41:44 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						7b456fd2c0 
					 
					
						
						
							
							Array api ( #1289 )  
						
						 
						
						... 
						
						
						
						* some updates for numpy 2.0 and array api
* some updates for numpy 2.0 and array api
* fix array api doc 
						
						
					 
					
						2024-07-26 10:40:49 -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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								K Venkat Ramnan 
							
						 
					 
					
						
						
							
						
						ab977109db 
					 
					
						
						
							
							feat: Added dlpack device ( #1165 )  
						
						 
						
						... 
						
						
						
						* feat: Added dlpack device
* feat: Added device_id to dlpack device
* feat: Added device_id to dlpack device
* doc: updated conversion docs
* doc: updated numpy.rst dlpack information
* doc: updated numpy.rst dlpack information
* Update docs/src/usage/numpy.rst
* Update docs/src/usage/numpy.rst
---------
Co-authored-by: Venkat Ramnan Kalyanakumar <venkatramnankalyanakumar@Venkats-MacBook-Air.local >
Co-authored-by: Awni Hannun <awni.hannun@gmail.com > 
						
						
					 
					
						2024-05-31 12:29:01 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						eb8321d863 
					 
					
						
						
							
							list based indexing ( #1150 )  
						
						 
						
						
						
						
					 
					
						2024-05-22 15:52:05 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						fb71a82ada 
					 
					
						
						
							
							Fix copy bug with many dims ( #1137 )  
						
						 
						
						
						
						
					 
					
						2024-05-17 21:10:03 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						81dd33af66 
					 
					
						
						
							
							allow conversion to dlpack ( #1120 )  
						
						 
						
						
						
						
					 
					
						2024-05-16 16:11:37 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						631dfbe673 
					 
					
						
						
							
							fix scatter index bug ( #1122 )  
						
						 
						
						
						
						
					 
					
						2024-05-14 15:04:58 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						9814a2ae12 
					 
					
						
						
							
							fix conversion to array ( #1070 )  
						
						 
						
						
						
						
					 
					
						2024-05-06 16:02:49 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						7f7b9662ea 
					 
					
						
						
							
							Fix leak for multi-output primitives which are never detached ( #1059 )  
						
						 
						
						... 
						
						
						
						* fix multi output leak
* ignore arrays that will be detached
* add some comments
* stray print 
						
						
					 
					
						2024-05-01 07:31:45 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						09f1777896 
					 
					
						
						
							
							fix slice update indexing ( #1053 )  
						
						 
						
						
						
						
					 
					
						2024-04-29 12:17:40 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jacket 
							
						 
					 
					
						
						
							
						
						490c0c4fdc 
					 
					
						
						
							
							[Fix] expand axes for dimension with integer indices in mlx_slice_update ( #1035 )  
						
						 
						
						... 
						
						
						
						* Not sure if this is correct
* Format
* Edit tests
* Add negative test
* Format
* add one more test
---------
Co-authored-by: Awni Hannun <awni@apple.com > 
						
						
					 
					
						2024-04-29 07:57:28 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Angelos Katharopoulos 
							
						 
					 
					
						
						
							
						
						ef5f7d1aea 
					 
					
						
						
							
							Fix buffer protocol buffer size designation ( #1010 )  
						
						 
						
						
						
						
					 
					
						2024-04-19 06:06:13 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AmirHossein_Razlighi 
							
						 
					 
					
						
						
							
						
						0caf35f4b8 
					 
					
						
						
							
							Better exceptions in case of invalid operations on mlx.core.array ( #910 ) ( #926 )  
						
						 
						
						... 
						
						
						
						* Nicer exceptions for ops on non-arrays 
						
						
					 
					
						2024-04-02 21:11:24 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jagrit Digani 
							
						 
					 
					
						
						
							
						
						639e06e1f3 
					 
					
						
						
							
							Indexing bug fix ( #947 )  
						
						 
						
						... 
						
						
						
						* Fix axes accounting
* Add tests 
						
						
					 
					
						2024-04-01 12:18:50 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Angelos Katharopoulos 
							
						 
					 
					
						
						
							
						
						02fedbf1da 
					 
					
						
						
							
							Fix array initialization from list ( #942 )  
						
						 
						
						... 
						
						
						
						* Fix array initialization from list
* Change the error message in the test 
						
						
					 
					
						2024-04-01 06:27:52 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AmirHossein_Razlighi 
							
						 
					 
					
						
						
							
						
						f48bc496c7 
					 
					
						
						
							
							Comparing python objects (such as list/tuple) with mlx.core.array ( #920 )  
						
						 
						
						... 
						
						
						
						* add implicit conversion of list to array for equality constraint
* add tests for array equality
* add test for tuple and array equality
* return False if __eq__ arg is list or tuple
* write tests for equality
* update the rule of comparison for __ge__/__gt__/__lt__/__le__
* add a helper function for detecting mlx.core.array
* return true in case fo inequality
* debug minor issue regarding detecting mlx array
* add tests for inequality comparisons
* add name for contribution
* reformat files using pre-commit
* update tests for float
* update tests for inequality
* raise exception in case of invalid comparisons
* use isinstance instead of string comparison
* replace "is_convirtable_to_array" with previous logic
* remove throwing exceptions for other operations
* just a comment
* minor changes for efficiency
* optimize a utils function
* change the function name
* Update ACKNOWLEDGMENTS.md
---------
Co-authored-by: Awni Hannun <awni.hannun@gmail.com > 
						
						
					 
					
						2024-03-29 06:52:30 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Abdussamet Türker 
							
						 
					 
					
						
						
							
						
						5611e1a95e 
					 
					
						
						
							
							Fix unsqueeze with None ( #899 )  
						
						 
						
						... 
						
						
						
						* Fix unsqueeze with None
* Clean unnecessary files 
						
						
					 
					
						2024-03-26 13:59:44 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jack Mousseau 
							
						 
					 
					
						
						
							
						
						8e686764ac 
					 
					
						
						
							
							Ensure shape dimensions are within supported integer range ( #566 ) ( #704 )  
						
						 
						
						... 
						
						
						
						* Ensure shape dimensions are within supported integer range (#566 )
* fix build
* fix rebase bug
---------
Co-authored-by: Awni Hannun <awni@apple.com > 
						
						
					 
					
						2024-03-25 13:29:45 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jagrit Digani 
							
						 
					 
					
						
						
							
						
						8e5a5a1ccd 
					 
					
						
						
							
							Set item bug fix ( #879 )  
						
						 
						
						... 
						
						
						
						* set item shaping bug fix
* Add extra tests 
						
						
					 
					
						2024-03-22 12:11:17 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						9a8ee00246 
					 
					
						
						
							
							Switch to nanobind ( #839 )  
						
						 
						
						... 
						
						
						
						* mostly builds
* most tests pass
* fix circle build
* add back buffer protocol
* includes
* fix for py38
* limit to cpu device
* include
* fix stubs
* move signatures for docs
* stubgen + docs fix
* doc for compiled function, comments 
						
						
					 
					
						2024-03-18 20:12:25 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						b7588fd5d7 
					 
					
						
						
							
							fix inplace to not make a shallow copy ( #804 )  
						
						 
						
						
						
						
					 
					
						2024-03-07 09:34:11 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Luca Arnaboldi 
							
						 
					 
					
						
						
							
						
						cbefd9129e 
					 
					
						
						
							
							Implementation of pickle, copy and deepcopy for Python arrays ( #300  &  #367 ). ( #713 )  
						
						 
						
						... 
						
						
						
						* Implemented pickling and copy for Python arrays(#300  & #367 )
* Fixing typos
* Pickle with NumPy arrays
* Pickle: workaround for bfloat16
* Revert "Pickle: workaround for bfloat16"
This reverts commit 25afe6bc09 .
* Added an error when pickling bfloat16
* Update python/tests/test_array.py
Co-authored-by: Awni Hannun <awni.hannun@gmail.com >
* Update python/tests/test_array.py
Co-authored-by: Awni Hannun <awni.hannun@gmail.com >
* Update python/src/array.cpp
Co-authored-by: Awni Hannun <awni.hannun@gmail.com >
* Update python/src/array.cpp
Co-authored-by: Awni Hannun <awni.hannun@gmail.com >
* clang-format applied
---------
Co-authored-by: Awni Hannun <awni.hannun@gmail.com > 
						
						
					 
					
						2024-03-06 08:02:41 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						bc06cb9ff6 
					 
					
						
						
							
							Pickle + dtype fix for numpy conversion ( #763 )  
						
						 
						
						... 
						
						
						
						* pickle + dtype fix for numpy conversion
* fix getattribute on Module base
* remove unused function
* fix tests
* add topk to ops
* fix doc 
						
						
					 
					
						2024-03-02 06:09:29 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						d0fda82595 
					 
					
						
						
							
							fix tolist for half types ( #702 )  
						
						 
						
						
						
						
					 
					
						2024-02-19 09:44:27 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						09b9275027 
					 
					
						
						
							
							Make shape a tuple ( #591 )  
						
						 
						
						... 
						
						
						
						* shape tuple
* also remove simplify from docs
* rebase 
						
						
					 
					
						2024-01-30 13:11:01 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Awni Hannun 
							
						 
					 
					
						
						
							
						
						6bf779e72b 
					 
					
						
						
							
							fix array from list for > 32 bit types ( #501 )  
						
						 
						
						
						
						
					 
					
						2024-01-19 15:49:25 -08:00