mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-04-29 03:00:14 -04:00
11 lines
351 B
Bash
Executable File
11 lines
351 B
Bash
Executable File
#!/bin/sh
|
|
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)
|
|
"
|