Cocoa is no longer used

This commit is contained in:
George Hotz 2023-11-23 14:31:21 -08:00
parent 095e2ced61
commit 5bb720a777
3 changed files with 1 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python3
# pip3 install sentencepiece pyobjc-framework-Metal pyobjc-framework-Cocoa pyobjc-framework-libdispatch
# pip3 install sentencepiece
#import typeguard.importhook
#typeguard.importhook.install_import_hook('tinygrad')

View File

@ -21,7 +21,6 @@ setup(name='tinygrad',
],
install_requires=["numpy", "tqdm", "pyopencl",
"pyobjc-framework-Metal; platform_system=='Darwin'",
"pyobjc-framework-Cocoa; platform_system=='Darwin'",
"pyobjc-framework-libdispatch; platform_system=='Darwin'"],
python_requires='>=3.8',
extras_require={

View File

@ -1,4 +1,3 @@
# pip3 install pyobjc-framework-Metal pyobjc-framework-Cocoa pyobjc-framework-libdispatch
import os, subprocess, pathlib, ctypes, tempfile
import Metal, libdispatch
from typing import List, Any, Tuple, Dict, Set, cast, Optional