KillerBoss commited on
Commit
2024879
·
verified ·
1 Parent(s): f0841cc

log: export v7 compile-sm8750-nowns

Browse files
Files changed (1) hide show
  1. logs/export_v7.log +479 -0
logs/export_v7.log CHANGED
@@ -1578,3 +1578,482 @@ Traceback (most recent call last):
1578
  File "/usr/local/lib/python3.12/dist-packages/ai_edge_litert/aot/core/apply_plugin.py", line 146, in __call__
1579
  import sys as _ap_sys
1580
  ValueError: apply_plugin failed to apply plugin. See /tmp/tmp_ish748b.error for details.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1578
  File "/usr/local/lib/python3.12/dist-packages/ai_edge_litert/aot/core/apply_plugin.py", line 146, in __call__
1579
  import sys as _ap_sys
1580
  ValueError: apply_plugin failed to apply plugin. See /tmp/tmp_ish748b.error for details.
1581
+ >>> Log nach HF (compile-sm8850-nowns)
1582
+
1583
+ ### Compile-Versuch sm8750-nowns (soc=SM8750, kwargs={'disable_weight_sharing': True})
1584
+ LiteRT-LM Version: 1.6.0
1585
+
1586
+ +------------------------------------------------+
1587
+ | System Metadata |
1588
+ +------------------------------------------------+
1589
+ Key: Authors, Value (String): ODML
1590
+ Key: uuid, Value (String): 76de2016-46b9-4692-bd5e-595d8dda6fb3
1591
+ Key: creation_timestamp, Value (String): 2026-09-09T11:55:49.902544+00:00
1592
+
1593
+ +------------------------------------------------+
1594
+ | Sections (6) |
1595
+ +------------------------------------------------+
1596
+
1597
+ Section 0:
1598
+ Items:
1599
+ <None>
1600
+ Begin Offset: 16384
1601
+ End Offset: 30541
1602
+ Data Type: LlmMetadataProto
1603
+ <<<<<<<< start of LlmMetadata
1604
+ start_token {
1605
+ token_str: "<bos>"
1606
+ }
1607
+ stop_tokens {
1608
+ token_ids {
1609
+ ids: 1
1610
+ }
1611
+ }
1612
+ stop_tokens {
1613
+ token_str: ";<end_of_turn>\n"
1614
+ }
1615
+ stop_tokens {
1616
+ token_str: "?<end_of_turn>\n"
1617
+ }
1618
+ stop_tokens {
1619
+ token_str: ".<end_of_turn>\n"
1620
+ }
1621
+ stop_tokens {
1622
+ token_ids {
1623
+ ids: 106
1624
+ }
1625
+ }
1626
+ stop_tokens {
1627
+ token_str: "}<end_of_turn>\n"
1628
+ }
1629
+ stop_tokens {
1630
+ token_str: ")<end_of_turn>\n"
1631
+ }
1632
+ stop_tokens {
1633
+ token_str: "]<end_of_turn>\n"
1634
+ }
1635
+ stop_tokens {
1636
+ token_str: "*<end_of_turn>\n"
1637
+ }
1638
+ stop_tokens {
1639
+ token_ids {
1640
+ ids: 50
1641
+ }
1642
+ }
1643
+ stop_tokens {
1644
+ token_str: ",<end_of_turn>\n"
1645
+ }
1646
+ stop_tokens {
1647
+ token_str: "!<end_of_turn>\n"
1648
+ }
1649
+ stop_tokens {
1650
+ token_str: "\"<end_of_turn>\n"
1651
+ }
1652
+ stop_tokens {
1653
+ token_str: ":<end_of_turn>\n"
1654
+ }
1655
+ stop_tokens {
1656
+ token_str: "\'<end_of_turn>\n"
1657
+ }
1658
+ stop_tokens {
1659
+ token_str: "<end_of_turn>\n"
1660
+ }
1661
+ stop_tokens {
1662
+ token_str: " <end_of_turn>\n"
1663
+ }
1664
+ max_num_tokens: 1280
1665
+ llm_model_type {
1666
+ generic_model {
1667
+ }
1668
+ }
1669
+ jinja_prompt_template: "{%- macro format_parameters(properties, required) -%}\n {%- set standard_keys = [\'description\', \'type\', \'properties\', \'required\', \'nullable\'] -%}\n {%- set ns = namespace(found_first=false) -%}\n {%- for key, value in properties | dictsort -%}\n {%- if key not in standard_keys -%}\n {%- if ns.found_first %},{% endif -%}\n {%- set ns.found_first = true -%}\n {{- key }}:{description:<escape>{{ value[\'description\'] }}<escape>\n {%- if value[\'type\'] | upper == \'STRING\' -%}\n {%- if value[\'enum\'] -%}\n ,enum:{{ format_argument(value[\'enum\']) }}\n {%- endif -%}\n {%- elif value[\'type\'] | upper == \'OBJECT\' -%}\n ,properties:{\n {%- if value[\'properties\'] is defined and value[\'properties\'] is mapping -%}\n {{- format_parameters(value[\'properties\'], value[\'required\'] | default([])) -}}\n {%- elif value is mapping -%}\n {{- format_parameters(value, value[\'required\'] | default([])) -}}\n {%- endif -%}\n }\n {%- if value[\'required\'] -%}\n ,required:[\n {%- for item in value[\'required\'] | default([]) -%}\n <escape>{{- item -}}<escape>\n {%- if not loop.last %},{% endif -%}\n {%- endfor -%}\n ]\n {%- endif -%}\n {%- elif value[\'type\'] | upper == \'ARRAY\' -%}\n {%- if value[\'items\'] is mapping and value[\'items\'] -%}\n ,items:{\n {%- set ns_items = namespace(found_first=false) -%}\n {%- for item_key, item_value in value[\'items\'] | dictsort -%}\n {%- if item_value is not none -%}\n {%- if ns_items.found_first %},{% endif -%}\n {%- set ns_items.found_first = true -%}\n {%- if item_key == \'properties\' -%}\n properties:{\n {%- if item_value is mapping -%}\n {{- format_parameters(item_value, value[\'items\'][\'required\'] | default([])) -}}\n {%- endif -%}\n }\n {%- elif item_key == \'required\' -%}\n required:[\n {%- for req_item in item_value -%}\n <escape>{{- req_item -}}<escape>\n {%- if not loop.last %},{% endif -%}\n {%- endfor -%}\n ]\n {%- elif item_key == \'type\' -%}\n {%- if item_value is string -%}\n type:{{ format_argument(item_value | upper) }}\n {%- else -%}\n type:{{ format_argument(item_value | map(\'upper\') | list) }}\n {%- endif -%}\n {%- else -%}\n {{ item_key }}:{{ format_argument(item_value) }}\n {%- endif -%}\n {%- endif -%}\n {%- endfor -%}\n }\n {%- endif -%}\n {%- endif -%}\n ,type:<escape>{{ value[\'type\'] | upper }}<escape>}\n {%- endif -%}\n {%- endfor -%}\n{%- endmacro -%}\n{% macro format_function_declaration(tool_data) -%}\ndeclaration:{{- tool_data[\'function\'][\'name\'] -}}\n{description:<escape>{{- tool_data[\'function\'][\'description\'] -}}<escape>\n{%- set params = tool_data[\'function\'][\'parameters\'] -%}\n{%- if params -%}\n ,parameters:{\n {%- if params[\'properties\'] -%}\n properties:{ {{- format_parameters(params[\'properties\'], params[\'required\']) -}} },\n {%- endif -%}\n {%- if params[\'required\'] -%}\n required:[\n {%- for item in params[\'required\'] -%}\n <escape>{{- item -}}<escape>\n {{- \',\' if not loop.last -}}\n {%- endfor -%}\n ],\n {%- endif -%}\n {%- if params[\'type\'] -%}\n type:<escape>{{- params[\'type\'] | upper -}}<escape>}\n {%- endif -%}\n{%- endif -%}\n}\n{%- endmacro -%}\n{% macro format_argument(argument, escape_keys=True) -%}\n{%- if argument is string -%}\n {{- \'<escape>\' + argument + \'<escape>\' -}}\n{%- elif argument is boolean -%}\n {%- if argument -%}\n {{- \'true\' -}}\n {%- else -%}\n {{- \'false\' -}}\n {%- endif -%}\n{%- elif argument is mapping -%}\n {{- \'{\' -}}\n {%- set ns = namespace(found_first=false) -%}\n {%- for key, value in argument | dictsort -%}\n {%- if ns.found_first %},{% endif -%}\n {%- set ns.found_first = true -%}\n {%- if escape_keys -%}\n {{- \'<escape>\' + key + \'<escape>\' -}}\n {%- else -%}\n {{- key -}}\n {%- endif -%}\n :{{- format_argument(value, escape_keys=escape_keys) -}}\n {%- endfor -%}\n {{- \'}\' -}}\n{%- elif argument is sequence -%}\n {{- \'[\' -}}\n {%- for item in argument -%}\n {{- format_argument(item, escape_keys=escape_keys) -}}\n {%- if not loop.last %},{% endif -%}\n {%- endfor -%}\n {{- \']\' -}}\n{%- else -%}\n {{- argument -}}\n{%- endif -%}\n{%- endmacro -%}\n{{ bos_token }}\n{%- set ns = namespace(prev_message_type=None) -%}\n{#- Tool Declarations -#}\n{%- set loop_messages = messages -%}\n{%- if tools or messages[0][\'role\'] == \'system\' or messages[0][\'role\'] == \'developer\' -%}\n {{- \'<start_of_turn>developer\\n\' -}}\n {%- if messages[0][\'role\'] == \'system\' or messages[0][\'role\'] == \'developer\' -%}\n {%- if messages[0][\'content\'] is string -%}\n {{- messages[0][\'content\'] | trim -}}\n {%- elif messages[0][\'content\'] is sequence -%}\n {%- for item in messages[0][\'content\'] -%}\n {%- if item[\'type\'] == \'text\' -%}\n {{- item[\'text\'] | trim -}}\n {%- endif -%}\n {%- endfor -%}\n {%- endif -%}\n {%- set loop_messages = messages[1:] -%}\n {%- endif -%}\n {%- if tools -%}\n {%- for tool in tools %}\n {{- \'<start_function_declaration>\' -}}\n {{- format_function_declaration(tool) | trim }}\n {{- \'<end_function_declaration>\' -}}\n {%- endfor %}\n {%- endif -%}\n {{- \'<end_of_turn>\\n\' }}\n{%- endif %}\n{#- Loop through messages. -#}\n{%- for message in loop_messages -%}\n {%- if (message[\'role\'] == \'assistant\') -%}\n {#- Rename \"assistant\" to \"model\". -#}\n {%- set role = \"model\" -%}\n {%- else -%}\n {%- set role = message[\'role\'] -%}\n {%- endif -%}\n {%- if role != \'tool\' -%}\n {%- if ns.prev_message_type != \'tool_response\' -%}\n {{- \'<start_of_turn>\' + role + \'\\n\' }}\n {%- endif -%}\n {%- set ns.prev_message_type = None -%}\n {%- if \'content\' in message and message[\'content\'] is not none -%}\n {%- if message[\'content\'] is string -%}\n {{ message[\'content\'] | trim }}\n {%- elif message[\'content\'] is sequence -%}\n {%- for item in message[\'content\'] -%}\n {%- if item[\'type\'] == \'image\' -%}\n {{ \'<start_of_image>\' }}\n {%- elif item[\'type\'] == \'text\' -%}\n {{ item[\'text\'] | trim }}\n {%- endif -%}\n {%- endfor -%}\n {%- else -%}\n {{ raise_exception(\"Invalid content type in user/assistant message\") }}\n {%- endif -%}\n {%- set ns.prev_message_type = \'content\' -%}\n {%- endif -%}\n {%- if \'tool_calls\' in message and message[\'tool_calls\'] and message[\'tool_calls\'] is iterable -%}\n {#- Tool Calls -#}\n {%- for tool_call in message[\'tool_calls\'] -%}\n {% set function = tool_call[\'function\'] %}\n {{- \'<start_function_call>call:\' + function[\'name\'] + \'{\' -}}\n {%- if \'arguments\' in function -%}\n {%- if function[\'arguments\'] is mapping -%}\n {%- set ns = namespace(found_first=false) -%}\n {%- for key, value in function[\'arguments\'] | dictsort -%}\n {%- if ns.found_first %},{% endif -%}\n {%- set ns.found_first = true -%}\n {{- key -}}:{{- format_argument(value, escape_keys=False) -}}\n {%- endfor -%}\n {%- elif function[\'arguments\'] is string -%}\n {# This handles string-JSON, just in case #}\n {{ function[\'arguments\'] }}\n {%- endif %}\n {{- \'}<end_function_call>\' -}}\n {%- endif -%}\n {{- \'}<end_function_call>\' -}}\n {%- endfor -%}\n {%- if loop.last -%}\n {{ \'<start_function_response>\' }}\n {%- endif -%}\n {%- set ns.prev_message_type = \'tool_call\' -%}\n {%- endif -%}\n {%- else -%}\n {#- Tool Responses -#}\n {%- if \'content\' in message and message[\'content\'] -%}\n {%- if message[\'content\'] is mapping -%}\n {%- if \'name\' in message[\'content\'] and \'response\' in message[\'content\'] -%}\n {{ \'<start_function_response>response:\' + message[\'content\'][\'name\'] | trim + \'{\' }}\n {%- set response_ns = namespace(found_first=false) -%}\n {%- for key, value in message[\'content\'][\'response\'] | dictsort -%}\n {%- if response_ns.found_first %},{% endif -%}\n {%- set response_ns.found_first = true -%}\n {{- key -}}:{{- format_argument(value, escape_keys=False) -}}\n {%- endfor -%}\n {{- \'}<end_function_response>\' -}}\n {%- elif \'name\' in message -%}\n {{ \'<start_function_response>response:\' + message[\'name\'] | trim + \'{\' }}\n {%- set response_ns = namespace(found_first=false) -%}\n {%- for key, value in message[\'content\'] | dictsort -%}\n {%- if response_ns.found_first %},{% endif -%}\n {%- set response_ns.found_first = true -%}\n {{- key -}}:{{- format_argument(value, escape_keys=False) -}}\n {%- endfor -%}\n {{- \'}<end_function_response>\' -}}\n {%- else -%}\n {{ raise_exception(\"Invalid tool response mapping: must contain \'name\' and \'response\' keys, or \'name\' must be in the message.\") }}\n {%- endif -%}\n {%- elif message[\'content\'] is string -%}\n {%- if \'name\' in message -%}\n {{ \'<start_function_response>response:\' + message[\'name\'] | trim + \'{value:\' + format_argument(message[\'content\'], escape_keys=False) + \'}<end_function_response>\' }}\n {%- else -%}\n {{ raise_exception(\"Invalid tool response: \'name\' must be provided.\") }}\n {%- endif -%}\n {%- elif message[\'content\'] is sequence -%}\n {%- for item in message[\'content\'] -%}\n {%- if item is mapping -%}\n {%- if \'name\' in item and \'response\' in item -%}\n {{ \'<start_function_response>response:\' + item[\'name\'] | trim + \'{\' }}\n {%- set response_ns = namespace(found_first=false) -%}\n {%- for key, value in item[\'response\'] | dictsort -%}\n {%- if response_ns.found_first %},{% endif -%}\n {%- set response_ns.found_first = true -%}\n {{- key -}}:{{- format_argument(value, escape_keys=False) -}}\n {%- endfor -%}\n {{- \'}<end_function_response>\' -}}\n {%- elif \'name\' in message -%}\n {{ \'<start_function_response>response:\' + message[\'name\'] | trim + \'{\' }}\n {%- set response_ns = namespace(found_first=false) -%}\n {%- for key, value in item | dictsort -%}\n {%- if response_ns.found_first %},{% endif -%}\n {%- set response_ns.found_first = true -%}\n {{- key -}}:{{- format_argument(value, escape_keys=False) -}}\n {%- endfor -%}\n {{- \'}<end_function_response>\' -}}\n {%- else -%}\n {{ raise_exception(\"Invalid tool response mapping: must contain \'name\' and \'response\' keys, or \'name\' must be in the message.\") }}\n {%- endif -%}\n {%- else -%}\n {{ raise_exception(\"Invalid tool response message: multiple responses must all be mappings\") }}\n {%- endif -%}\n {%- endfor -%}\n {%- else -%}\n {{ raise_exception(\"Invalid content type in tool message: must be mapping, sequence of mappings, or string.\") }}\n {%- endif -%}\n {%- endif -%}\n {%- set ns.prev_message_type = \'tool_response\' -%}\n {%- endif -%}\n {%- if ns.prev_message_type not in [\'tool_call\', \'tool_response\'] -%}\n {{ \'<end_of_turn>\\n\' }}\n {%- endif -%}\n{%- endfor -%}\n{%- if add_generation_prompt -%}\n {%- if ns.prev_message_type != \'tool_response\' -%}\n {{- \'<start_of_turn>model\\n\' -}}\n {%- endif -%}\n{%- endif -%}\n"
1670
+ pad_token {
1671
+ token_str: "<pad>"
1672
+ }
1673
+ >>>>>>>> end of LlmMetadata
1674
+ LlmMetadataProto.pbtext dumped to: /kaggle/working/export_npu/inter_sm8750-nowns/LlmMetadataProto.pbtext
1675
+
1676
+
1677
+ Section 1:
1678
+ Items:
1679
+ <None>
1680
+ Begin Offset: 32768
1681
+ End Offset: 35178
1682
+ Data Type: ExecutorMetadataProto
1683
+ <<<<<<<< start of ExecutorMetadata
1684
+ llm_executor_metadata {
1685
+ max_history_size: 1280
1686
+ state_buffers {
1687
+ prefill_input_name: "kv_cache_k_0"
1688
+ prefill_output_name: "kv_cache_k_0"
1689
+ decode_input_name: "kv_cache_k_0"
1690
+ decode_output_name: "kv_cache_k_0"
1691
+ type: TYPE_GLOBAL_KEY_CACHE
1692
+ sequence_axis: 3
1693
+ maximum_sequence_length: 1280
1694
+ }
1695
+ state_buffers {
1696
+ prefill_input_name: "kv_cache_v_0"
1697
+ prefill_output_name: "kv_cache_v_0"
1698
+ decode_input_name: "kv_cache_v_0"
1699
+ decode_output_name: "kv_cache_v_0"
1700
+ type: TYPE_GLOBAL_VALUE_CACHE
1701
+ sequence_axis: 2
1702
+ maximum_sequence_length: 1280
1703
+ }
1704
+ state_buffers {
1705
+ prefill_input_name: "kv_cache_k_1"
1706
+ prefill_output_name: "kv_cache_k_1"
1707
+ decode_input_name: "kv_cache_k_1"
1708
+ decode_output_name: "kv_cache_k_1"
1709
+ type: TYPE_GLOBAL_KEY_CACHE
1710
+ sequence_axis: 3
1711
+ maximum_sequence_length: 1280
1712
+ }
1713
+ state_buffers {
1714
+ prefill_input_name: "kv_cache_v_1"
1715
+ prefill_output_name: "kv_cache_v_1"
1716
+ decode_input_name: "kv_cache_v_1"
1717
+ decode_output_name: "kv_cache_v_1"
1718
+ type: TYPE_GLOBAL_VALUE_CACHE
1719
+ sequence_axis: 2
1720
+ maximum_sequence_length: 1280
1721
+ }
1722
+ state_buffers {
1723
+ prefill_input_name: "kv_cache_k_2"
1724
+ prefill_output_name: "kv_cache_k_2"
1725
+ decode_input_name: "kv_cache_k_2"
1726
+ decode_output_name: "kv_cache_k_2"
1727
+ type: TYPE_GLOBAL_KEY_CACHE
1728
+ sequence_axis: 3
1729
+ maximum_sequence_length: 1280
1730
+ }
1731
+ state_buffers {
1732
+ prefill_input_name: "kv_cache_v_2"
1733
+ prefill_output_name: "kv_cache_v_2"
1734
+ decode_input_name: "kv_cache_v_2"
1735
+ decode_output_name: "kv_cache_v_2"
1736
+ type: TYPE_GLOBAL_VALUE_CACHE
1737
+ sequence_axis: 2
1738
+ maximum_sequence_length: 1280
1739
+ }
1740
+ state_buffers {
1741
+ prefill_input_name: "kv_cache_k_3"
1742
+ prefill_output_name: "kv_cache_k_3"
1743
+ decode_input_name: "kv_cache_k_3"
1744
+ decode_output_name: "kv_cache_k_3"
1745
+ type: TYPE_GLOBAL_KEY_CACHE
1746
+ sequence_axis: 3
1747
+ maximum_sequence_length: 1280
1748
+ }
1749
+ state_buffers {
1750
+ prefill_input_name: "kv_cache_v_3"
1751
+ prefill_output_name: "kv_cache_v_3"
1752
+ decode_input_name: "kv_cache_v_3"
1753
+ decode_output_name: "kv_cache_v_3"
1754
+ type: TYPE_GLOBAL_VALUE_CACHE
1755
+ sequence_axis: 2
1756
+ maximum_sequence_length: 1280
1757
+ }
1758
+ state_buffers {
1759
+ prefill_input_name: "kv_cache_k_4"
1760
+ prefill_output_name: "kv_cache_k_4"
1761
+ decode_input_name: "kv_cache_k_4"
1762
+ decode_output_name: "kv_cache_k_4"
1763
+ type: TYPE_GLOBAL_KEY_CACHE
1764
+ sequence_axis: 3
1765
+ maximum_sequence_length: 1280
1766
+ }
1767
+ state_buffers {
1768
+ prefill_input_name: "kv_cache_v_4"
1769
+ prefill_output_name: "kv_cache_v_4"
1770
+ decode_input_name: "kv_cache_v_4"
1771
+ decode_output_name: "kv_cache_v_4"
1772
+ type: TYPE_GLOBAL_VALUE_CACHE
1773
+ sequence_axis: 2
1774
+ maximum_sequence_length: 1280
1775
+ }
1776
+ state_buffers {
1777
+ prefill_input_name: "kv_cache_k_5"
1778
+ prefill_output_name: "kv_cache_k_5"
1779
+ decode_input_name: "kv_cache_k_5"
1780
+ decode_output_name: "kv_cache_k_5"
1781
+ type: TYPE_GLOBAL_KEY_CACHE
1782
+ sequence_axis: 3
1783
+ maximum_sequence_length: 1280
1784
+ }
1785
+ state_buffers {
1786
+ prefill_input_name: "kv_cache_v_5"
1787
+ prefill_output_name: "kv_cache_v_5"
1788
+ decode_input_name: "kv_cache_v_5"
1789
+ decode_output_name: "kv_cache_v_5"
1790
+ type: TYPE_GLOBAL_VALUE_CACHE
1791
+ sequence_axis: 2
1792
+ maximum_sequence_length: 1280
1793
+ }
1794
+ state_buffers {
1795
+ prefill_input_name: "kv_cache_k_6"
1796
+ prefill_output_name: "kv_cache_k_6"
1797
+ decode_input_name: "kv_cache_k_6"
1798
+ decode_output_name: "kv_cache_k_6"
1799
+ type: TYPE_GLOBAL_KEY_CACHE
1800
+ sequence_axis: 3
1801
+ maximum_sequence_length: 1280
1802
+ }
1803
+ state_buffers {
1804
+ prefill_input_name: "kv_cache_v_6"
1805
+ prefill_output_name: "kv_cache_v_6"
1806
+ decode_input_name: "kv_cache_v_6"
1807
+ decode_output_name: "kv_cache_v_6"
1808
+ type: TYPE_GLOBAL_VALUE_CACHE
1809
+ sequence_axis: 2
1810
+ maximum_sequence_length: 1280
1811
+ }
1812
+ state_buffers {
1813
+ prefill_input_name: "kv_cache_k_7"
1814
+ prefill_output_name: "kv_cache_k_7"
1815
+ decode_input_name: "kv_cache_k_7"
1816
+ decode_output_name: "kv_cache_k_7"
1817
+ type: TYPE_GLOBAL_KEY_CACHE
1818
+ sequence_axis: 3
1819
+ maximum_sequence_length: 1280
1820
+ }
1821
+ state_buffers {
1822
+ prefill_input_name: "kv_cache_v_7"
1823
+ prefill_output_name: "kv_cache_v_7"
1824
+ decode_input_name: "kv_cache_v_7"
1825
+ decode_output_name: "kv_cache_v_7"
1826
+ type: TYPE_GLOBAL_VALUE_CACHE
1827
+ sequence_axis: 2
1828
+ maximum_sequence_length: 1280
1829
+ }
1830
+ state_buffers {
1831
+ prefill_input_name: "kv_cache_k_8"
1832
+ prefill_output_name: "kv_cache_k_8"
1833
+ decode_input_name: "kv_cache_k_8"
1834
+ decode_output_name: "kv_cache_k_8"
1835
+ type: TYPE_GLOBAL_KEY_CACHE
1836
+ sequence_axis: 3
1837
+ maximum_sequence_length: 1280
1838
+ }
1839
+ state_buffers {
1840
+ prefill_input_name: "kv_cache_v_8"
1841
+ prefill_output_name: "kv_cache_v_8"
1842
+ decode_input_name: "kv_cache_v_8"
1843
+ decode_output_name: "kv_cache_v_8"
1844
+ type: TYPE_GLOBAL_VALUE_CACHE
1845
+ sequence_axis: 2
1846
+ maximum_sequence_length: 1280
1847
+ }
1848
+ state_buffers {
1849
+ prefill_input_name: "kv_cache_k_9"
1850
+ prefill_output_name: "kv_cache_k_9"
1851
+ decode_input_name: "kv_cache_k_9"
1852
+ decode_output_name: "kv_cache_k_9"
1853
+ type: TYPE_GLOBAL_KEY_CACHE
1854
+ sequence_axis: 3
1855
+ maximum_sequence_length: 1280
1856
+ }
1857
+ state_buffers {
1858
+ prefill_input_name: "kv_cache_v_9"
1859
+ prefill_output_name: "kv_cache_v_9"
1860
+ decode_input_name: "kv_cache_v_9"
1861
+ decode_output_name: "kv_cache_v_9"
1862
+ type: TYPE_GLOBAL_VALUE_CACHE
1863
+ sequence_axis: 2
1864
+ maximum_sequence_length: 1280
1865
+ }
1866
+ state_buffers {
1867
+ prefill_input_name: "kv_cache_k_10"
1868
+ prefill_output_name: "kv_cache_k_10"
1869
+ decode_input_name: "kv_cache_k_10"
1870
+ decode_output_name: "kv_cache_k_10"
1871
+ type: TYPE_GLOBAL_KEY_CACHE
1872
+ sequence_axis: 3
1873
+ maximum_sequence_length: 1280
1874
+ }
1875
+ state_buffers {
1876
+ prefill_input_name: "kv_cache_v_10"
1877
+ prefill_output_name: "kv_cache_v_10"
1878
+ decode_input_name: "kv_cache_v_10"
1879
+ decode_output_name: "kv_cache_v_10"
1880
+ type: TYPE_GLOBAL_VALUE_CACHE
1881
+ sequence_axis: 2
1882
+ maximum_sequence_length: 1280
1883
+ }
1884
+ state_buffers {
1885
+ prefill_input_name: "kv_cache_k_11"
1886
+ prefill_output_name: "kv_cache_k_11"
1887
+ decode_input_name: "kv_cache_k_11"
1888
+ decode_output_name: "kv_cache_k_11"
1889
+ type: TYPE_GLOBAL_KEY_CACHE
1890
+ sequence_axis: 3
1891
+ maximum_sequence_length: 1280
1892
+ }
1893
+ state_buffers {
1894
+ prefill_input_name: "kv_cache_v_11"
1895
+ prefill_output_name: "kv_cache_v_11"
1896
+ decode_input_name: "kv_cache_v_11"
1897
+ decode_output_name: "kv_cache_v_11"
1898
+ type: TYPE_GLOBAL_VALUE_CACHE
1899
+ sequence_axis: 2
1900
+ maximum_sequence_length: 1280
1901
+ }
1902
+ state_buffers {
1903
+ prefill_input_name: "kv_cache_k_12"
1904
+ prefill_output_name: "kv_cache_k_12"
1905
+ decode_input_name: "kv_cache_k_12"
1906
+ decode_output_name: "kv_cache_k_12"
1907
+ type: TYPE_GLOBAL_KEY_CACHE
1908
+ sequence_axis: 3
1909
+ maximum_sequence_length: 1280
1910
+ }
1911
+ state_buffers {
1912
+ prefill_input_name: "kv_cache_v_12"
1913
+ prefill_output_name: "kv_cache_v_12"
1914
+ decode_input_name: "kv_cache_v_12"
1915
+ decode_output_name: "kv_cache_v_12"
1916
+ type: TYPE_GLOBAL_VALUE_CACHE
1917
+ sequence_axis: 2
1918
+ maximum_sequence_length: 1280
1919
+ }
1920
+ state_buffers {
1921
+ prefill_input_name: "kv_cache_k_13"
1922
+ prefill_output_name: "kv_cache_k_13"
1923
+ decode_input_name: "kv_cache_k_13"
1924
+ decode_output_name: "kv_cache_k_13"
1925
+ type: TYPE_GLOBAL_KEY_CACHE
1926
+ sequence_axis: 3
1927
+ maximum_sequence_length: 1280
1928
+ }
1929
+ state_buffers {
1930
+ prefill_input_name: "kv_cache_v_13"
1931
+ prefill_output_name: "kv_cache_v_13"
1932
+ decode_input_name: "kv_cache_v_13"
1933
+ decode_output_name: "kv_cache_v_13"
1934
+ type: TYPE_GLOBAL_VALUE_CACHE
1935
+ sequence_axis: 2
1936
+ maximum_sequence_length: 1280
1937
+ }
1938
+ state_buffers {
1939
+ prefill_input_name: "kv_cache_k_14"
1940
+ prefill_output_name: "kv_cache_k_14"
1941
+ decode_input_name: "kv_cache_k_14"
1942
+ decode_output_name: "kv_cache_k_14"
1943
+ type: TYPE_GLOBAL_KEY_CACHE
1944
+ sequence_axis: 3
1945
+ maximum_sequence_length: 1280
1946
+ }
1947
+ state_buffers {
1948
+ prefill_input_name: "kv_cache_v_14"
1949
+ prefill_output_name: "kv_cache_v_14"
1950
+ decode_input_name: "kv_cache_v_14"
1951
+ decode_output_name: "kv_cache_v_14"
1952
+ type: TYPE_GLOBAL_VALUE_CACHE
1953
+ sequence_axis: 2
1954
+ maximum_sequence_length: 1280
1955
+ }
1956
+ state_buffers {
1957
+ prefill_input_name: "kv_cache_k_15"
1958
+ prefill_output_name: "kv_cache_k_15"
1959
+ decode_input_name: "kv_cache_k_15"
1960
+ decode_output_name: "kv_cache_k_15"
1961
+ type: TYPE_GLOBAL_KEY_CACHE
1962
+ sequence_axis: 3
1963
+ maximum_sequence_length: 1280
1964
+ }
1965
+ state_buffers {
1966
+ prefill_input_name: "kv_cache_v_15"
1967
+ prefill_output_name: "kv_cache_v_15"
1968
+ decode_input_name: "kv_cache_v_15"
1969
+ decode_output_name: "kv_cache_v_15"
1970
+ type: TYPE_GLOBAL_VALUE_CACHE
1971
+ sequence_axis: 2
1972
+ maximum_sequence_length: 1280
1973
+ }
1974
+ state_buffers {
1975
+ prefill_input_name: "kv_cache_k_16"
1976
+ prefill_output_name: "kv_cache_k_16"
1977
+ decode_input_name: "kv_cache_k_16"
1978
+ decode_output_name: "kv_cache_k_16"
1979
+ type: TYPE_GLOBAL_KEY_CACHE
1980
+ sequence_axis: 3
1981
+ maximum_sequence_length: 1280
1982
+ }
1983
+ state_buffers {
1984
+ prefill_input_name: "kv_cache_v_16"
1985
+ prefill_output_name: "kv_cache_v_16"
1986
+ decode_input_name: "kv_cache_v_16"
1987
+ decode_output_name: "kv_cache_v_16"
1988
+ type: TYPE_GLOBAL_VALUE_CACHE
1989
+ sequence_axis: 2
1990
+ maximum_sequence_length: 1280
1991
+ }
1992
+ state_buffers {
1993
+ prefill_input_name: "kv_cache_k_17"
1994
+ prefill_output_name: "kv_cache_k_17"
1995
+ decode_input_name: "kv_cache_k_17"
1996
+ decode_output_name: "kv_cache_k_17"
1997
+ type: TYPE_GLOBAL_KEY_CACHE
1998
+ sequence_axis: 3
1999
+ maximum_sequence_length: 1280
2000
+ }
2001
+ state_buffers {
2002
+ prefill_input_name: "kv_cache_v_17"
2003
+ prefill_output_name: "kv_cache_v_17"
2004
+ decode_input_name: "kv_cache_v_17"
2005
+ decode_output_name: "kv_cache_v_17"
2006
+ type: TYPE_GLOBAL_VALUE_CACHE
2007
+ sequence_axis: 2
2008
+ maximum_sequence_length: 1280
2009
+ }
2010
+ }
2011
+ >>>>>>>> end of ExecutorMetadata
2012
+ ExecutorMetadataProto.pbtext dumped to: /kaggle/working/export_npu/inter_sm8750-nowns/ExecutorMetadataProto.pbtext
2013
+
2014
+
2015
+ Section 2:
2016
+ Items:
2017
+ <None>
2018
+ Begin Offset: 49152
2019
+ End Offset: 5635536
2020
+ Data Type: HF_Tokenizer_Zlib
2021
+ Section2_HF_Tokenizer_Zlib dumped to: /kaggle/working/export_npu/inter_sm8750-nowns/Section2_HF_Tokenizer_Zlib.zlib
2022
+
2023
+
2024
+ Section 3:
2025
+ Items:
2026
+ Key: model_type, Value (String): tf_lite_prefill_decode
2027
+ Begin Offset: 5636096
2028
+ End Offset: 282505680
2029
+ Data Type: TFLiteModel
2030
+ Section3_TFLiteModel_tf_lite_prefill_decode.tflite dumped to: /kaggle/working/export_npu/inter_sm8750-nowns/Section3_TFLiteModel_tf_lite_prefill_decode.tflite
2031
+
2032
+
2033
+ Section 4:
2034
+ Items:
2035
+ Key: model_type, Value (String): tf_lite_embedder
2036
+ Begin Offset: 282509312
2037
+ End Offset: 456578352
2038
+ Data Type: TFLiteModel
2039
+ Section4_TFLiteModel_tf_lite_embedder.tflite dumped to: /kaggle/working/export_npu/inter_sm8750-nowns/Section4_TFLiteModel_tf_lite_embedder.tflite
2040
+
2041
+
2042
+ Section 5:
2043
+ Items:
2044
+ Key: model_type, Value (String): tf_lite_aux
2045
+ Begin Offset: 456589312
2046
+ End Offset: 456704036
2047
+ Data Type: TFLiteModel
2048
+ Section5_TFLiteModel_tf_lite_aux.tflite dumped to: /kaggle/working/export_npu/inter_sm8750-nowns/Section5_TFLiteModel_tf_lite_aux.tflite
2049
+
2050
+ ERROR:absl:Model path /kaggle/working/export_npu/inter_sm8750-nowns/Section3_TFLiteModel_tf_lite_prefill_decode.tflite size: 276869584
2051
+ ERROR:absl:Failed to compile prefill_decode: apply_plugin failed to apply plugin. See /tmp/tmp37_mpsg6.error for details.
2052
+ Traceback (most recent call last):
2053
+ File "/kaggle/src/script.py", line 176, in <module>
2054
+ compile_litertlm(input_litertlm=RAW, output_litertlm=outp,
2055
+ File "/usr/local/lib/python3.12/dist-packages/litert_torch/generative/export_hf/experimental/litert_lm_npu_compiler/litert_lm_npu_compiler.py", line 406, in compile_litertlm
2056
+ compiler(
2057
+ File "/usr/local/lib/python3.12/dist-packages/ai_edge_litert/aot/core/apply_plugin.py", line 146, in __call__
2058
+ import sys as _ap_sys
2059
+ ValueError: apply_plugin failed to apply plugin. See /tmp/tmp37_mpsg6.error for details.