New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Softmax toy example runs fine once per each clean install from source on Metal #4121
Comments
it seems it doesn't find metal ( try the following to reinstall the Command Line Tools this may also fix your issue |
Ok, thanks for the tip but none of these helped. Or maybe first? It is now working without run limits. What I did after the initial changes:
but got no Xcode.app path, so nothing changed
and rerun softmax example, resulted in:
again.
This fixed all of the previous problems. So my current situation is DISABLE_COMPILER_CACHE=1, METAL_XCODE=0 and clean CommandLineTools install, running on native Python. I'd maybe add the information that setting METAL_XCODE to 1 may break the working of metal to the troubleshooting info, something like:
|
Restarted everything. What seems to be fixing the issue reproductively is:
|
Ok, I do not think I've seen this one here anywhere. I am running a toy example of tinygrad softmax on MBP Pro 16 2023 (M2 Pro). Built from source. I'll happily provide you with any needed details.
this runs fine exactly ONCE after clean install from source. It runs (exacltly once) both on native system python and conda python.
On any other consecutive run I get:
after setting:
On conda: nothing changes.
On native:
The text was updated successfully, but these errors were encountered: