bigdl-core-npu 2.6.0b20250215__cp310-cp310-win_amd64.whl → 2.6.0b20250221__cp310-cp310-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
bigdl-core-npu/common.lib CHANGED
Binary file
bigdl-core-npu/ggml.dll CHANGED
Binary file
@@ -100,6 +100,15 @@ struct llm_perf_data {
100
100
  uint32_t n_eval;
101
101
  };
102
102
 
103
+ #ifndef BASE64_H
104
+ #define BASE64_H
105
+
106
+ namespace base64 {
107
+ std::string encode(const std::string &data);
108
+ std::string decode(const std::string &data);
109
+ }
110
+
111
+ #endif // BASE64_H to encode and decode
103
112
 
104
113
  #ifdef __cplusplus
105
114
  extern "C" {
@@ -71,6 +71,7 @@ extern "C" {
71
71
 
72
72
  EXPORT_API void llm_perf_print(void * void_model);
73
73
 
74
+ EXPORT_API void prepare_ir(const char* model_path);
74
75
  #ifdef __cplusplus
75
76
  }
76
77
  #endif
Binary file
bigdl-core-npu/llama.dll CHANGED
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,30 @@
1
+ @echo off
2
+ for /f "delims=" %%i in ('python -c "import importlib; print(importlib.import_module('bigdl-core-npu').__file__)"') do set "cpp_file=%%i"
3
+ for %%a in ("%cpp_file%") do set "cpp_dir=%%~dpa"
4
+
5
+ set "cpp_dir=%cpp_dir:~0,-1%"
6
+ set "lib_dir=%cpp_dir:bigdl-core-npu=intel_npu_acceleration_library%\lib\Release"
7
+ set "destination_folder=%cd%"
8
+
9
+ pushd "%lib_dir%"
10
+ for %%f in (*) do (
11
+ if exist "%destination_folder%\%%~nxf" (
12
+ del /f "%destination_folder%\%%~nxf"
13
+ )
14
+ mklink "%destination_folder%\%%~nxf" "%%~ff"
15
+ )
16
+ popd
17
+
18
+ pushd "%cpp_dir%"
19
+ for %%f in (*) do (
20
+ if not "%%f"=="llama-cli-npu.exe" (
21
+ if exist "%destination_folder%\%%~nxf" (
22
+ del /f "%destination_folder%\%%~nxf"
23
+ )
24
+ mklink "%destination_folder%\%%~nxf" "%%~ff"
25
+ )
26
+ )
27
+ popd
28
+
29
+ copy "%cpp_dir%\llama-cli-npu.exe" .
30
+ xcopy /E /I "%cpp_dir%\include\" .\include
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: bigdl-core-npu
3
- Version: 2.6.0b20250215
3
+ Version: 2.6.0b20250221
4
4
  Summary: Intel® NPU Acceleration Library
5
5
  Home-page: https://github.com/intel/intel-npu-acceleration-library
6
6
  Author: Alessandro Palla
@@ -1,13 +1,13 @@
1
1
  bigdl-core-npu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- bigdl-core-npu/common.lib,sha256=XOeV49xyVBVPltXwb03z_uum9j1jaBFXIIMk4Wj87Z0,6645900
3
- bigdl-core-npu/ggml.dll,sha256=0G0qikHPPB2ce4AYXwbrQ5zHxFV2bBP0gPwDcbQxdF0,705024
2
+ bigdl-core-npu/common.lib,sha256=2aPoWEjZy7_gBdghJwkZ5SRtKUcoGoD0suyE0V3aVFQ,6645900
3
+ bigdl-core-npu/ggml.dll,sha256=0LfW0EAfQ8pUDP-fv4N4Z1g-mkUIMmoMY1Z_YFP_G6Q,705024
4
4
  bigdl-core-npu/ggml.lib,sha256=YiA6rQgJZwvwdM0bXqMHNgAigoEPozcLs7jP3dYz1nk,139880
5
- bigdl-core-npu/llama-cli-npu.exe,sha256=GKQ6DPpovYfDTECApj4-IpqwH3l1PysCgJmRzJ_-40M,555520
6
- bigdl-core-npu/llama.dll,sha256=b1ckDySu2acIpcS16uwxIiWVwqT6VAWjIWvwJv9duIc,1597440
5
+ bigdl-core-npu/llama-cli-npu.exe,sha256=IPdCoX49maUH8FlgCN77KVPI4qWP9HW1aRT7RmLphcM,555520
6
+ bigdl-core-npu/llama.dll,sha256=HmgT04OY1TlMr98JxRU-uHmt5OomIVRBf8uJVbOU5og,1597440
7
7
  bigdl-core-npu/llama.lib,sha256=KPMcvIkCCwZokTrw9iLB1PY_S-JHi3TIfRVXDxz0msU,1519522
8
- bigdl-core-npu/llm-cli.exe,sha256=WIgY9L6nqis0zqm4AL276i4HSyNiQft5V0wJbo9sjMw,44544
9
- bigdl-core-npu/npu_llm.dll,sha256=B-29vGawinndtVTg0m3V-xAZMHv0KPGW5VVLdiYcQIg,3962368
10
- bigdl-core-npu/npu_llm.lib,sha256=nNYF-btjrT9Pzcd31kQV5BsLBSNdA_DSeyK5RnmOc9s,44524
8
+ bigdl-core-npu/llm-cli.exe,sha256=AOFUEFtko-_abvzRCRM9LAuFVLvZ7JfC3PWt16kBZd0,44544
9
+ bigdl-core-npu/npu_llm.dll,sha256=J_OwNON-_13CCxFZUuTZI0zzeJAVnTHnCKQWEsXO6vY,4813824
10
+ bigdl-core-npu/npu_llm.lib,sha256=NMxC4FcZ5tFQK9EQU5HDFD1Y7Pzcy15KRM_Wz1_nQoE,44700
11
11
  bigdl-core-npu/include/llamacpp/arg.h,sha256=XOLwSDqJsCJJgGCkOGSWcA9yGZ0eiiY7GffHdAxFYYY,3110
12
12
  bigdl-core-npu/include/llamacpp/common.h,sha256=pZ1DuXPcaIFui7juV0kB4-c5CW2I9BRI3Tlz8OT_bsk,25837
13
13
  bigdl-core-npu/include/llamacpp/ggml-alloc.h,sha256=kiWITcUF9Q7kvGSBeCfouV59YyGDNy56VE_0fXXnWHE,3088
@@ -15,10 +15,11 @@ bigdl-core-npu/include/llamacpp/ggml-backend.h,sha256=cUJR-AC7hUbIxukKixR9vUSV38
15
15
  bigdl-core-npu/include/llamacpp/ggml.h,sha256=liFnnzpemuVWZ3lg7oTCoRIPCo2taBdA8cwMY6OV9FM,106000
16
16
  bigdl-core-npu/include/llamacpp/llama.h,sha256=zh01oLr2ldtVysT8swWRIE5wdzz4EbAePNop1F8wHpQ,61467
17
17
  bigdl-core-npu/include/llamacpp/log.h,sha256=D6UiundA26yZOh3ci828u5U4ZaBxWb9CwSNu_3dt6CA,4295
18
- bigdl-core-npu/include/npu/npu_common.h,sha256=p5PTHTHiJlOA9lXXWH12eHf5JTvGi-mmf9GgFY7kv7E,3206
19
- bigdl-core-npu/include/npu/npu_llm.h,sha256=x48WKapTS_PDOoBEpB9Ky-_Dqxl961Bkgv6BcDiUxVQ,2609
18
+ bigdl-core-npu/include/npu/npu_common.h,sha256=RJPSDP53M3EdCwv_a2NmagfNCxokTyFXpTiAG0tYyEU,3410
19
+ bigdl-core-npu/include/npu/npu_llm.h,sha256=WfVU3uKZ5Qg1f_W3SwVe740NMGJOR00WS_eJNEDVS8w,2666
20
+ bigdl_core_npu-2.6.0b20250221.data/scripts/init-llama-cpp.bat,sha256=rOKehR4hWe-ITTHPtqZQTPtqWN9IwFecCR5Z_Ls9O84,896
20
21
  intel_npu_acceleration_library/__init__.py,sha256=ZKTIhGMDjF7P6pF-yX8KWcSXbeHWRk24AO_orsa18f8,536
21
- intel_npu_acceleration_library/_version.py,sha256=sXoSj00poIk5NWpZx_4Z8Bb7AMb8AnLyr_iUVnQqTbY,112
22
+ intel_npu_acceleration_library/_version.py,sha256=6IRPFq8zgPS8tBzsmTarykOzY7UNreqOV_ZytfnnbJU,112
22
23
  intel_npu_acceleration_library/compiler.py,sha256=3IdgqjamSC8MLexDBJypIeZRiWIcTFnvQSU1LPXUr7Y,6225
23
24
  intel_npu_acceleration_library/device.py,sha256=9bn8eVXJa5cXIqgfLsQAdkMVtVUQABb8z0-mQik5jRg,7424
24
25
  intel_npu_acceleration_library/dtypes.py,sha256=gdd06Wsc9zIZFHlauUEx4xcK9WGTn1Mu6GkuYDJeA-E,4683
@@ -235,7 +236,7 @@ intel_npu_acceleration_library/external/openvino/torch/__init__.py,sha256=RXLzsf
235
236
  intel_npu_acceleration_library/functional/__init__.py,sha256=WWKwKOh6Sgovv7mKctA872TbLP98Pg5m5-MREvUmlAA,204
236
237
  intel_npu_acceleration_library/functional/scaled_dot_product_attention.py,sha256=yGUcg4tDQOLuUnP1g74cl-ec8TRr2SuAMcNLlN6qLvE,1620
237
238
  intel_npu_acceleration_library/lib/Release/cache.json,sha256=CyrSqZUWo0Ec4_7ydOiuKIC0Gm8AybrGdozUqUuHxBw,8840377
238
- intel_npu_acceleration_library/lib/Release/intel_npu_acceleration_library.dll,sha256=Bu2U8SDlqiRDfyXK4zbpJqwgTkNfd9oblo-8JGYZooQ,341504
239
+ intel_npu_acceleration_library/lib/Release/intel_npu_acceleration_library.dll,sha256=of1sRUZjfQ5iYmRbiafMAPylH-im8jvTK10Oe-gqTeA,341504
239
240
  intel_npu_acceleration_library/lib/Release/openvino.dll,sha256=m7M119p3JBq2YYJJ2zzCaBDz6XivKK3nNykb8L1cvDU,13244768
240
241
  intel_npu_acceleration_library/lib/Release/openvino_auto_batch_plugin.dll,sha256=2v_I9P3Qo0St1bQZMEZscnFOUVvgZQQ0HvQlG3HtTd0,203104
241
242
  intel_npu_acceleration_library/lib/Release/openvino_auto_plugin.dll,sha256=e3Aj9CDRHN30dBEdPSk7OCWe52tWfhI4xeXgyFjuDHg,475488
@@ -265,7 +266,7 @@ intel_npu_acceleration_library/nn/functional.py,sha256=UfAKBc0u6RtyaMo14ldH2GpEn
265
266
  intel_npu_acceleration_library/nn/linear.py,sha256=Q06SoGQeLaI86nA_ky2GnFC6H2Fw1zyMDILKnpYC2eo,5739
266
267
  intel_npu_acceleration_library/nn/llm.py,sha256=P6dz36Yf6BHtzWcftaghC6QaMI_WeRfQwrCbO7fD6hk,15002
267
268
  intel_npu_acceleration_library/nn/module.py,sha256=EYxoTq6I_YgBDgTF76GPDxHrT8SupOTDGMzQaomBeq8,12667
268
- bigdl_core_npu-2.6.0b20250215.dist-info/METADATA,sha256=QdiCg87VRqQdpXJq_aaEDnSMNZIGJRkfJLuvtF74oNI,1762
269
- bigdl_core_npu-2.6.0b20250215.dist-info/WHEEL,sha256=rzGfZgUcGeKSgIHGYMuqg4xE4VPHxnaldXH6BG0zjVk,101
270
- bigdl_core_npu-2.6.0b20250215.dist-info/top_level.txt,sha256=iMQZlTsFPJjlD-Y0MqZEP_9ifI0LlbNCJIOTaMoGMjk,46
271
- bigdl_core_npu-2.6.0b20250215.dist-info/RECORD,,
269
+ bigdl_core_npu-2.6.0b20250221.dist-info/METADATA,sha256=OCn_6GBzX3Nav78ZfPl-aYzmsc8Q9VgdqtsS9TTppqA,1762
270
+ bigdl_core_npu-2.6.0b20250221.dist-info/WHEEL,sha256=rzGfZgUcGeKSgIHGYMuqg4xE4VPHxnaldXH6BG0zjVk,101
271
+ bigdl_core_npu-2.6.0b20250221.dist-info/top_level.txt,sha256=iMQZlTsFPJjlD-Y0MqZEP_9ifI0LlbNCJIOTaMoGMjk,46
272
+ bigdl_core_npu-2.6.0b20250221.dist-info/RECORD,,
@@ -3,4 +3,4 @@
3
3
  # SPDX-License-Identifier: Apache 2.0
4
4
  #
5
5
 
6
- __version__ = "2.6.0b20250215"
6
+ __version__ = "2.6.0b20250221"