mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-24 02:14:17 +00:00
better install msg (#15570)
This commit is contained in:
parent
20497f2840
commit
da12c2ea16
1 changed files with 9 additions and 1 deletions
10
extra/setup_tinygpu_osx.sh
Normal file → Executable file
10
extra/setup_tinygpu_osx.sh
Normal file → Executable file
|
|
@ -1,2 +1,10 @@
|
|||
#!/bin/sh
|
||||
python3 -c "from tinygrad.runtime.support.system import APLRemotePCIDevice; APLRemotePCIDevice.ensure_app()"
|
||||
python3 -c "
|
||||
try:
|
||||
from tinygrad.runtime.support.system import APLRemotePCIDevice
|
||||
APLRemotePCIDevice.ensure_app()
|
||||
except Exception as e:
|
||||
print('Your tinygrad is too old. Please clone the latest tinygrad: git clone https://github.com/tinygrad/tinygrad.git && cd tinygrad && python3 -m pip install -e .')
|
||||
print(e)
|
||||
exit(1)
|
||||
"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue