Comments (5)
Looks like it's not applying the metal-cpp patch properly.
Could you try a couple things:
- Wipe the build/ directory and try again?
- Check the output of
which patch
and paste here?
from mlx.
Looks like it's not applying the metal-cpp patch properly.
Could you try a couple things:
- Wipe the build/ directory and try again?
- Check the output of
which patch
and paste here?
I have created new venv
s and tried installing without cache too. I still get this error
(venv) nripeshniketan@Nripeshs-MBP ~/D/p/mlx (main) [0|1]> which patch
/opt/homebrew/bin/patch
from mlx.
🤷♂️ not sure why it's not applying the patch. You could try changing this line https://github.com/ml-explore/mlx/blob/main/CMakeLists.txt#L97
to
PATCH_COMMAND /usr/bin/patch -N -i ${METAL_CPP_PATCH} || true
If that doesn't work, we could try to have you apply the patch manually and see what the error is.
from mlx.
🤷♂️ not sure why it's not applying the patch. You could try changing this line https://github.com/ml-explore/mlx/blob/main/CMakeLists.txt#L97
to
PATCH_COMMAND /usr/bin/patch -N -i ${METAL_CPP_PATCH} || true
If that doesn't work, we could try to have you apply the patch manually and see what the error is.
This fixed the issue for me
from mlx.
Good to know. We may need to hard code that path. I don't know why the other version of patch
doesn't work ..
from mlx.
Related Issues (20)
- No module named 'mlx.core'; 'mlx' is not a package HOT 2
- 0.12.2 release was not completed HOT 8
- [FEATURE REQUEST] mx.grad doesn't alias argnums and argnames HOT 5
- [BUG] `np.ndarray` of bfloat16 using ml_dtypes is being interpreted as complex64
- [BUG] mlx crashes with msg - uncaught exception of type std::invalid_argument: [Scatter::eval_gpu] Does not support int64 HOT 4
- Is dlpack supported? HOT 9
- [BUG] matmul yields different results when using concat HOT 1
- [BUG] give better diagnostic message when calling compiled code with an eval in it -- currently "Attempting to eval an array without a primitive" HOT 8
- [BUG] Bad result for GPU matmul for specific shape HOT 1
- [Feature] Leak memory on exit HOT 6
- [Feature] Rotary Positional Embeddings for Nomic Embed HOT 2
- Enhancement - Use M series iPads as extra GPU power HOT 1
- [Feature] Expose something like custom VJP in Python HOT 3
- [BUG] mx.radians & mx.degrees - unexpected behavior when the input is not an array
- [Feature] Build flag to make safetensor and GGUF dependencies optional
- [Feature] something like `mlx.scipy.stats` HOT 2
- [BUG] Passing `axis=None` into `argpartition` causes `TypeError` HOT 1
- [BUG] AttributeError in mlx.core.conj and mlx.core.conjugate functions HOT 3
- Optimization Plans for Conv2D CPU Execution HOT 3
- [BUG] mlx gets stuck with high-dimensional array on Linux HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mlx.