Upload folder using huggingface_hub
Browse files
Installers/macOS/build_macos.sh
CHANGED
|
@@ -1,6 +1,12 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
echo "🍏 Building OpenVinayaka for macOS..."
|
| 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
# 1. Build Single File Executable
|
| 5 |
# Note: You need to run 'pip install pyinstaller' first
|
| 6 |
pyinstaller --clean ../openvinayaka.spec
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
echo "🍏 Building OpenVinayaka for macOS..."
|
| 3 |
|
| 4 |
+
# 0. Compile Hybrid Engine
|
| 5 |
+
echo "⚙️ Compiling C++ Kernel..."
|
| 6 |
+
cd ../../Production_Hybrid_Engine
|
| 7 |
+
python3 setup.py build_ext --inplace
|
| 8 |
+
cd ../Installers/macOS
|
| 9 |
+
|
| 10 |
# 1. Build Single File Executable
|
| 11 |
# Note: You need to run 'pip install pyinstaller' first
|
| 12 |
pyinstaller --clean ../openvinayaka.spec
|
Installers/openvinayaka.spec
CHANGED
|
@@ -5,7 +5,10 @@ block_cipher = None
|
|
| 5 |
a = Analysis(
|
| 6 |
['../Python_Package/openvinayaka/cli.py'],
|
| 7 |
pathex=[],
|
| 8 |
-
binaries=[
|
|
|
|
|
|
|
|
|
|
| 9 |
datas=[('../Benchmarks_10k', 'Benchmarks_10k')], # Include Data
|
| 10 |
hiddenimports=['torch', 'transformers', 'sentence_transformers', 'numpy'],
|
| 11 |
hookspath=[],
|
|
|
|
| 5 |
a = Analysis(
|
| 6 |
['../Python_Package/openvinayaka/cli.py'],
|
| 7 |
pathex=[],
|
| 8 |
+
binaries=[
|
| 9 |
+
('../Engine_Cpp/ov_engine_full', 'Engine_Cpp'), # V1 Engine
|
| 10 |
+
('../Production_Hybrid_Engine/ov_hybrid_core.cpython-314-darwin.so', '.') # V2 Hybrid Kernel (Mac)
|
| 11 |
+
],
|
| 12 |
datas=[('../Benchmarks_10k', 'Benchmarks_10k')], # Include Data
|
| 13 |
hiddenimports=['torch', 'transformers', 'sentence_transformers', 'numpy'],
|
| 14 |
hookspath=[],
|