mirror of
https://github.com/ml-explore/mlx.git
synced 2025-10-19 00:04:41 +08:00
track resource limit and throw if exceeded (#1718)
This commit is contained in:
@@ -168,6 +168,7 @@ void init_metal(nb::module_& m) {
|
||||
* ``max_buffer_size``
|
||||
* ``max_recommended_working_set_size``
|
||||
* ``memory_size``
|
||||
* ``resource_limit``
|
||||
|
||||
Returns:
|
||||
dict: A dictionary with string keys and string or integer values.
|
||||
|
Reference in New Issue
Block a user