/* Generated code for Python module 'models.modeling_llama' * created by Nuitka version 0.6.16 * * This code is in part copyright 2021 Kay Hayen. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include "nuitka/prelude.h" #include "nuitka/unfreezing.h" #include "__helpers.h" /* The "module_models$modeling_llama" is a Python object pointer of module type. * * Note: For full compatibility with CPython, every module variable access * needs to go through it except for cases where the module cannot possibly * have changed in the mean time. */ PyObject *module_models$modeling_llama; PyDictObject *moduledict_models$modeling_llama; /* The declarations of module constants used, if any. */ static PyObject *mod_consts[388]; static PyObject *module_filename_obj = NULL; /* Indicator if this modules private constants were created yet. */ static bool constants_created = false; /* Function to create module private constants. */ static void createModuleConstants(void) { if (constants_created == false) { loadConstantsBlob(&mod_consts[0], UNTRANSLATE("models.modeling_llama")); constants_created = true; } } /* For multiprocessing, we want to be able to initialize the __main__ constants. */ #if (_NUITKA_PLUGIN_MULTIPROCESSING_ENABLED || _NUITKA_PLUGIN_TRACEBACK_ENCRYPTION_ENABLED) && 0 void createMainModuleConstants(void) { createModuleConstants(); } #endif /* Function to verify module private constants for non-corruption. */ #ifndef __NUITKA_NO_ASSERT__ void checkModuleConstants_models$modeling_llama(void) { // The module may not have been used at all, then ignore this. if (constants_created == false) return; checkConstantsBlob(&mod_consts[0], "models.modeling_llama"); } #endif // The module code objects. static PyCodeObject *codeobj_0bf645264150dca3bf6477b51a7f2003; static PyCodeObject *codeobj_043489d57f895ee9a5149b547d2710e3; static PyCodeObject *codeobj_d7f72266184bbb812a9b7a6d2b672162; static PyCodeObject *codeobj_b47d89b49d102399398e0765f596b180; static PyCodeObject *codeobj_aca01221fccc10a735da06b3d695c25b; static PyCodeObject *codeobj_a5de3027f055170f0bf431b824d52d88; static PyCodeObject *codeobj_d7f5c0252258d40dc97c13fce1ad00df; static PyCodeObject *codeobj_d3d850b73f36ab819cbbe4b6b25a3a5e; static PyCodeObject *codeobj_8c53a3442347f49427162dbefea4c48e; static PyCodeObject *codeobj_9171f0378e83efc52a6d63ba30cfd90a; static PyCodeObject *codeobj_8d9c85872767131fcb53711a96f1cb64; static PyCodeObject *codeobj_1cc896795a78acf396f78e2df5833914; static PyCodeObject *codeobj_0ad3c42e181292178c7936502c2f7430; static PyCodeObject *codeobj_1ad920172ce0ce172659e0f425a48750; static PyCodeObject *codeobj_45248b6ce1a7d57704c8c737dc971859; static PyCodeObject *codeobj_af13abb0cc2351b5f5b393e2acc0b056; static PyCodeObject *codeobj_78e3711e3cafeb58cf29e8b25617a9e0; static PyCodeObject *codeobj_0bb23957f71874ab212d48ec53f578f9; static PyCodeObject *codeobj_c812a220ca24815dfca385c9b756a3e4; static PyCodeObject *codeobj_abb5b7acfd901868aef4d2366bcf6565; static PyCodeObject *codeobj_09a61b81c452dbc8a34df4d6a59c7c55; static PyCodeObject *codeobj_afac492b3bc88f3584403f9b1d4fc0ca; static PyCodeObject *codeobj_7ec521dc71dd8971217328f7e27574e8; static PyCodeObject *codeobj_a7c0483b9d65c83ba388d353ba9481db; static PyCodeObject *codeobj_f437efa8710cbbb70af30b9d54241009; static PyCodeObject *codeobj_f31112a82b6d451edce0ceec3d4f5560; static PyCodeObject *codeobj_175cc427deba3e5032b050ced786acda; static PyCodeObject *codeobj_2ce127e57fc75426d2a6e2805b8b374d; static PyCodeObject *codeobj_b4f214bd3cde2ab1b0be661bbce2cf57; static PyCodeObject *codeobj_946cee16beaa54a0e81a9daa8677f97e; static PyCodeObject *codeobj_70854e41c56fe5eee0f0a9936eb360bf; static PyCodeObject *codeobj_9778e8bbcc730a14db1505b1bf09e315; static PyCodeObject *codeobj_dd2059866c881e3f95a83278e7c7e817; static PyCodeObject *codeobj_f85cccd268d3146046e93cf36289e67a; static PyCodeObject *codeobj_62a79f1c410f5a7722a1410b65e3d18a; static PyCodeObject *codeobj_03daddd79d79be6b65f276d9f318ba49; static PyCodeObject *codeobj_56724c513f939913a896f3556a51c73f; static PyCodeObject *codeobj_6c282c8d6b8bf19a45998db55bce5931; static PyCodeObject *codeobj_6f07a55f43d8fc2b2b6c0d3fdef34b4b; static PyCodeObject *codeobj_e5f8594c1ee7511e7c927efb6686b6c4; static PyCodeObject *codeobj_57bd173b2570561cb4e3a121dd7fa21d; static PyCodeObject *codeobj_9e040397e2554ecbd4bfb2870d7f13bd; static PyCodeObject *codeobj_5e5d312b178487ab3f5527465551d2d4; static PyCodeObject *codeobj_665c3f1cec895ee4f51349c0fd396d92; static PyCodeObject *codeobj_d651ab60ba265483702bf3c01175dea8; static PyCodeObject *codeobj_4aaa4b40029a15584899573348c54723; static void createModuleCodeObjects(void) { module_filename_obj = MAKE_RELATIVE_PATH(mod_consts[352]); CHECK_OBJECT(module_filename_obj); codeobj_0bf645264150dca3bf6477b51a7f2003 = MAKE_CODEOBJECT(module_filename_obj, 754, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[201], mod_consts[353], NULL, 1, 0, 0); codeobj_043489d57f895ee9a5149b547d2710e3 = MAKE_CODEOBJECT(module_filename_obj, 591, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[201], mod_consts[354], NULL, 1, 0, 0); codeobj_d7f72266184bbb812a9b7a6d2b672162 = MAKE_CODEOBJECT(module_filename_obj, 429, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[355], mod_consts[356], NULL, 1, 0, 0); codeobj_b47d89b49d102399398e0765f596b180 = MAKE_CODEOBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[357], NULL, NULL, 0, 0, 0); codeobj_aca01221fccc10a735da06b3d695c25b = MAKE_CODEOBJECT(module_filename_obj, 144, CO_NOFREE, mod_consts[129], mod_consts[358], NULL, 0, 0, 0); codeobj_a5de3027f055170f0bf431b824d52d88 = MAKE_CODEOBJECT(module_filename_obj, 235, CO_NOFREE, mod_consts[162], mod_consts[358], NULL, 0, 0, 0); codeobj_d7f5c0252258d40dc97c13fce1ad00df = MAKE_CODEOBJECT(module_filename_obj, 600, CO_NOFREE, mod_consts[330], mod_consts[358], NULL, 0, 0, 0); codeobj_d3d850b73f36ab819cbbe4b6b25a3a5e = MAKE_CODEOBJECT(module_filename_obj, 127, CO_NOFREE, mod_consts[131], mod_consts[358], NULL, 0, 0, 0); codeobj_8c53a3442347f49427162dbefea4c48e = MAKE_CODEOBJECT(module_filename_obj, 415, CO_NOFREE, mod_consts[155], mod_consts[358], NULL, 0, 0, 0); codeobj_9171f0378e83efc52a6d63ba30cfd90a = MAKE_CODEOBJECT(module_filename_obj, 324, CO_NOFREE, mod_consts[305], mod_consts[358], NULL, 0, 0, 0); codeobj_8d9c85872767131fcb53711a96f1cb64 = MAKE_CODEOBJECT(module_filename_obj, 58, CO_NOFREE, mod_consts[134], mod_consts[358], NULL, 0, 0, 0); codeobj_1cc896795a78acf396f78e2df5833914 = MAKE_CODEOBJECT(module_filename_obj, 78, CO_NOFREE, mod_consts[98], mod_consts[358], NULL, 0, 0, 0); codeobj_0ad3c42e181292178c7936502c2f7430 = MAKE_CODEOBJECT(module_filename_obj, 147, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[32], mod_consts[359], mod_consts[358], 2, 0, 0); codeobj_1ad920172ce0ce172659e0f425a48750 = MAKE_CODEOBJECT(module_filename_obj, 236, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[32], mod_consts[359], mod_consts[358], 2, 0, 0); codeobj_45248b6ce1a7d57704c8c737dc971859 = MAKE_CODEOBJECT(module_filename_obj, 423, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[32], mod_consts[359], mod_consts[358], 2, 0, 0); codeobj_af13abb0cc2351b5f5b393e2acc0b056 = MAKE_CODEOBJECT(module_filename_obj, 601, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[32], mod_consts[359], mod_consts[358], 2, 0, 0); codeobj_78e3711e3cafeb58cf29e8b25617a9e0 = MAKE_CODEOBJECT(module_filename_obj, 79, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[32], mod_consts[360], mod_consts[358], 5, 0, 0); codeobj_0bb23957f71874ab212d48ec53f578f9 = MAKE_CODEOBJECT(module_filename_obj, 59, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[32], mod_consts[361], mod_consts[358], 3, 0, 0); codeobj_c812a220ca24815dfca385c9b756a3e4 = MAKE_CODEOBJECT(module_filename_obj, 128, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[32], mod_consts[362], mod_consts[358], 4, 0, 0); codeobj_abb5b7acfd901868aef4d2366bcf6565 = MAKE_CODEOBJECT(module_filename_obj, 44, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[168], mod_consts[363], NULL, 3, 0, 0); codeobj_09a61b81c452dbc8a34df4d6a59c7c55 = MAKE_CODEOBJECT(module_filename_obj, 331, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[314], mod_consts[364], NULL, 2, 0, 0); codeobj_afac492b3bc88f3584403f9b1d4fc0ca = MAKE_CODEOBJECT(module_filename_obj, 26, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[166], mod_consts[365], NULL, 4, 0, 0); codeobj_7ec521dc71dd8971217328f7e27574e8 = MAKE_CODEOBJECT(module_filename_obj, 443, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[181], mod_consts[366], NULL, 5, 0, 0); codeobj_a7c0483b9d65c83ba388d353ba9481db = MAKE_CODEOBJECT(module_filename_obj, 751, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[350], mod_consts[367], NULL, 2, 0, 0); codeobj_f437efa8710cbbb70af30b9d54241009 = MAKE_CODEOBJECT(module_filename_obj, 342, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[317], mod_consts[368], NULL, 3, 0, 0); codeobj_f31112a82b6d451edce0ceec3d4f5560 = MAKE_CODEOBJECT(module_filename_obj, 166, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[294], mod_consts[369], NULL, 4, 0, 0); codeobj_175cc427deba3e5032b050ced786acda = MAKE_CODEOBJECT(module_filename_obj, 117, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[108], mod_consts[370], NULL, 5, 0, 0); codeobj_2ce127e57fc75426d2a6e2805b8b374d = MAKE_CODEOBJECT(module_filename_obj, 551, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[189], mod_consts[371], mod_consts[372], 1, 0, 0); codeobj_b4f214bd3cde2ab1b0be661bbce2cf57 = MAKE_CODEOBJECT(module_filename_obj, 552, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS, mod_consts[198], mod_consts[373], mod_consts[374], 0, 0, 0); codeobj_946cee16beaa54a0e81a9daa8677f97e = MAKE_CODEOBJECT(module_filename_obj, 169, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[282], mod_consts[375], NULL, 7, 0, 0); codeobj_70854e41c56fe5eee0f0a9936eb360bf = MAKE_CODEOBJECT(module_filename_obj, 248, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[282], mod_consts[376], NULL, 7, 0, 0); codeobj_9778e8bbcc730a14db1505b1bf09e315 = MAKE_CODEOBJECT(module_filename_obj, 67, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[282], mod_consts[377], NULL, 2, 0, 0); codeobj_dd2059866c881e3f95a83278e7c7e817 = MAKE_CODEOBJECT(module_filename_obj, 630, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[282], mod_consts[378], NULL, 12, 0, 0); codeobj_f85cccd268d3146046e93cf36289e67a = MAKE_CODEOBJECT(module_filename_obj, 467, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[282], mod_consts[379], NULL, 11, 0, 0); codeobj_62a79f1c410f5a7722a1410b65e3d18a = MAKE_CODEOBJECT(module_filename_obj, 140, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[282], mod_consts[380], NULL, 2, 0, 0); codeobj_03daddd79d79be6b65f276d9f318ba49 = MAKE_CODEOBJECT(module_filename_obj, 93, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[282], mod_consts[381], NULL, 3, 0, 0); codeobj_56724c513f939913a896f3556a51c73f = MAKE_CODEOBJECT(module_filename_obj, 625, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[340], mod_consts[382], NULL, 1, 0, 0); codeobj_6c282c8d6b8bf19a45998db55bce5931 = MAKE_CODEOBJECT(module_filename_obj, 436, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[323], mod_consts[382], NULL, 1, 0, 0); codeobj_6f07a55f43d8fc2b2b6c0d3fdef34b4b = MAKE_CODEOBJECT(module_filename_obj, 610, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[323], mod_consts[382], NULL, 1, 0, 0); codeobj_e5f8594c1ee7511e7c927efb6686b6c4 = MAKE_CODEOBJECT(module_filename_obj, 616, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[334], mod_consts[382], NULL, 1, 0, 0); codeobj_57bd173b2570561cb4e3a121dd7fa21d = MAKE_CODEOBJECT(module_filename_obj, 718, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[347], mod_consts[383], NULL, 6, 0, 0); codeobj_9e040397e2554ecbd4bfb2870d7f13bd = MAKE_CODEOBJECT(module_filename_obj, 110, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[73], mod_consts[384], NULL, 1, 0, 0); codeobj_5e5d312b178487ab3f5527465551d2d4 = MAKE_CODEOBJECT(module_filename_obj, 622, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[338], mod_consts[385], NULL, 2, 0, 0); codeobj_665c3f1cec895ee4f51349c0fd396d92 = MAKE_CODEOBJECT(module_filename_obj, 439, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[325], mod_consts[386], NULL, 2, 0, 0); codeobj_d651ab60ba265483702bf3c01175dea8 = MAKE_CODEOBJECT(module_filename_obj, 613, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[325], mod_consts[386], NULL, 2, 0, 0); codeobj_4aaa4b40029a15584899573348c54723 = MAKE_CODEOBJECT(module_filename_obj, 619, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[336], mod_consts[387], NULL, 2, 0, 0); } // The module function declarations. static PyObject *MAKE_GENERATOR_models$modeling_llama$$$function__22_forward$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure); static PyObject *MAKE_GENERATOR_models$modeling_llama$$$function__32__reorder_cache$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure); NUITKA_CROSS_MODULE PyObject *impl_models$$$function__1__mro_entries_conversion(PyObject **python_pars); NUITKA_CROSS_MODULE PyObject *impl_models$$$function__2_complex_call_helper_star_list(PyObject **python_pars); NUITKA_CROSS_MODULE PyObject *impl_models$$$function__4__unpack_list(PyObject **python_pars); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__10_forward(); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__11___init__(PyObject *annotations, struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__12__shape(PyObject *annotations); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__13_forward(PyObject *defaults, PyObject *annotations); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__14___init__(PyObject *annotations, struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__15_forward(PyObject *defaults, PyObject *annotations); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__16__init_weights(); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__17__set_gradient_checkpointing(PyObject *defaults); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__18___init__(PyObject *annotations, struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__19_get_input_embeddings(); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__1__make_causal_mask(PyObject *defaults, PyObject *annotations); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__20_set_input_embeddings(); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__21__prepare_decoder_attention_mask(); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__22_forward(PyObject *defaults, PyObject *annotations); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__22_forward$$$function__1_create_custom_forward(struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__22_forward$$$function__1_create_custom_forward$$$function__1_custom_forward(struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__23___init__(struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__24_get_input_embeddings(); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__25_set_input_embeddings(); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__26_get_output_embeddings(); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__27_set_output_embeddings(); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__28_set_decoder(); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__29_get_decoder(); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__2__expand_mask(PyObject *defaults, PyObject *annotations); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__30_forward(PyObject *defaults, PyObject *annotations); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__31_prepare_inputs_for_generation(PyObject *defaults); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__32__reorder_cache(); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__3___init__(PyObject *defaults, struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__4_forward(); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__5___init__(PyObject *defaults, struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__6_forward(PyObject *defaults); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__7_rotate_half(); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__8_apply_rotary_pos_emb(); static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__9___init__(PyObject *annotations, struct Nuitka_CellObject **closure); // The module function definitions. static PyObject *impl_models$modeling_llama$$$function__1__make_causal_mask(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_input_ids_shape = python_pars[0]; PyObject *par_dtype = python_pars[1]; PyObject *par_device = python_pars[2]; PyObject *par_past_key_values_length = python_pars[3]; PyObject *var_bsz = NULL; PyObject *var_tgt_len = NULL; PyObject *var_mask = NULL; PyObject *var_mask_cond = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_afac492b3bc88f3584403f9b1d4fc0ca; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; int tmp_res; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_afac492b3bc88f3584403f9b1d4fc0ca = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_afac492b3bc88f3584403f9b1d4fc0ca)) { Py_XDECREF(cache_frame_afac492b3bc88f3584403f9b1d4fc0ca); #if _DEBUG_REFCOUNTS if (cache_frame_afac492b3bc88f3584403f9b1d4fc0ca == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_afac492b3bc88f3584403f9b1d4fc0ca = MAKE_FUNCTION_FRAME(codeobj_afac492b3bc88f3584403f9b1d4fc0ca, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_afac492b3bc88f3584403f9b1d4fc0ca->m_type_description == NULL); frame_afac492b3bc88f3584403f9b1d4fc0ca = cache_frame_afac492b3bc88f3584403f9b1d4fc0ca; // Push the new frame as the currently active one. pushFrameStack(frame_afac492b3bc88f3584403f9b1d4fc0ca); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_afac492b3bc88f3584403f9b1d4fc0ca) == 2); // Frame stack // Framed code: // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; CHECK_OBJECT(par_input_ids_shape); tmp_iter_arg_1 = par_input_ids_shape; tmp_assign_source_1 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; type_description_1 = "oooooooo"; goto try_except_handler_2; } assert(tmp_tuple_unpack_1__source_iter == NULL); tmp_tuple_unpack_1__source_iter = tmp_assign_source_1; } // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_2 = UNPACK_NEXT(tmp_unpack_1, 0, 2); if (tmp_assign_source_2 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooo"; exception_lineno = 32; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_1 == NULL); tmp_tuple_unpack_1__element_1 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_2, 1, 2); if (tmp_assign_source_3 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooo"; exception_lineno = 32; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_2 == NULL); tmp_tuple_unpack_1__element_2 = tmp_assign_source_3; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooo"; exception_lineno = 32; goto try_except_handler_3; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[0]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooooooo"; exception_lineno = 32; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_4; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_4 = tmp_tuple_unpack_1__element_1; assert(var_bsz == NULL); Py_INCREF(tmp_assign_source_4); var_bsz = tmp_assign_source_4; } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_5; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_5 = tmp_tuple_unpack_1__element_2; assert(var_tgt_len == NULL); Py_INCREF(tmp_assign_source_5); var_tgt_len = tmp_assign_source_5; } Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; { PyObject *tmp_assign_source_6; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_tuple_element_2; PyObject *tmp_kwargs_name_2; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_1 == NULL)) { tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 33; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[2]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 33; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_tgt_len); tmp_tuple_element_2 = var_tgt_len; tmp_tuple_element_1 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_tuple_element_1, 0, tmp_tuple_element_2); CHECK_OBJECT(var_tgt_len); tmp_tuple_element_2 = var_tgt_len; PyTuple_SET_ITEM0(tmp_tuple_element_1, 1, tmp_tuple_element_2); tmp_args_name_1 = PyTuple_New(2); { PyObject *tmp_called_name_2; PyObject *tmp_expression_name_2; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_3; PyObject *tmp_expression_name_3; PyObject *tmp_called_instance_1; PyObject *tmp_args_element_name_1; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyTuple_SET_ITEM(tmp_args_name_1, 0, tmp_tuple_element_1); tmp_expression_name_2 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_2 == NULL)) { tmp_expression_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 33; type_description_1 = "oooooooo"; goto tuple_build_exception_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[3]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 33; type_description_1 = "oooooooo"; goto tuple_build_exception_1; } tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_called_instance_1 == NULL)) { tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 33; type_description_1 = "oooooooo"; goto tuple_build_exception_1; } CHECK_OBJECT(par_dtype); tmp_args_element_name_1 = par_dtype; frame_afac492b3bc88f3584403f9b1d4fc0ca->m_frame.f_lineno = 33; tmp_expression_name_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[4], tmp_args_element_name_1); if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 33; type_description_1 = "oooooooo"; goto tuple_build_exception_1; } tmp_tuple_element_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[5]); Py_DECREF(tmp_expression_name_3); if (tmp_tuple_element_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 33; type_description_1 = "oooooooo"; goto tuple_build_exception_1; } tmp_args_name_2 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_2, 0, tmp_tuple_element_3); tmp_dict_key_1 = mod_consts[6]; CHECK_OBJECT(par_device); tmp_dict_value_1 = par_device; tmp_kwargs_name_1 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); frame_afac492b3bc88f3584403f9b1d4fc0ca->m_frame.f_lineno = 33; tmp_tuple_element_1 = CALL_FUNCTION(tmp_called_name_2, tmp_args_name_2, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_name_2); Py_DECREF(tmp_kwargs_name_1); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 33; type_description_1 = "oooooooo"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_args_name_1, 1, tmp_tuple_element_1); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_dict_key_2 = mod_consts[6]; if (par_device == NULL) { Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[6]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 33; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_dict_value_2 = par_device; tmp_kwargs_name_2 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); assert(!(tmp_res != 0)); frame_afac492b3bc88f3584403f9b1d4fc0ca->m_frame.f_lineno = 33; tmp_assign_source_6 = CALL_FUNCTION(tmp_called_name_1, tmp_args_name_1, tmp_kwargs_name_2); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_2); if (tmp_assign_source_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 33; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } assert(var_mask == NULL); var_mask = tmp_assign_source_6; } { PyObject *tmp_assign_source_7; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_4; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_4; PyObject *tmp_called_instance_2; PyObject *tmp_kwargs_name_3; PyObject *tmp_dict_key_3; PyObject *tmp_dict_value_3; tmp_expression_name_4 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_4 == NULL)) { tmp_expression_name_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 34; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[7]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 34; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_mask); tmp_called_instance_2 = var_mask; frame_afac492b3bc88f3584403f9b1d4fc0ca->m_frame.f_lineno = 34; tmp_tuple_element_4 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, mod_consts[8], &PyTuple_GET_ITEM(mod_consts[9], 0) ); if (tmp_tuple_element_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 34; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_name_3 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_3, 0, tmp_tuple_element_4); tmp_dict_key_3 = mod_consts[6]; if (par_device == NULL) { Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[6]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 34; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_dict_value_3 = par_device; tmp_kwargs_name_3 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_3, tmp_dict_key_3, tmp_dict_value_3); assert(!(tmp_res != 0)); frame_afac492b3bc88f3584403f9b1d4fc0ca->m_frame.f_lineno = 34; tmp_assign_source_7 = CALL_FUNCTION(tmp_called_name_3, tmp_args_name_3, tmp_kwargs_name_3); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_name_3); Py_DECREF(tmp_kwargs_name_3); if (tmp_assign_source_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 34; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } assert(var_mask_cond == NULL); var_mask_cond = tmp_assign_source_7; } { PyObject *tmp_called_name_4; PyObject *tmp_expression_name_5; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_called_name_5; PyObject *tmp_expression_name_6; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_args_element_name_3; PyObject *tmp_called_instance_3; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; if (var_mask == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 35; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_expression_name_5 = var_mask; tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[11]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 35; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_mask_cond); tmp_compexpr_left_1 = var_mask_cond; CHECK_OBJECT(var_mask_cond); tmp_left_name_1 = var_mask_cond; tmp_right_name_1 = mod_consts[12]; tmp_expression_name_6 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_left_name_1, tmp_right_name_1); if (tmp_expression_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 35; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[13]); Py_DECREF(tmp_expression_name_6); if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 35; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if (var_mask == NULL) { Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_called_name_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 35; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_instance_3 = var_mask; frame_afac492b3bc88f3584403f9b1d4fc0ca->m_frame.f_lineno = 35; tmp_args_element_name_3 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, mod_consts[8], &PyTuple_GET_ITEM(mod_consts[9], 0) ); if (tmp_args_element_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_called_name_5); exception_lineno = 35; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = mod_consts[12]; frame_afac492b3bc88f3584403f9b1d4fc0ca->m_frame.f_lineno = 35; { PyObject *call_args[] = {tmp_args_element_name_3, tmp_args_element_name_4}; tmp_compexpr_right_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_5, call_args); } Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_element_name_3); if (tmp_compexpr_right_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 35; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = RICH_COMPARE_LT_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_1, tmp_compexpr_right_1); Py_DECREF(tmp_compexpr_right_1); if (tmp_args_element_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 35; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = mod_consts[14]; frame_afac492b3bc88f3584403f9b1d4fc0ca->m_frame.f_lineno = 35; { PyObject *call_args[] = {tmp_args_element_name_2, tmp_args_element_name_5}; tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_4, call_args); } Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_element_name_2); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 35; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assign_source_8; PyObject *tmp_called_name_6; PyObject *tmp_expression_name_7; PyObject *tmp_args_element_name_6; if (var_mask == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 36; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_expression_name_7 = var_mask; tmp_called_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[15]); if (tmp_called_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 36; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if (par_dtype == NULL) { Py_DECREF(tmp_called_name_6); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[16]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 36; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = par_dtype; frame_afac492b3bc88f3584403f9b1d4fc0ca->m_frame.f_lineno = 36; tmp_assign_source_8 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_6, tmp_args_element_name_6); Py_DECREF(tmp_called_name_6); if (tmp_assign_source_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 36; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_mask; var_mask = tmp_assign_source_8; Py_XDECREF(old); } } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_tmp_condition_result_1_object_1; int tmp_truth_name_1; CHECK_OBJECT(par_past_key_values_length); tmp_compexpr_left_2 = par_past_key_values_length; tmp_compexpr_right_2 = mod_consts[14]; tmp_tmp_condition_result_1_object_1 = RICH_COMPARE_GT_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_2, tmp_compexpr_right_2); if (tmp_tmp_condition_result_1_object_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 38; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE(tmp_tmp_condition_result_1_object_1); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_tmp_condition_result_1_object_1); exception_lineno = 38; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_tmp_condition_result_1_object_1); if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assign_source_9; PyObject *tmp_called_name_7; PyObject *tmp_expression_name_8; PyObject *tmp_args_name_4; PyObject *tmp_tuple_element_5; PyObject *tmp_list_element_1; PyObject *tmp_called_name_8; PyObject *tmp_expression_name_9; PyObject *tmp_args_name_5; PyObject *tmp_tuple_element_6; PyObject *tmp_kwargs_name_4; PyObject *tmp_dict_key_4; PyObject *tmp_dict_value_4; PyObject *tmp_kwargs_name_5; tmp_expression_name_8 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_8 == NULL)) { tmp_expression_name_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 39; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[17]); if (tmp_called_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 39; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_expression_name_9 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_9 == NULL)) { tmp_expression_name_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_7); exception_lineno = 39; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[18]); if (tmp_called_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_7); exception_lineno = 39; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if (var_tgt_len == NULL) { Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_called_name_8); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[19]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 39; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_6 = var_tgt_len; tmp_args_name_5 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_5, 0, tmp_tuple_element_6); CHECK_OBJECT(par_past_key_values_length); tmp_tuple_element_6 = par_past_key_values_length; PyTuple_SET_ITEM0(tmp_args_name_5, 1, tmp_tuple_element_6); tmp_dict_key_4 = mod_consts[16]; if (par_dtype == NULL) { Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_called_name_8); Py_DECREF(tmp_args_name_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[16]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 39; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_dict_value_4 = par_dtype; tmp_kwargs_name_4 = _PyDict_NewPresized( 2 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_4, tmp_dict_value_4); assert(!(tmp_res != 0)); tmp_dict_key_4 = mod_consts[6]; if (par_device == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[6]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 39; type_description_1 = "oooooooo"; goto dict_build_exception_1; } tmp_dict_value_4 = par_device; tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_4, tmp_dict_value_4); assert(!(tmp_res != 0)); goto dict_build_noexception_1; // Exception handling pass through code for dict_build: dict_build_exception_1:; Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_called_name_8); Py_DECREF(tmp_args_name_5); Py_DECREF(tmp_kwargs_name_4); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_1:; frame_afac492b3bc88f3584403f9b1d4fc0ca->m_frame.f_lineno = 39; tmp_list_element_1 = CALL_FUNCTION(tmp_called_name_8, tmp_args_name_5, tmp_kwargs_name_4); Py_DECREF(tmp_called_name_8); Py_DECREF(tmp_args_name_5); Py_DECREF(tmp_kwargs_name_4); if (tmp_list_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_7); exception_lineno = 39; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_5 = PyList_New(2); PyList_SET_ITEM(tmp_tuple_element_5, 0, tmp_list_element_1); CHECK_OBJECT(var_mask); tmp_list_element_1 = var_mask; PyList_SET_ITEM0(tmp_tuple_element_5, 1, tmp_list_element_1); tmp_args_name_4 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_4, 0, tmp_tuple_element_5); tmp_kwargs_name_5 = PyDict_Copy(mod_consts[20]); frame_afac492b3bc88f3584403f9b1d4fc0ca->m_frame.f_lineno = 39; tmp_assign_source_9 = CALL_FUNCTION(tmp_called_name_7, tmp_args_name_4, tmp_kwargs_name_5); Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_args_name_4); Py_DECREF(tmp_kwargs_name_5); if (tmp_assign_source_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 39; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_mask; var_mask = tmp_assign_source_9; Py_XDECREF(old); } } branch_no_1:; { PyObject *tmp_called_name_9; PyObject *tmp_expression_name_10; PyObject *tmp_expression_name_11; PyObject *tmp_subscript_name_1; PyObject *tmp_args_element_name_7; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; PyObject *tmp_args_element_name_10; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; CHECK_OBJECT(var_mask); tmp_expression_name_11 = var_mask; tmp_subscript_name_1 = mod_consts[21]; tmp_expression_name_10 = LOOKUP_SUBSCRIPT(tmp_expression_name_11, tmp_subscript_name_1); if (tmp_expression_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 40; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[22]); Py_DECREF(tmp_expression_name_10); if (tmp_called_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 40; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_bsz); tmp_args_element_name_7 = var_bsz; tmp_args_element_name_8 = mod_consts[12]; if (var_tgt_len == NULL) { Py_DECREF(tmp_called_name_9); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[19]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 40; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_9 = var_tgt_len; if (var_tgt_len == NULL) { Py_DECREF(tmp_called_name_9); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[19]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 40; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_left_name_2 = var_tgt_len; if (par_past_key_values_length == NULL) { Py_DECREF(tmp_called_name_9); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[23]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 40; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_right_name_2 = par_past_key_values_length; tmp_args_element_name_10 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_2, tmp_right_name_2); if (tmp_args_element_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_9); exception_lineno = 40; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } frame_afac492b3bc88f3584403f9b1d4fc0ca->m_frame.f_lineno = 40; { PyObject *call_args[] = {tmp_args_element_name_7, tmp_args_element_name_8, tmp_args_element_name_9, tmp_args_element_name_10}; tmp_return_value = CALL_FUNCTION_WITH_ARGS4(tmp_called_name_9, call_args); } Py_DECREF(tmp_called_name_9); Py_DECREF(tmp_args_element_name_10); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 40; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_afac492b3bc88f3584403f9b1d4fc0ca); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_afac492b3bc88f3584403f9b1d4fc0ca); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_afac492b3bc88f3584403f9b1d4fc0ca); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_afac492b3bc88f3584403f9b1d4fc0ca, exception_lineno); } else if (exception_tb->tb_frame != &frame_afac492b3bc88f3584403f9b1d4fc0ca->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_afac492b3bc88f3584403f9b1d4fc0ca, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_afac492b3bc88f3584403f9b1d4fc0ca, type_description_1, par_input_ids_shape, par_dtype, par_device, par_past_key_values_length, var_bsz, var_tgt_len, var_mask, var_mask_cond ); // Release cached frame if used for exception. if (frame_afac492b3bc88f3584403f9b1d4fc0ca == cache_frame_afac492b3bc88f3584403f9b1d4fc0ca) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_afac492b3bc88f3584403f9b1d4fc0ca); cache_frame_afac492b3bc88f3584403f9b1d4fc0ca = NULL; } assertFrameObject(frame_afac492b3bc88f3584403f9b1d4fc0ca); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_input_ids_shape); par_input_ids_shape = NULL; Py_XDECREF(par_dtype); par_dtype = NULL; Py_XDECREF(par_device); par_device = NULL; Py_XDECREF(par_past_key_values_length); par_past_key_values_length = NULL; Py_XDECREF(var_bsz); var_bsz = NULL; Py_XDECREF(var_tgt_len); var_tgt_len = NULL; CHECK_OBJECT(var_mask); Py_DECREF(var_mask); var_mask = NULL; Py_XDECREF(var_mask_cond); var_mask_cond = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_input_ids_shape); par_input_ids_shape = NULL; Py_XDECREF(par_dtype); par_dtype = NULL; Py_XDECREF(par_device); par_device = NULL; Py_XDECREF(par_past_key_values_length); par_past_key_values_length = NULL; Py_XDECREF(var_bsz); var_bsz = NULL; Py_XDECREF(var_tgt_len); var_tgt_len = NULL; Py_XDECREF(var_mask); var_mask = NULL; Py_XDECREF(var_mask_cond); var_mask_cond = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__2__expand_mask(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_mask = python_pars[0]; PyObject *par_dtype = python_pars[1]; PyObject *par_tgt_len = python_pars[2]; PyObject *var_bsz = NULL; PyObject *var_src_len = NULL; PyObject *var_expanded_mask = NULL; PyObject *var_inverted_mask = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_abb5b7acfd901868aef4d2366bcf6565; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_abb5b7acfd901868aef4d2366bcf6565 = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_abb5b7acfd901868aef4d2366bcf6565)) { Py_XDECREF(cache_frame_abb5b7acfd901868aef4d2366bcf6565); #if _DEBUG_REFCOUNTS if (cache_frame_abb5b7acfd901868aef4d2366bcf6565 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_abb5b7acfd901868aef4d2366bcf6565 = MAKE_FUNCTION_FRAME(codeobj_abb5b7acfd901868aef4d2366bcf6565, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_abb5b7acfd901868aef4d2366bcf6565->m_type_description == NULL); frame_abb5b7acfd901868aef4d2366bcf6565 = cache_frame_abb5b7acfd901868aef4d2366bcf6565; // Push the new frame as the currently active one. pushFrameStack(frame_abb5b7acfd901868aef4d2366bcf6565); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_abb5b7acfd901868aef4d2366bcf6565) == 2); // Frame stack // Framed code: // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_called_instance_1; CHECK_OBJECT(par_mask); tmp_called_instance_1 = par_mask; frame_abb5b7acfd901868aef4d2366bcf6565->m_frame.f_lineno = 48; tmp_iter_arg_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[8]); if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 48; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_assign_source_1 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 48; type_description_1 = "ooooooo"; goto try_except_handler_2; } assert(tmp_tuple_unpack_1__source_iter == NULL); tmp_tuple_unpack_1__source_iter = tmp_assign_source_1; } // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_2 = UNPACK_NEXT(tmp_unpack_1, 0, 2); if (tmp_assign_source_2 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooooo"; exception_lineno = 48; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_1 == NULL); tmp_tuple_unpack_1__element_1 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_2, 1, 2); if (tmp_assign_source_3 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooooo"; exception_lineno = 48; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_2 == NULL); tmp_tuple_unpack_1__element_2 = tmp_assign_source_3; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "ooooooo"; exception_lineno = 48; goto try_except_handler_3; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[0]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "ooooooo"; exception_lineno = 48; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_4; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_4 = tmp_tuple_unpack_1__element_1; assert(var_bsz == NULL); Py_INCREF(tmp_assign_source_4); var_bsz = tmp_assign_source_4; } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_5; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_5 = tmp_tuple_unpack_1__element_2; assert(var_src_len == NULL); Py_INCREF(tmp_assign_source_5); var_src_len = tmp_assign_source_5; } Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; { PyObject *tmp_assign_source_6; bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT(par_tgt_len); tmp_compexpr_left_1 = par_tgt_len; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? true : false; if (tmp_condition_result_1 != false) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; CHECK_OBJECT(par_tgt_len); tmp_assign_source_6 = par_tgt_len; goto condexpr_end_1; condexpr_false_1:; CHECK_OBJECT(var_src_len); tmp_assign_source_6 = var_src_len; condexpr_end_1:; { PyObject *old = par_tgt_len; assert(old != NULL); par_tgt_len = tmp_assign_source_6; Py_INCREF(par_tgt_len); Py_DECREF(old); } } { PyObject *tmp_assign_source_7; PyObject *tmp_called_instance_2; PyObject *tmp_called_instance_3; PyObject *tmp_expression_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; if (par_mask == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 51; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_expression_name_1 = par_mask; tmp_subscript_name_1 = mod_consts[25]; tmp_called_instance_3 = LOOKUP_SUBSCRIPT(tmp_expression_name_1, tmp_subscript_name_1); if (tmp_called_instance_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 51; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_bsz); tmp_args_element_name_1 = var_bsz; tmp_args_element_name_2 = mod_consts[12]; CHECK_OBJECT(par_tgt_len); tmp_args_element_name_3 = par_tgt_len; CHECK_OBJECT(var_src_len); tmp_args_element_name_4 = var_src_len; frame_abb5b7acfd901868aef4d2366bcf6565->m_frame.f_lineno = 51; { PyObject *call_args[] = {tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4}; tmp_called_instance_2 = CALL_METHOD_WITH_ARGS4( tmp_called_instance_3, mod_consts[22], call_args ); } Py_DECREF(tmp_called_instance_3); if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 51; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_dtype); tmp_args_element_name_5 = par_dtype; frame_abb5b7acfd901868aef4d2366bcf6565->m_frame.f_lineno = 51; tmp_assign_source_7 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[15], tmp_args_element_name_5); Py_DECREF(tmp_called_instance_2); if (tmp_assign_source_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 51; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert(var_expanded_mask == NULL); var_expanded_mask = tmp_assign_source_7; } { PyObject *tmp_assign_source_8; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; tmp_left_name_1 = mod_consts[26]; CHECK_OBJECT(var_expanded_mask); tmp_right_name_1 = var_expanded_mask; tmp_assign_source_8 = BINARY_OPERATION_SUB_OBJECT_FLOAT_OBJECT(tmp_left_name_1, tmp_right_name_1); if (tmp_assign_source_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 53; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert(var_inverted_mask == NULL); var_inverted_mask = tmp_assign_source_8; } { PyObject *tmp_called_name_1; PyObject *tmp_expression_name_2; PyObject *tmp_args_element_name_6; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_3; PyObject *tmp_args_element_name_7; PyObject *tmp_expression_name_4; PyObject *tmp_args_element_name_8; PyObject *tmp_expression_name_5; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_6; PyObject *tmp_args_element_name_9; CHECK_OBJECT(var_inverted_mask); tmp_expression_name_2 = var_inverted_mask; tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[27]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if (var_inverted_mask == NULL) { Py_DECREF(tmp_called_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_expression_name_3 = var_inverted_mask; tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[15]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_expression_name_4 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_4 == NULL)) { tmp_expression_name_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_called_name_2); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[29]); if (tmp_args_element_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_called_name_2); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } frame_abb5b7acfd901868aef4d2366bcf6565->m_frame.f_lineno = 55; tmp_args_element_name_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, tmp_args_element_name_7); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_7); if (tmp_args_element_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_expression_name_6 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_6 == NULL)) { tmp_expression_name_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_6); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[4]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_6); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if (par_dtype == NULL) { Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_6); Py_DECREF(tmp_called_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[16]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_9 = par_dtype; frame_abb5b7acfd901868aef4d2366bcf6565->m_frame.f_lineno = 55; tmp_expression_name_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_3, tmp_args_element_name_9); Py_DECREF(tmp_called_name_3); if (tmp_expression_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_6); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[5]); Py_DECREF(tmp_expression_name_5); if (tmp_args_element_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_6); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } frame_abb5b7acfd901868aef4d2366bcf6565->m_frame.f_lineno = 55; { PyObject *call_args[] = {tmp_args_element_name_6, tmp_args_element_name_8}; tmp_return_value = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_1, call_args); } Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_6); Py_DECREF(tmp_args_element_name_8); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_abb5b7acfd901868aef4d2366bcf6565); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_abb5b7acfd901868aef4d2366bcf6565); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_abb5b7acfd901868aef4d2366bcf6565); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_abb5b7acfd901868aef4d2366bcf6565, exception_lineno); } else if (exception_tb->tb_frame != &frame_abb5b7acfd901868aef4d2366bcf6565->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_abb5b7acfd901868aef4d2366bcf6565, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_abb5b7acfd901868aef4d2366bcf6565, type_description_1, par_mask, par_dtype, par_tgt_len, var_bsz, var_src_len, var_expanded_mask, var_inverted_mask ); // Release cached frame if used for exception. if (frame_abb5b7acfd901868aef4d2366bcf6565 == cache_frame_abb5b7acfd901868aef4d2366bcf6565) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_abb5b7acfd901868aef4d2366bcf6565); cache_frame_abb5b7acfd901868aef4d2366bcf6565 = NULL; } assertFrameObject(frame_abb5b7acfd901868aef4d2366bcf6565); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_mask); par_mask = NULL; Py_XDECREF(par_dtype); par_dtype = NULL; Py_XDECREF(par_tgt_len); par_tgt_len = NULL; Py_XDECREF(var_bsz); var_bsz = NULL; Py_XDECREF(var_src_len); var_src_len = NULL; Py_XDECREF(var_expanded_mask); var_expanded_mask = NULL; Py_XDECREF(var_inverted_mask); var_inverted_mask = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_mask); par_mask = NULL; Py_XDECREF(par_dtype); par_dtype = NULL; Py_XDECREF(par_tgt_len); par_tgt_len = NULL; Py_XDECREF(var_bsz); var_bsz = NULL; Py_XDECREF(var_src_len); var_src_len = NULL; Py_XDECREF(var_expanded_mask); var_expanded_mask = NULL; Py_XDECREF(var_inverted_mask); var_inverted_mask = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__3___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_hidden_size = python_pars[1]; PyObject *par_eps = python_pars[2]; struct Nuitka_FrameObject *frame_0bb23957f71874ab212d48ec53f578f9; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_0bb23957f71874ab212d48ec53f578f9 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_0bb23957f71874ab212d48ec53f578f9)) { Py_XDECREF(cache_frame_0bb23957f71874ab212d48ec53f578f9); #if _DEBUG_REFCOUNTS if (cache_frame_0bb23957f71874ab212d48ec53f578f9 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_0bb23957f71874ab212d48ec53f578f9 = MAKE_FUNCTION_FRAME(codeobj_0bb23957f71874ab212d48ec53f578f9, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_0bb23957f71874ab212d48ec53f578f9->m_type_description == NULL); frame_0bb23957f71874ab212d48ec53f578f9 = cache_frame_0bb23957f71874ab212d48ec53f578f9; // Push the new frame as the currently active one. pushFrameStack(frame_0bb23957f71874ab212d48ec53f578f9); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_0bb23957f71874ab212d48ec53f578f9) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_call_result_1; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[31]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 63; type_description_1 = "oooc"; goto frame_exception_exit_1; } tmp_type_arg_name_1 = Nuitka_Cell_GET(self->m_closure[0]); CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER0(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 63; type_description_1 = "oooc"; goto frame_exception_exit_1; } frame_0bb23957f71874ab212d48ec53f578f9->m_frame.f_lineno = 63; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[32]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 63; type_description_1 = "oooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assattr_name_1; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_called_instance_2; PyObject *tmp_args_element_name_2; PyObject *tmp_assattr_target_1; tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[33]); if (unlikely(tmp_expression_name_1 == NULL)) { tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]); } if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 64; type_description_1 = "oooc"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[34]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 64; type_description_1 = "oooc"; goto frame_exception_exit_1; } tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_called_instance_2 == NULL)) { tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 64; type_description_1 = "oooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_hidden_size); tmp_args_element_name_2 = par_hidden_size; frame_0bb23957f71874ab212d48ec53f578f9->m_frame.f_lineno = 64; tmp_args_element_name_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[35], tmp_args_element_name_2); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 64; type_description_1 = "oooc"; goto frame_exception_exit_1; } frame_0bb23957f71874ab212d48ec53f578f9->m_frame.f_lineno = 64; tmp_assattr_name_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); if (tmp_assattr_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 64; type_description_1 = "oooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[36], tmp_assattr_name_1); Py_DECREF(tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 64; type_description_1 = "oooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; CHECK_OBJECT(par_eps); tmp_assattr_name_2 = par_eps; CHECK_OBJECT(par_self); tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[37], tmp_assattr_name_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 65; type_description_1 = "oooc"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_0bb23957f71874ab212d48ec53f578f9); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_0bb23957f71874ab212d48ec53f578f9); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_0bb23957f71874ab212d48ec53f578f9, exception_lineno); } else if (exception_tb->tb_frame != &frame_0bb23957f71874ab212d48ec53f578f9->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_0bb23957f71874ab212d48ec53f578f9, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_0bb23957f71874ab212d48ec53f578f9, type_description_1, par_self, par_hidden_size, par_eps, self->m_closure[0] ); // Release cached frame if used for exception. if (frame_0bb23957f71874ab212d48ec53f578f9 == cache_frame_0bb23957f71874ab212d48ec53f578f9) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_0bb23957f71874ab212d48ec53f578f9); cache_frame_0bb23957f71874ab212d48ec53f578f9 = NULL; } assertFrameObject(frame_0bb23957f71874ab212d48ec53f578f9); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_hidden_size); par_hidden_size = NULL; CHECK_OBJECT(par_eps); Py_DECREF(par_eps); par_eps = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_hidden_size); par_hidden_size = NULL; CHECK_OBJECT(par_eps); Py_DECREF(par_eps); par_eps = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__4_forward(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_hidden_states = python_pars[1]; PyObject *var_variance = NULL; struct Nuitka_FrameObject *frame_9778e8bbcc730a14db1505b1bf09e315; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_9778e8bbcc730a14db1505b1bf09e315 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_9778e8bbcc730a14db1505b1bf09e315)) { Py_XDECREF(cache_frame_9778e8bbcc730a14db1505b1bf09e315); #if _DEBUG_REFCOUNTS if (cache_frame_9778e8bbcc730a14db1505b1bf09e315 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_9778e8bbcc730a14db1505b1bf09e315 = MAKE_FUNCTION_FRAME(codeobj_9778e8bbcc730a14db1505b1bf09e315, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_9778e8bbcc730a14db1505b1bf09e315->m_type_description == NULL); frame_9778e8bbcc730a14db1505b1bf09e315 = cache_frame_9778e8bbcc730a14db1505b1bf09e315; // Push the new frame as the currently active one. pushFrameStack(frame_9778e8bbcc730a14db1505b1bf09e315); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_9778e8bbcc730a14db1505b1bf09e315) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_called_instance_1; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_expression_name_3; PyObject *tmp_args_name_1; PyObject *tmp_kwargs_name_1; CHECK_OBJECT(par_hidden_states); tmp_expression_name_2 = par_hidden_states; tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[15]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 68; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_3 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_3 == NULL)) { tmp_expression_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 68; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[39]); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 68; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_9778e8bbcc730a14db1505b1bf09e315->m_frame.f_lineno = 68; tmp_called_instance_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, tmp_args_element_name_1); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 68; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_9778e8bbcc730a14db1505b1bf09e315->m_frame.f_lineno = 68; tmp_expression_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, mod_consts[40], &PyTuple_GET_ITEM(mod_consts[41], 0) ); Py_DECREF(tmp_called_instance_1); if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 68; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[42]); Py_DECREF(tmp_expression_name_1); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 68; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_name_1 = mod_consts[9]; tmp_kwargs_name_1 = PyDict_Copy(mod_consts[43]); frame_9778e8bbcc730a14db1505b1bf09e315->m_frame.f_lineno = 68; tmp_assign_source_1 = CALL_FUNCTION(tmp_called_name_1, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 68; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert(var_variance == NULL); var_variance = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_4; PyObject *tmp_args_element_name_2; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_expression_name_5; if (par_hidden_states == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[44]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 69; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_left_name_1 = par_hidden_states; tmp_expression_name_4 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_4 == NULL)) { tmp_expression_name_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 69; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[45]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 69; type_description_1 = "ooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_variance); tmp_left_name_2 = var_variance; CHECK_OBJECT(par_self); tmp_expression_name_5 = par_self; tmp_right_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[37]); if (tmp_right_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 69; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_2, tmp_right_name_2); Py_DECREF(tmp_right_name_2); if (tmp_args_element_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 69; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_9778e8bbcc730a14db1505b1bf09e315->m_frame.f_lineno = 69; tmp_right_name_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_3, tmp_args_element_name_2); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_element_name_2); if (tmp_right_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 69; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_right_name_1); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 69; type_description_1 = "ooo"; goto frame_exception_exit_1; } { PyObject *old = par_hidden_states; par_hidden_states = tmp_assign_source_2; Py_XDECREF(old); } } { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_name_6; PyObject *tmp_expression_name_7; PyObject *tmp_list_element_1; PyObject *tmp_expression_name_8; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 72; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_7 = par_self; tmp_expression_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[36]); if (tmp_expression_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 72; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[16]); Py_DECREF(tmp_expression_name_6); if (tmp_compexpr_left_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 72; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_8 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_8 == NULL)) { tmp_expression_name_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_compexpr_left_1); exception_lineno = 72; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_list_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[47]); if (tmp_list_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_compexpr_left_1); exception_lineno = 72; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = PyList_New(2); { PyObject *tmp_expression_name_9; PyList_SET_ITEM(tmp_compexpr_right_1, 0, tmp_list_element_1); tmp_expression_name_9 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_9 == NULL)) { tmp_expression_name_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 72; type_description_1 = "ooo"; goto list_build_exception_1; } tmp_list_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[48]); if (tmp_list_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 72; type_description_1 = "ooo"; goto list_build_exception_1; } PyList_SET_ITEM(tmp_compexpr_right_1, 1, tmp_list_element_1); } goto list_build_noexception_1; // Exception handling pass through code for list_build: list_build_exception_1:; Py_DECREF(tmp_compexpr_left_1); Py_DECREF(tmp_compexpr_right_1); goto frame_exception_exit_1; // Finished with no exception for list_build: list_build_noexception_1:; tmp_res = PySequence_Contains(tmp_compexpr_right_1, tmp_compexpr_left_1); Py_DECREF(tmp_compexpr_left_1); Py_DECREF(tmp_compexpr_right_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 72; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = (tmp_res == 1) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_4; PyObject *tmp_expression_name_10; PyObject *tmp_args_element_name_3; PyObject *tmp_expression_name_11; PyObject *tmp_expression_name_12; CHECK_OBJECT(par_hidden_states); tmp_expression_name_10 = par_hidden_states; tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[15]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 73; type_description_1 = "ooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 73; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_12 = par_self; tmp_expression_name_11 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[36]); if (tmp_expression_name_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 73; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[16]); Py_DECREF(tmp_expression_name_11); if (tmp_args_element_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 73; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_9778e8bbcc730a14db1505b1bf09e315->m_frame.f_lineno = 73; tmp_assign_source_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_4, tmp_args_element_name_3); Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_element_name_3); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 73; type_description_1 = "ooo"; goto frame_exception_exit_1; } { PyObject *old = par_hidden_states; par_hidden_states = tmp_assign_source_3; Py_XDECREF(old); } } branch_no_1:; { PyObject *tmp_left_name_3; PyObject *tmp_expression_name_13; PyObject *tmp_right_name_3; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 75; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_13 = par_self; tmp_left_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_13, mod_consts[36]); if (tmp_left_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 75; type_description_1 = "ooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_hidden_states); tmp_right_name_3 = par_hidden_states; tmp_return_value = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_3, tmp_right_name_3); Py_DECREF(tmp_left_name_3); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 75; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_9778e8bbcc730a14db1505b1bf09e315); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_9778e8bbcc730a14db1505b1bf09e315); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_9778e8bbcc730a14db1505b1bf09e315); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_9778e8bbcc730a14db1505b1bf09e315, exception_lineno); } else if (exception_tb->tb_frame != &frame_9778e8bbcc730a14db1505b1bf09e315->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_9778e8bbcc730a14db1505b1bf09e315, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_9778e8bbcc730a14db1505b1bf09e315, type_description_1, par_self, par_hidden_states, var_variance ); // Release cached frame if used for exception. if (frame_9778e8bbcc730a14db1505b1bf09e315 == cache_frame_9778e8bbcc730a14db1505b1bf09e315) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_9778e8bbcc730a14db1505b1bf09e315); cache_frame_9778e8bbcc730a14db1505b1bf09e315 = NULL; } assertFrameObject(frame_9778e8bbcc730a14db1505b1bf09e315); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_hidden_states); par_hidden_states = NULL; Py_XDECREF(var_variance); var_variance = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_hidden_states); par_hidden_states = NULL; Py_XDECREF(var_variance); var_variance = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__5___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_dim = python_pars[1]; PyObject *par_max_position_embeddings = python_pars[2]; PyObject *par_base = python_pars[3]; PyObject *par_device = python_pars[4]; PyObject *var_inv_freq = NULL; PyObject *var_t = NULL; PyObject *var_freqs = NULL; PyObject *var_emb = NULL; struct Nuitka_FrameObject *frame_78e3711e3cafeb58cf29e8b25617a9e0; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; int tmp_res; static struct Nuitka_FrameObject *cache_frame_78e3711e3cafeb58cf29e8b25617a9e0 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_78e3711e3cafeb58cf29e8b25617a9e0)) { Py_XDECREF(cache_frame_78e3711e3cafeb58cf29e8b25617a9e0); #if _DEBUG_REFCOUNTS if (cache_frame_78e3711e3cafeb58cf29e8b25617a9e0 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_78e3711e3cafeb58cf29e8b25617a9e0 = MAKE_FUNCTION_FRAME(codeobj_78e3711e3cafeb58cf29e8b25617a9e0, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_78e3711e3cafeb58cf29e8b25617a9e0->m_type_description == NULL); frame_78e3711e3cafeb58cf29e8b25617a9e0 = cache_frame_78e3711e3cafeb58cf29e8b25617a9e0; // Push the new frame as the currently active one. pushFrameStack(frame_78e3711e3cafeb58cf29e8b25617a9e0); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_78e3711e3cafeb58cf29e8b25617a9e0) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_call_result_1; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[31]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 80; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_type_arg_name_1 = Nuitka_Cell_GET(self->m_closure[0]); CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER0(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 80; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } frame_78e3711e3cafeb58cf29e8b25617a9e0->m_frame.f_lineno = 80; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[32]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 80; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assign_source_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_left_name_3; PyObject *tmp_called_instance_2; PyObject *tmp_called_instance_3; PyObject *tmp_called_instance_4; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_right_name_3; tmp_left_name_1 = mod_consts[26]; CHECK_OBJECT(par_base); tmp_left_name_2 = par_base; tmp_called_instance_4 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_called_instance_4 == NULL)) { tmp_called_instance_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_called_instance_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 81; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_args_element_name_1 = mod_consts[14]; CHECK_OBJECT(par_dim); tmp_args_element_name_2 = par_dim; tmp_args_element_name_3 = mod_consts[49]; frame_78e3711e3cafeb58cf29e8b25617a9e0->m_frame.f_lineno = 81; { PyObject *call_args[] = {tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3}; tmp_called_instance_3 = CALL_METHOD_WITH_ARGS3( tmp_called_instance_4, mod_consts[7], call_args ); } if (tmp_called_instance_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 81; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } frame_78e3711e3cafeb58cf29e8b25617a9e0->m_frame.f_lineno = 81; tmp_called_instance_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[50]); Py_DECREF(tmp_called_instance_3); if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 81; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_device); tmp_args_element_name_4 = par_device; frame_78e3711e3cafeb58cf29e8b25617a9e0->m_frame.f_lineno = 81; tmp_left_name_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[15], tmp_args_element_name_4); Py_DECREF(tmp_called_instance_2); if (tmp_left_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 81; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } if (par_dim == NULL) { Py_DECREF(tmp_left_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[51]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 81; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_right_name_3 = par_dim; tmp_right_name_2 = BINARY_OPERATION_TRUEDIV_OBJECT_OBJECT_OBJECT(tmp_left_name_3, tmp_right_name_3); Py_DECREF(tmp_left_name_3); if (tmp_right_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 81; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_right_name_1 = BINARY_OPERATION_POW_OBJECT_OBJECT_OBJECT(tmp_left_name_2, tmp_right_name_2); Py_DECREF(tmp_right_name_2); if (tmp_right_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 81; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_assign_source_1 = BINARY_OPERATION_TRUEDIV_OBJECT_FLOAT_OBJECT(tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_right_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 81; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } assert(var_inv_freq == NULL); var_inv_freq = tmp_assign_source_1; } { PyObject *tmp_called_instance_5; PyObject *tmp_call_result_2; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; CHECK_OBJECT(par_self); tmp_called_instance_5 = par_self; tmp_args_element_name_5 = mod_consts[53]; CHECK_OBJECT(var_inv_freq); tmp_args_element_name_6 = var_inv_freq; frame_78e3711e3cafeb58cf29e8b25617a9e0->m_frame.f_lineno = 82; { PyObject *call_args[] = {tmp_args_element_name_5, tmp_args_element_name_6}; tmp_call_result_2 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_5, mod_consts[52], call_args ); } if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 82; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_2); } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT(par_max_position_embeddings); tmp_assattr_name_1 = par_max_position_embeddings; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 85; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[54], tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 85; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_expression_name_2; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_expression_name_3; PyObject *tmp_expression_name_4; tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_1 == NULL)) { tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[7]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 86; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_2 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[54]); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 86; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_1, 0, tmp_tuple_element_1); tmp_dict_key_1 = mod_consts[6]; if (par_self == NULL) { Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 86; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_4 = par_self; tmp_expression_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[53]); if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); exception_lineno = 86; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[6]); Py_DECREF(tmp_expression_name_3); if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); exception_lineno = 86; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_kwargs_name_1 = _PyDict_NewPresized( 2 ); { PyObject *tmp_expression_name_5; PyObject *tmp_expression_name_6; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[16]; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 86; type_description_1 = "oooooooooc"; goto dict_build_exception_1; } tmp_expression_name_6 = par_self; tmp_expression_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[53]); if (tmp_expression_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; type_description_1 = "oooooooooc"; goto dict_build_exception_1; } tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[16]); Py_DECREF(tmp_expression_name_5); if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; type_description_1 = "oooooooooc"; goto dict_build_exception_1; } tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); } goto dict_build_noexception_1; // Exception handling pass through code for dict_build: dict_build_exception_1:; Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_1:; frame_78e3711e3cafeb58cf29e8b25617a9e0->m_frame.f_lineno = 86; tmp_assign_source_2 = CALL_FUNCTION(tmp_called_name_1, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } assert(var_t == NULL); var_t = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_7; PyObject *tmp_args_element_name_7; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; PyObject *tmp_expression_name_8; tmp_expression_name_7 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_7 == NULL)) { tmp_expression_name_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 87; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[55]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 87; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_args_element_name_7 = mod_consts[56]; CHECK_OBJECT(var_t); tmp_args_element_name_8 = var_t; if (par_self == NULL) { Py_DECREF(tmp_called_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 87; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_8 = par_self; tmp_args_element_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[53]); if (tmp_args_element_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 87; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } frame_78e3711e3cafeb58cf29e8b25617a9e0->m_frame.f_lineno = 87; { PyObject *call_args[] = {tmp_args_element_name_7, tmp_args_element_name_8, tmp_args_element_name_9}; tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_2, call_args); } Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_9); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 87; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } assert(var_freqs == NULL); var_freqs = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_9; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_2; PyObject *tmp_tuple_element_3; PyObject *tmp_kwargs_name_2; tmp_expression_name_9 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_9 == NULL)) { tmp_expression_name_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 89; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[17]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 89; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(var_freqs); tmp_tuple_element_3 = var_freqs; tmp_tuple_element_2 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_tuple_element_2, 0, tmp_tuple_element_3); CHECK_OBJECT(var_freqs); tmp_tuple_element_3 = var_freqs; PyTuple_SET_ITEM0(tmp_tuple_element_2, 1, tmp_tuple_element_3); tmp_args_name_2 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_2, 0, tmp_tuple_element_2); tmp_kwargs_name_2 = PyDict_Copy(mod_consts[20]); frame_78e3711e3cafeb58cf29e8b25617a9e0->m_frame.f_lineno = 89; tmp_assign_source_4 = CALL_FUNCTION(tmp_called_name_3, tmp_args_name_2, tmp_kwargs_name_2); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_name_2); Py_DECREF(tmp_kwargs_name_2); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 89; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } assert(var_emb == NULL); var_emb = tmp_assign_source_4; } { PyObject *tmp_called_name_4; PyObject *tmp_expression_name_10; PyObject *tmp_call_result_3; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_4; PyObject *tmp_kwargs_name_3; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 90; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_10 = par_self; tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[52]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 90; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_tuple_element_4 = mod_consts[57]; tmp_args_name_3 = PyTuple_New(2); { PyObject *tmp_expression_name_11; PyObject *tmp_called_instance_6; PyObject *tmp_subscript_name_1; PyTuple_SET_ITEM0(tmp_args_name_3, 0, tmp_tuple_element_4); CHECK_OBJECT(var_emb); tmp_called_instance_6 = var_emb; frame_78e3711e3cafeb58cf29e8b25617a9e0->m_frame.f_lineno = 90; tmp_expression_name_11 = CALL_METHOD_NO_ARGS(tmp_called_instance_6, mod_consts[58]); if (tmp_expression_name_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 90; type_description_1 = "oooooooooc"; goto tuple_build_exception_1; } tmp_subscript_name_1 = mod_consts[21]; tmp_tuple_element_4 = LOOKUP_SUBSCRIPT(tmp_expression_name_11, tmp_subscript_name_1); Py_DECREF(tmp_expression_name_11); if (tmp_tuple_element_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 90; type_description_1 = "oooooooooc"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_args_name_3, 1, tmp_tuple_element_4); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_name_3); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_kwargs_name_3 = PyDict_Copy(mod_consts[59]); frame_78e3711e3cafeb58cf29e8b25617a9e0->m_frame.f_lineno = 90; tmp_call_result_3 = CALL_FUNCTION(tmp_called_name_4, tmp_args_name_3, tmp_kwargs_name_3); Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_name_3); Py_DECREF(tmp_kwargs_name_3); if (tmp_call_result_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 90; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_3); } { PyObject *tmp_called_name_5; PyObject *tmp_expression_name_12; PyObject *tmp_call_result_4; PyObject *tmp_args_name_4; PyObject *tmp_tuple_element_5; PyObject *tmp_kwargs_name_4; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 91; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_12 = par_self; tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[52]); if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 91; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_tuple_element_5 = mod_consts[60]; tmp_args_name_4 = PyTuple_New(2); { PyObject *tmp_expression_name_13; PyObject *tmp_called_instance_7; PyObject *tmp_subscript_name_2; PyTuple_SET_ITEM0(tmp_args_name_4, 0, tmp_tuple_element_5); if (var_emb == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[61]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 91; type_description_1 = "oooooooooc"; goto tuple_build_exception_2; } tmp_called_instance_7 = var_emb; frame_78e3711e3cafeb58cf29e8b25617a9e0->m_frame.f_lineno = 91; tmp_expression_name_13 = CALL_METHOD_NO_ARGS(tmp_called_instance_7, mod_consts[62]); if (tmp_expression_name_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 91; type_description_1 = "oooooooooc"; goto tuple_build_exception_2; } tmp_subscript_name_2 = mod_consts[21]; tmp_tuple_element_5 = LOOKUP_SUBSCRIPT(tmp_expression_name_13, tmp_subscript_name_2); Py_DECREF(tmp_expression_name_13); if (tmp_tuple_element_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 91; type_description_1 = "oooooooooc"; goto tuple_build_exception_2; } PyTuple_SET_ITEM(tmp_args_name_4, 1, tmp_tuple_element_5); } goto tuple_build_noexception_2; // Exception handling pass through code for tuple_build: tuple_build_exception_2:; Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_name_4); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_2:; tmp_kwargs_name_4 = PyDict_Copy(mod_consts[59]); frame_78e3711e3cafeb58cf29e8b25617a9e0->m_frame.f_lineno = 91; tmp_call_result_4 = CALL_FUNCTION(tmp_called_name_5, tmp_args_name_4, tmp_kwargs_name_4); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_name_4); Py_DECREF(tmp_kwargs_name_4); if (tmp_call_result_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 91; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_4); } #if 0 RESTORE_FRAME_EXCEPTION(frame_78e3711e3cafeb58cf29e8b25617a9e0); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_78e3711e3cafeb58cf29e8b25617a9e0); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_78e3711e3cafeb58cf29e8b25617a9e0, exception_lineno); } else if (exception_tb->tb_frame != &frame_78e3711e3cafeb58cf29e8b25617a9e0->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_78e3711e3cafeb58cf29e8b25617a9e0, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_78e3711e3cafeb58cf29e8b25617a9e0, type_description_1, par_self, par_dim, par_max_position_embeddings, par_base, par_device, var_inv_freq, var_t, var_freqs, var_emb, self->m_closure[0] ); // Release cached frame if used for exception. if (frame_78e3711e3cafeb58cf29e8b25617a9e0 == cache_frame_78e3711e3cafeb58cf29e8b25617a9e0) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_78e3711e3cafeb58cf29e8b25617a9e0); cache_frame_78e3711e3cafeb58cf29e8b25617a9e0 = NULL; } assertFrameObject(frame_78e3711e3cafeb58cf29e8b25617a9e0); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_dim); par_dim = NULL; CHECK_OBJECT(par_max_position_embeddings); Py_DECREF(par_max_position_embeddings); par_max_position_embeddings = NULL; Py_XDECREF(par_base); par_base = NULL; Py_XDECREF(par_device); par_device = NULL; Py_XDECREF(var_inv_freq); var_inv_freq = NULL; Py_XDECREF(var_t); var_t = NULL; Py_XDECREF(var_freqs); var_freqs = NULL; Py_XDECREF(var_emb); var_emb = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_dim); par_dim = NULL; CHECK_OBJECT(par_max_position_embeddings); Py_DECREF(par_max_position_embeddings); par_max_position_embeddings = NULL; Py_XDECREF(par_base); par_base = NULL; Py_XDECREF(par_device); par_device = NULL; Py_XDECREF(var_inv_freq); var_inv_freq = NULL; Py_XDECREF(var_t); var_t = NULL; Py_XDECREF(var_freqs); var_freqs = NULL; Py_XDECREF(var_emb); var_emb = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__6_forward(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_x = python_pars[1]; PyObject *par_seq_len = python_pars[2]; PyObject *var_t = NULL; PyObject *var_freqs = NULL; PyObject *var_emb = NULL; struct Nuitka_FrameObject *frame_03daddd79d79be6b65f276d9f318ba49; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; int tmp_res; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_03daddd79d79be6b65f276d9f318ba49 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_03daddd79d79be6b65f276d9f318ba49)) { Py_XDECREF(cache_frame_03daddd79d79be6b65f276d9f318ba49); #if _DEBUG_REFCOUNTS if (cache_frame_03daddd79d79be6b65f276d9f318ba49 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_03daddd79d79be6b65f276d9f318ba49 = MAKE_FUNCTION_FRAME(codeobj_03daddd79d79be6b65f276d9f318ba49, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_03daddd79d79be6b65f276d9f318ba49->m_type_description == NULL); frame_03daddd79d79be6b65f276d9f318ba49 = cache_frame_03daddd79d79be6b65f276d9f318ba49; // Push the new frame as the currently active one. pushFrameStack(frame_03daddd79d79be6b65f276d9f318ba49); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_03daddd79d79be6b65f276d9f318ba49) == 2); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_name_1; CHECK_OBJECT(par_seq_len); tmp_compexpr_left_1 = par_seq_len; CHECK_OBJECT(par_self); tmp_expression_name_1 = par_self; tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[54]); if (tmp_compexpr_right_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 96; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = RICH_COMPARE_GT_NBOOL_OBJECT_OBJECT(tmp_compexpr_left_1, tmp_compexpr_right_1); Py_DECREF(tmp_compexpr_right_1); if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 96; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } assert(tmp_condition_result_1 != NUITKA_BOOL_UNASSIGNED); } branch_yes_1:; { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT(par_seq_len); tmp_assattr_name_1 = par_seq_len; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 97; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[54], tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 97; type_description_1 = "oooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_2; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_expression_name_3; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_expression_name_4; tmp_expression_name_2 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_2 == NULL)) { tmp_expression_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 98; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[7]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 98; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 98; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_expression_name_3 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[54]); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 98; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_1, 0, tmp_tuple_element_1); tmp_dict_key_1 = mod_consts[6]; CHECK_OBJECT(par_x); tmp_expression_name_4 = par_x; tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[6]); if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); exception_lineno = 98; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_kwargs_name_1 = _PyDict_NewPresized( 2 ); { PyObject *tmp_expression_name_5; PyObject *tmp_expression_name_6; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[16]; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 98; type_description_1 = "oooooo"; goto dict_build_exception_1; } tmp_expression_name_6 = par_self; tmp_expression_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[53]); if (tmp_expression_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 98; type_description_1 = "oooooo"; goto dict_build_exception_1; } tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[16]); Py_DECREF(tmp_expression_name_5); if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 98; type_description_1 = "oooooo"; goto dict_build_exception_1; } tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); } goto dict_build_noexception_1; // Exception handling pass through code for dict_build: dict_build_exception_1:; Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_1:; frame_03daddd79d79be6b65f276d9f318ba49->m_frame.f_lineno = 98; tmp_assign_source_1 = CALL_FUNCTION(tmp_called_name_1, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 98; type_description_1 = "oooooo"; goto frame_exception_exit_1; } assert(var_t == NULL); var_t = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_7; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_expression_name_8; tmp_expression_name_7 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_7 == NULL)) { tmp_expression_name_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 99; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[55]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 99; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = mod_consts[56]; CHECK_OBJECT(var_t); tmp_args_element_name_2 = var_t; if (par_self == NULL) { Py_DECREF(tmp_called_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 99; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_expression_name_8 = par_self; tmp_args_element_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[53]); if (tmp_args_element_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 99; type_description_1 = "oooooo"; goto frame_exception_exit_1; } frame_03daddd79d79be6b65f276d9f318ba49->m_frame.f_lineno = 99; { PyObject *call_args[] = {tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3}; tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_2, call_args); } Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_3); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 99; type_description_1 = "oooooo"; goto frame_exception_exit_1; } assert(var_freqs == NULL); var_freqs = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_9; PyObject *tmp_called_name_4; PyObject *tmp_expression_name_10; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_2; PyObject *tmp_tuple_element_3; PyObject *tmp_kwargs_name_2; PyObject *tmp_args_element_name_4; PyObject *tmp_expression_name_11; tmp_expression_name_10 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_10 == NULL)) { tmp_expression_name_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 101; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[17]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 101; type_description_1 = "oooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_freqs); tmp_tuple_element_3 = var_freqs; tmp_tuple_element_2 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_tuple_element_2, 0, tmp_tuple_element_3); CHECK_OBJECT(var_freqs); tmp_tuple_element_3 = var_freqs; PyTuple_SET_ITEM0(tmp_tuple_element_2, 1, tmp_tuple_element_3); tmp_args_name_2 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_2, 0, tmp_tuple_element_2); tmp_kwargs_name_2 = PyDict_Copy(mod_consts[20]); frame_03daddd79d79be6b65f276d9f318ba49->m_frame.f_lineno = 101; tmp_expression_name_9 = CALL_FUNCTION(tmp_called_name_4, tmp_args_name_2, tmp_kwargs_name_2); Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_name_2); Py_DECREF(tmp_kwargs_name_2); if (tmp_expression_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 101; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[15]); Py_DECREF(tmp_expression_name_9); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 101; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if (par_x == NULL) { Py_DECREF(tmp_called_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 101; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_expression_name_11 = par_x; tmp_args_element_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[6]); if (tmp_args_element_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 101; type_description_1 = "oooooo"; goto frame_exception_exit_1; } frame_03daddd79d79be6b65f276d9f318ba49->m_frame.f_lineno = 101; tmp_assign_source_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_3, tmp_args_element_name_4); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_element_name_4); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 101; type_description_1 = "oooooo"; goto frame_exception_exit_1; } assert(var_emb == NULL); var_emb = tmp_assign_source_3; } { PyObject *tmp_called_name_5; PyObject *tmp_expression_name_12; PyObject *tmp_call_result_1; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_4; PyObject *tmp_kwargs_name_3; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 102; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_expression_name_12 = par_self; tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[52]); if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 102; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_4 = mod_consts[57]; tmp_args_name_3 = PyTuple_New(2); { PyObject *tmp_expression_name_13; PyObject *tmp_called_instance_1; PyObject *tmp_subscript_name_1; PyTuple_SET_ITEM0(tmp_args_name_3, 0, tmp_tuple_element_4); CHECK_OBJECT(var_emb); tmp_called_instance_1 = var_emb; frame_03daddd79d79be6b65f276d9f318ba49->m_frame.f_lineno = 102; tmp_expression_name_13 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[58]); if (tmp_expression_name_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 102; type_description_1 = "oooooo"; goto tuple_build_exception_1; } tmp_subscript_name_1 = mod_consts[21]; tmp_tuple_element_4 = LOOKUP_SUBSCRIPT(tmp_expression_name_13, tmp_subscript_name_1); Py_DECREF(tmp_expression_name_13); if (tmp_tuple_element_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 102; type_description_1 = "oooooo"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_args_name_3, 1, tmp_tuple_element_4); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_name_3); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_kwargs_name_3 = PyDict_Copy(mod_consts[59]); frame_03daddd79d79be6b65f276d9f318ba49->m_frame.f_lineno = 102; tmp_call_result_1 = CALL_FUNCTION(tmp_called_name_5, tmp_args_name_3, tmp_kwargs_name_3); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_name_3); Py_DECREF(tmp_kwargs_name_3); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 102; type_description_1 = "oooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_called_name_6; PyObject *tmp_expression_name_14; PyObject *tmp_call_result_2; PyObject *tmp_args_name_4; PyObject *tmp_tuple_element_5; PyObject *tmp_kwargs_name_4; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 103; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_expression_name_14 = par_self; tmp_called_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_14, mod_consts[52]); if (tmp_called_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 103; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_5 = mod_consts[60]; tmp_args_name_4 = PyTuple_New(2); { PyObject *tmp_expression_name_15; PyObject *tmp_called_instance_2; PyObject *tmp_subscript_name_2; PyTuple_SET_ITEM0(tmp_args_name_4, 0, tmp_tuple_element_5); if (var_emb == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[61]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 103; type_description_1 = "oooooo"; goto tuple_build_exception_2; } tmp_called_instance_2 = var_emb; frame_03daddd79d79be6b65f276d9f318ba49->m_frame.f_lineno = 103; tmp_expression_name_15 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[62]); if (tmp_expression_name_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 103; type_description_1 = "oooooo"; goto tuple_build_exception_2; } tmp_subscript_name_2 = mod_consts[21]; tmp_tuple_element_5 = LOOKUP_SUBSCRIPT(tmp_expression_name_15, tmp_subscript_name_2); Py_DECREF(tmp_expression_name_15); if (tmp_tuple_element_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 103; type_description_1 = "oooooo"; goto tuple_build_exception_2; } PyTuple_SET_ITEM(tmp_args_name_4, 1, tmp_tuple_element_5); } goto tuple_build_noexception_2; // Exception handling pass through code for tuple_build: tuple_build_exception_2:; Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_args_name_4); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_2:; tmp_kwargs_name_4 = PyDict_Copy(mod_consts[59]); frame_03daddd79d79be6b65f276d9f318ba49->m_frame.f_lineno = 103; tmp_call_result_2 = CALL_FUNCTION(tmp_called_name_6, tmp_args_name_4, tmp_kwargs_name_4); Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_args_name_4); Py_DECREF(tmp_kwargs_name_4); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 103; type_description_1 = "oooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_2); } branch_no_1:; { PyObject *tmp_tuple_element_6; PyObject *tmp_called_name_7; PyObject *tmp_expression_name_16; PyObject *tmp_expression_name_17; PyObject *tmp_expression_name_18; PyObject *tmp_subscript_name_3; PyObject *tmp_tuple_element_7; PyObject *tmp_kwargs_name_5; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; PyObject *tmp_expression_name_19; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 105; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_expression_name_18 = par_self; tmp_expression_name_17 = LOOKUP_ATTRIBUTE(tmp_expression_name_18, mod_consts[57]); if (tmp_expression_name_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 105; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_7 = mod_consts[64]; tmp_subscript_name_3 = PyTuple_New(4); { PyObject *tmp_stop_name_1; PyTuple_SET_ITEM0(tmp_subscript_name_3, 0, tmp_tuple_element_7); tmp_tuple_element_7 = mod_consts[64]; PyTuple_SET_ITEM0(tmp_subscript_name_3, 1, tmp_tuple_element_7); CHECK_OBJECT(par_seq_len); tmp_stop_name_1 = par_seq_len; tmp_tuple_element_7 = MAKE_SLICEOBJ1(tmp_stop_name_1); assert(!(tmp_tuple_element_7 == NULL)); PyTuple_SET_ITEM(tmp_subscript_name_3, 2, tmp_tuple_element_7); tmp_tuple_element_7 = Py_Ellipsis; PyTuple_SET_ITEM0(tmp_subscript_name_3, 3, tmp_tuple_element_7); } tmp_expression_name_16 = LOOKUP_SUBSCRIPT(tmp_expression_name_17, tmp_subscript_name_3); Py_DECREF(tmp_expression_name_17); Py_DECREF(tmp_subscript_name_3); if (tmp_expression_name_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 105; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_16, mod_consts[15]); Py_DECREF(tmp_expression_name_16); if (tmp_called_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 105; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_dict_key_2 = mod_consts[16]; if (par_x == NULL) { Py_DECREF(tmp_called_name_7); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 105; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_expression_name_19 = par_x; tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_19, mod_consts[16]); if (tmp_dict_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_7); exception_lineno = 105; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_kwargs_name_5 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_5, tmp_dict_key_2, tmp_dict_value_2); Py_DECREF(tmp_dict_value_2); assert(!(tmp_res != 0)); frame_03daddd79d79be6b65f276d9f318ba49->m_frame.f_lineno = 105; tmp_tuple_element_6 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_7, tmp_kwargs_name_5); Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_kwargs_name_5); if (tmp_tuple_element_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 105; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_return_value = PyTuple_New(2); { PyObject *tmp_called_name_8; PyObject *tmp_expression_name_20; PyObject *tmp_expression_name_21; PyObject *tmp_expression_name_22; PyObject *tmp_subscript_name_4; PyObject *tmp_tuple_element_8; PyObject *tmp_kwargs_name_6; PyObject *tmp_dict_key_3; PyObject *tmp_dict_value_3; PyObject *tmp_expression_name_23; PyTuple_SET_ITEM(tmp_return_value, 0, tmp_tuple_element_6); if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 106; type_description_1 = "oooooo"; goto tuple_build_exception_3; } tmp_expression_name_22 = par_self; tmp_expression_name_21 = LOOKUP_ATTRIBUTE(tmp_expression_name_22, mod_consts[60]); if (tmp_expression_name_21 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 106; type_description_1 = "oooooo"; goto tuple_build_exception_3; } tmp_tuple_element_8 = mod_consts[64]; tmp_subscript_name_4 = PyTuple_New(4); { PyObject *tmp_stop_name_2; PyTuple_SET_ITEM0(tmp_subscript_name_4, 0, tmp_tuple_element_8); tmp_tuple_element_8 = mod_consts[64]; PyTuple_SET_ITEM0(tmp_subscript_name_4, 1, tmp_tuple_element_8); CHECK_OBJECT(par_seq_len); tmp_stop_name_2 = par_seq_len; tmp_tuple_element_8 = MAKE_SLICEOBJ1(tmp_stop_name_2); assert(!(tmp_tuple_element_8 == NULL)); PyTuple_SET_ITEM(tmp_subscript_name_4, 2, tmp_tuple_element_8); tmp_tuple_element_8 = Py_Ellipsis; PyTuple_SET_ITEM0(tmp_subscript_name_4, 3, tmp_tuple_element_8); } tmp_expression_name_20 = LOOKUP_SUBSCRIPT(tmp_expression_name_21, tmp_subscript_name_4); Py_DECREF(tmp_expression_name_21); Py_DECREF(tmp_subscript_name_4); if (tmp_expression_name_20 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 106; type_description_1 = "oooooo"; goto tuple_build_exception_3; } tmp_called_name_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_20, mod_consts[15]); Py_DECREF(tmp_expression_name_20); if (tmp_called_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 106; type_description_1 = "oooooo"; goto tuple_build_exception_3; } tmp_dict_key_3 = mod_consts[16]; if (par_x == NULL) { Py_DECREF(tmp_called_name_8); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 106; type_description_1 = "oooooo"; goto tuple_build_exception_3; } tmp_expression_name_23 = par_x; tmp_dict_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_23, mod_consts[16]); if (tmp_dict_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_8); exception_lineno = 106; type_description_1 = "oooooo"; goto tuple_build_exception_3; } tmp_kwargs_name_6 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_6, tmp_dict_key_3, tmp_dict_value_3); Py_DECREF(tmp_dict_value_3); assert(!(tmp_res != 0)); frame_03daddd79d79be6b65f276d9f318ba49->m_frame.f_lineno = 106; tmp_tuple_element_6 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_8, tmp_kwargs_name_6); Py_DECREF(tmp_called_name_8); Py_DECREF(tmp_kwargs_name_6); if (tmp_tuple_element_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 106; type_description_1 = "oooooo"; goto tuple_build_exception_3; } PyTuple_SET_ITEM(tmp_return_value, 1, tmp_tuple_element_6); } goto tuple_build_noexception_3; // Exception handling pass through code for tuple_build: tuple_build_exception_3:; Py_DECREF(tmp_return_value); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_3:; goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_03daddd79d79be6b65f276d9f318ba49); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_03daddd79d79be6b65f276d9f318ba49); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_03daddd79d79be6b65f276d9f318ba49); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_03daddd79d79be6b65f276d9f318ba49, exception_lineno); } else if (exception_tb->tb_frame != &frame_03daddd79d79be6b65f276d9f318ba49->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_03daddd79d79be6b65f276d9f318ba49, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_03daddd79d79be6b65f276d9f318ba49, type_description_1, par_self, par_x, par_seq_len, var_t, var_freqs, var_emb ); // Release cached frame if used for exception. if (frame_03daddd79d79be6b65f276d9f318ba49 == cache_frame_03daddd79d79be6b65f276d9f318ba49) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_03daddd79d79be6b65f276d9f318ba49); cache_frame_03daddd79d79be6b65f276d9f318ba49 = NULL; } assertFrameObject(frame_03daddd79d79be6b65f276d9f318ba49); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_x); par_x = NULL; CHECK_OBJECT(par_seq_len); Py_DECREF(par_seq_len); par_seq_len = NULL; Py_XDECREF(var_t); var_t = NULL; Py_XDECREF(var_freqs); var_freqs = NULL; Py_XDECREF(var_emb); var_emb = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_x); par_x = NULL; CHECK_OBJECT(par_seq_len); Py_DECREF(par_seq_len); par_seq_len = NULL; Py_XDECREF(var_t); var_t = NULL; Py_XDECREF(var_freqs); var_freqs = NULL; Py_XDECREF(var_emb); var_emb = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__7_rotate_half(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_x = python_pars[0]; PyObject *var_x1 = NULL; PyObject *var_x2 = NULL; struct Nuitka_FrameObject *frame_9e040397e2554ecbd4bfb2870d7f13bd; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_9e040397e2554ecbd4bfb2870d7f13bd = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_9e040397e2554ecbd4bfb2870d7f13bd)) { Py_XDECREF(cache_frame_9e040397e2554ecbd4bfb2870d7f13bd); #if _DEBUG_REFCOUNTS if (cache_frame_9e040397e2554ecbd4bfb2870d7f13bd == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_9e040397e2554ecbd4bfb2870d7f13bd = MAKE_FUNCTION_FRAME(codeobj_9e040397e2554ecbd4bfb2870d7f13bd, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_9e040397e2554ecbd4bfb2870d7f13bd->m_type_description == NULL); frame_9e040397e2554ecbd4bfb2870d7f13bd = cache_frame_9e040397e2554ecbd4bfb2870d7f13bd; // Push the new frame as the currently active one. pushFrameStack(frame_9e040397e2554ecbd4bfb2870d7f13bd); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_9e040397e2554ecbd4bfb2870d7f13bd) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_expression_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_tuple_element_1; CHECK_OBJECT(par_x); tmp_expression_name_1 = par_x; tmp_tuple_element_1 = Py_Ellipsis; tmp_subscript_name_1 = PyTuple_New(2); { PyObject *tmp_stop_name_1; PyObject *tmp_left_name_1; PyObject *tmp_expression_name_2; PyObject *tmp_expression_name_3; PyObject *tmp_subscript_name_2; PyObject *tmp_right_name_1; PyTuple_SET_ITEM0(tmp_subscript_name_1, 0, tmp_tuple_element_1); CHECK_OBJECT(par_x); tmp_expression_name_3 = par_x; tmp_expression_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[65]); if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_1 = "ooo"; goto tuple_build_exception_1; } tmp_subscript_name_2 = mod_consts[66]; tmp_left_name_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_2, tmp_subscript_name_2, -1); Py_DECREF(tmp_expression_name_2); if (tmp_left_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_1 = "ooo"; goto tuple_build_exception_1; } tmp_right_name_1 = mod_consts[49]; tmp_stop_name_1 = BINARY_OPERATION_FLOORDIV_OBJECT_OBJECT_LONG(tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_left_name_1); if (tmp_stop_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_1 = "ooo"; goto tuple_build_exception_1; } tmp_tuple_element_1 = MAKE_SLICEOBJ1(tmp_stop_name_1); Py_DECREF(tmp_stop_name_1); assert(!(tmp_tuple_element_1 == NULL)); PyTuple_SET_ITEM(tmp_subscript_name_1, 1, tmp_tuple_element_1); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_subscript_name_1); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_assign_source_1 = LOOKUP_SUBSCRIPT(tmp_expression_name_1, tmp_subscript_name_1); Py_DECREF(tmp_subscript_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert(var_x1 == NULL); var_x1 = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_expression_name_4; PyObject *tmp_subscript_name_3; PyObject *tmp_tuple_element_2; if (par_x == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 113; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_4 = par_x; tmp_tuple_element_2 = Py_Ellipsis; tmp_subscript_name_3 = PyTuple_New(2); { PyObject *tmp_start_name_1; PyObject *tmp_left_name_2; PyObject *tmp_expression_name_5; PyObject *tmp_expression_name_6; PyObject *tmp_subscript_name_4; PyObject *tmp_right_name_2; PyObject *tmp_stop_name_2; PyTuple_SET_ITEM0(tmp_subscript_name_3, 0, tmp_tuple_element_2); if (par_x == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 113; type_description_1 = "ooo"; goto tuple_build_exception_2; } tmp_expression_name_6 = par_x; tmp_expression_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[65]); if (tmp_expression_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 113; type_description_1 = "ooo"; goto tuple_build_exception_2; } tmp_subscript_name_4 = mod_consts[66]; tmp_left_name_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_5, tmp_subscript_name_4, -1); Py_DECREF(tmp_expression_name_5); if (tmp_left_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 113; type_description_1 = "ooo"; goto tuple_build_exception_2; } tmp_right_name_2 = mod_consts[49]; tmp_start_name_1 = BINARY_OPERATION_FLOORDIV_OBJECT_OBJECT_LONG(tmp_left_name_2, tmp_right_name_2); Py_DECREF(tmp_left_name_2); if (tmp_start_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 113; type_description_1 = "ooo"; goto tuple_build_exception_2; } tmp_stop_name_2 = Py_None; tmp_tuple_element_2 = MAKE_SLICEOBJ2(tmp_start_name_1, tmp_stop_name_2); Py_DECREF(tmp_start_name_1); assert(!(tmp_tuple_element_2 == NULL)); PyTuple_SET_ITEM(tmp_subscript_name_3, 1, tmp_tuple_element_2); } goto tuple_build_noexception_2; // Exception handling pass through code for tuple_build: tuple_build_exception_2:; Py_DECREF(tmp_subscript_name_3); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_2:; tmp_assign_source_2 = LOOKUP_SUBSCRIPT(tmp_expression_name_4, tmp_subscript_name_3); Py_DECREF(tmp_subscript_name_3); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 113; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert(var_x2 == NULL); var_x2 = tmp_assign_source_2; } { PyObject *tmp_called_name_1; PyObject *tmp_expression_name_7; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_3; PyObject *tmp_tuple_element_4; PyObject *tmp_operand_name_1; PyObject *tmp_kwargs_name_1; tmp_expression_name_7 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_7 == NULL)) { tmp_expression_name_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 114; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[17]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 114; type_description_1 = "ooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_x2); tmp_operand_name_1 = var_x2; tmp_tuple_element_4 = UNARY_OPERATION(PyNumber_Negative, tmp_operand_name_1); if (tmp_tuple_element_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 114; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_tuple_element_3 = PyTuple_New(2); PyTuple_SET_ITEM(tmp_tuple_element_3, 0, tmp_tuple_element_4); CHECK_OBJECT(var_x1); tmp_tuple_element_4 = var_x1; PyTuple_SET_ITEM0(tmp_tuple_element_3, 1, tmp_tuple_element_4); tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_1, 0, tmp_tuple_element_3); tmp_kwargs_name_1 = PyDict_Copy(mod_consts[20]); frame_9e040397e2554ecbd4bfb2870d7f13bd->m_frame.f_lineno = 114; tmp_return_value = CALL_FUNCTION(tmp_called_name_1, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 114; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_9e040397e2554ecbd4bfb2870d7f13bd); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_9e040397e2554ecbd4bfb2870d7f13bd); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_9e040397e2554ecbd4bfb2870d7f13bd); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_9e040397e2554ecbd4bfb2870d7f13bd, exception_lineno); } else if (exception_tb->tb_frame != &frame_9e040397e2554ecbd4bfb2870d7f13bd->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_9e040397e2554ecbd4bfb2870d7f13bd, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_9e040397e2554ecbd4bfb2870d7f13bd, type_description_1, par_x, var_x1, var_x2 ); // Release cached frame if used for exception. if (frame_9e040397e2554ecbd4bfb2870d7f13bd == cache_frame_9e040397e2554ecbd4bfb2870d7f13bd) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_9e040397e2554ecbd4bfb2870d7f13bd); cache_frame_9e040397e2554ecbd4bfb2870d7f13bd = NULL; } assertFrameObject(frame_9e040397e2554ecbd4bfb2870d7f13bd); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_x); par_x = NULL; Py_XDECREF(var_x1); var_x1 = NULL; CHECK_OBJECT(var_x2); Py_DECREF(var_x2); var_x2 = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_x); par_x = NULL; Py_XDECREF(var_x1); var_x1 = NULL; Py_XDECREF(var_x2); var_x2 = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__8_apply_rotary_pos_emb(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_q = python_pars[0]; PyObject *par_k = python_pars[1]; PyObject *par_cos = python_pars[2]; PyObject *par_sin = python_pars[3]; PyObject *par_position_ids = python_pars[4]; PyObject *var_gather_indices = NULL; PyObject *var_q_embed = NULL; PyObject *var_k_embed = NULL; struct Nuitka_FrameObject *frame_175cc427deba3e5032b050ced786acda; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_175cc427deba3e5032b050ced786acda = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_175cc427deba3e5032b050ced786acda)) { Py_XDECREF(cache_frame_175cc427deba3e5032b050ced786acda); #if _DEBUG_REFCOUNTS if (cache_frame_175cc427deba3e5032b050ced786acda == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_175cc427deba3e5032b050ced786acda = MAKE_FUNCTION_FRAME(codeobj_175cc427deba3e5032b050ced786acda, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_175cc427deba3e5032b050ced786acda->m_type_description == NULL); frame_175cc427deba3e5032b050ced786acda = cache_frame_175cc427deba3e5032b050ced786acda; // Push the new frame as the currently active one. pushFrameStack(frame_175cc427deba3e5032b050ced786acda); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_175cc427deba3e5032b050ced786acda) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_expression_name_1; PyObject *tmp_subscript_name_1; CHECK_OBJECT(par_position_ids); tmp_expression_name_1 = par_position_ids; tmp_subscript_name_1 = mod_consts[68]; tmp_assign_source_1 = LOOKUP_SUBSCRIPT(tmp_expression_name_1, tmp_subscript_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 118; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } assert(var_gather_indices == NULL); var_gather_indices = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_expression_name_3; PyObject *tmp_expression_name_4; PyObject *tmp_subscript_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_expression_name_5; PyObject *tmp_expression_name_6; PyObject *tmp_subscript_name_3; CHECK_OBJECT(var_gather_indices); tmp_expression_name_2 = var_gather_indices; tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[69]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 119; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = mod_consts[12]; CHECK_OBJECT(par_cos); tmp_expression_name_4 = par_cos; tmp_expression_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[65]); if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 119; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_2 = mod_consts[12]; tmp_args_element_name_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_3, tmp_subscript_name_2, 1); Py_DECREF(tmp_expression_name_3); if (tmp_args_element_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 119; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = mod_consts[12]; if (par_cos == NULL) { Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[58]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 119; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_expression_name_6 = par_cos; tmp_expression_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[65]); if (tmp_expression_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_2); exception_lineno = 119; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_3 = mod_consts[70]; tmp_args_element_name_4 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_5, tmp_subscript_name_3, 3); Py_DECREF(tmp_expression_name_5); if (tmp_args_element_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_2); exception_lineno = 119; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } frame_175cc427deba3e5032b050ced786acda->m_frame.f_lineno = 119; { PyObject *call_args[] = {tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4}; tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS4(tmp_called_name_1, call_args); } Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_2); Py_DECREF(tmp_args_element_name_4); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 119; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_gather_indices; var_gather_indices = tmp_assign_source_2; Py_XDECREF(old); } } { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_7; PyObject *tmp_args_element_name_5; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_8; PyObject *tmp_args_element_name_6; PyObject *tmp_expression_name_9; PyObject *tmp_expression_name_10; PyObject *tmp_subscript_name_4; PyObject *tmp_args_element_name_7; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; PyObject *tmp_args_element_name_10; PyObject *tmp_args_element_name_11; tmp_expression_name_7 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_7 == NULL)) { tmp_expression_name_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[71]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if (par_cos == NULL) { Py_DECREF(tmp_called_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[58]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_expression_name_8 = par_cos; tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[69]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_gather_indices); tmp_expression_name_10 = var_gather_indices; tmp_expression_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[65]); if (tmp_expression_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_called_name_3); exception_lineno = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_4 = mod_consts[14]; tmp_args_element_name_6 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_9, tmp_subscript_name_4, 0); Py_DECREF(tmp_expression_name_9); if (tmp_args_element_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_called_name_3); exception_lineno = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_7 = mod_consts[12]; tmp_args_element_name_8 = mod_consts[12]; tmp_args_element_name_9 = mod_consts[12]; frame_175cc427deba3e5032b050ced786acda->m_frame.f_lineno = 120; { PyObject *call_args[] = {tmp_args_element_name_6, tmp_args_element_name_7, tmp_args_element_name_8, tmp_args_element_name_9}; tmp_args_element_name_5 = CALL_FUNCTION_WITH_ARGS4(tmp_called_name_3, call_args); } Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_element_name_6); if (tmp_args_element_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_10 = mod_consts[49]; if (var_gather_indices == NULL) { Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[72]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_11 = var_gather_indices; frame_175cc427deba3e5032b050ced786acda->m_frame.f_lineno = 120; { PyObject *call_args[] = {tmp_args_element_name_5, tmp_args_element_name_10, tmp_args_element_name_11}; tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_2, call_args); } Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_5); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_cos; par_cos = tmp_assign_source_3; Py_XDECREF(old); } } { PyObject *tmp_assign_source_4; PyObject *tmp_called_name_4; PyObject *tmp_expression_name_11; PyObject *tmp_args_element_name_12; PyObject *tmp_called_name_5; PyObject *tmp_expression_name_12; PyObject *tmp_args_element_name_13; PyObject *tmp_expression_name_13; PyObject *tmp_expression_name_14; PyObject *tmp_subscript_name_5; PyObject *tmp_args_element_name_14; PyObject *tmp_args_element_name_15; PyObject *tmp_args_element_name_16; PyObject *tmp_args_element_name_17; PyObject *tmp_args_element_name_18; tmp_expression_name_11 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_11 == NULL)) { tmp_expression_name_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 121; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[71]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 121; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_sin); tmp_expression_name_12 = par_sin; tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[69]); if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 121; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if (var_gather_indices == NULL) { Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_called_name_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[72]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 121; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_expression_name_14 = var_gather_indices; tmp_expression_name_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_14, mod_consts[65]); if (tmp_expression_name_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_called_name_5); exception_lineno = 121; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_5 = mod_consts[14]; tmp_args_element_name_13 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_13, tmp_subscript_name_5, 0); Py_DECREF(tmp_expression_name_13); if (tmp_args_element_name_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_called_name_5); exception_lineno = 121; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_14 = mod_consts[12]; tmp_args_element_name_15 = mod_consts[12]; tmp_args_element_name_16 = mod_consts[12]; frame_175cc427deba3e5032b050ced786acda->m_frame.f_lineno = 121; { PyObject *call_args[] = {tmp_args_element_name_13, tmp_args_element_name_14, tmp_args_element_name_15, tmp_args_element_name_16}; tmp_args_element_name_12 = CALL_FUNCTION_WITH_ARGS4(tmp_called_name_5, call_args); } Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_element_name_13); if (tmp_args_element_name_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 121; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_17 = mod_consts[49]; if (var_gather_indices == NULL) { Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_element_name_12); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[72]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 121; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_18 = var_gather_indices; frame_175cc427deba3e5032b050ced786acda->m_frame.f_lineno = 121; { PyObject *call_args[] = {tmp_args_element_name_12, tmp_args_element_name_17, tmp_args_element_name_18}; tmp_assign_source_4 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_4, call_args); } Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_element_name_12); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 121; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_sin; par_sin = tmp_assign_source_4; Py_XDECREF(old); } } { PyObject *tmp_assign_source_5; PyObject *tmp_left_name_1; PyObject *tmp_left_name_2; PyObject *tmp_right_name_1; PyObject *tmp_right_name_2; PyObject *tmp_left_name_3; PyObject *tmp_called_name_6; PyObject *tmp_args_element_name_19; PyObject *tmp_right_name_3; CHECK_OBJECT(par_q); tmp_left_name_2 = par_q; CHECK_OBJECT(par_cos); tmp_right_name_1 = par_cos; tmp_left_name_1 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_2, tmp_right_name_1); if (tmp_left_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 122; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_6 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[73]); if (unlikely(tmp_called_name_6 == NULL)) { tmp_called_name_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[73]); } if (tmp_called_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_1); exception_lineno = 122; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if (par_q == NULL) { Py_DECREF(tmp_left_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[74]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 122; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_19 = par_q; frame_175cc427deba3e5032b050ced786acda->m_frame.f_lineno = 122; tmp_left_name_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_6, tmp_args_element_name_19); if (tmp_left_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_1); exception_lineno = 122; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_sin); tmp_right_name_3 = par_sin; tmp_right_name_2 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_3, tmp_right_name_3); Py_DECREF(tmp_left_name_3); if (tmp_right_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_1); exception_lineno = 122; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assign_source_5 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_1, tmp_right_name_2); Py_DECREF(tmp_left_name_1); Py_DECREF(tmp_right_name_2); if (tmp_assign_source_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 122; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } assert(var_q_embed == NULL); var_q_embed = tmp_assign_source_5; } { PyObject *tmp_assign_source_6; PyObject *tmp_left_name_4; PyObject *tmp_left_name_5; PyObject *tmp_right_name_4; PyObject *tmp_right_name_5; PyObject *tmp_left_name_6; PyObject *tmp_called_name_7; PyObject *tmp_args_element_name_20; PyObject *tmp_right_name_6; CHECK_OBJECT(par_k); tmp_left_name_5 = par_k; if (par_cos == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[58]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 123; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_right_name_4 = par_cos; tmp_left_name_4 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_5, tmp_right_name_4); if (tmp_left_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 123; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_7 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[73]); if (unlikely(tmp_called_name_7 == NULL)) { tmp_called_name_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[73]); } if (tmp_called_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_4); exception_lineno = 123; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if (par_k == NULL) { Py_DECREF(tmp_left_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[75]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 123; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_20 = par_k; frame_175cc427deba3e5032b050ced786acda->m_frame.f_lineno = 123; tmp_left_name_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_7, tmp_args_element_name_20); if (tmp_left_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_4); exception_lineno = 123; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if (par_sin == NULL) { Py_DECREF(tmp_left_name_4); Py_DECREF(tmp_left_name_6); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[62]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 123; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_right_name_6 = par_sin; tmp_right_name_5 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_6, tmp_right_name_6); Py_DECREF(tmp_left_name_6); if (tmp_right_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_4); exception_lineno = 123; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assign_source_6 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_4, tmp_right_name_5); Py_DECREF(tmp_left_name_4); Py_DECREF(tmp_right_name_5); if (tmp_assign_source_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 123; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } assert(var_k_embed == NULL); var_k_embed = tmp_assign_source_6; } #if 0 RESTORE_FRAME_EXCEPTION(frame_175cc427deba3e5032b050ced786acda); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_175cc427deba3e5032b050ced786acda); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_175cc427deba3e5032b050ced786acda, exception_lineno); } else if (exception_tb->tb_frame != &frame_175cc427deba3e5032b050ced786acda->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_175cc427deba3e5032b050ced786acda, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_175cc427deba3e5032b050ced786acda, type_description_1, par_q, par_k, par_cos, par_sin, par_position_ids, var_gather_indices, var_q_embed, var_k_embed ); // Release cached frame if used for exception. if (frame_175cc427deba3e5032b050ced786acda == cache_frame_175cc427deba3e5032b050ced786acda) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_175cc427deba3e5032b050ced786acda); cache_frame_175cc427deba3e5032b050ced786acda = NULL; } assertFrameObject(frame_175cc427deba3e5032b050ced786acda); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { PyObject *tmp_tuple_element_1; CHECK_OBJECT(var_q_embed); tmp_tuple_element_1 = var_q_embed; tmp_return_value = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_return_value, 0, tmp_tuple_element_1); CHECK_OBJECT(var_k_embed); tmp_tuple_element_1 = var_k_embed; PyTuple_SET_ITEM0(tmp_return_value, 1, tmp_tuple_element_1); goto try_return_handler_1; } NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_q); par_q = NULL; Py_XDECREF(par_k); par_k = NULL; Py_XDECREF(par_cos); par_cos = NULL; Py_XDECREF(par_sin); par_sin = NULL; CHECK_OBJECT(par_position_ids); Py_DECREF(par_position_ids); par_position_ids = NULL; Py_XDECREF(var_gather_indices); var_gather_indices = NULL; CHECK_OBJECT(var_q_embed); Py_DECREF(var_q_embed); var_q_embed = NULL; CHECK_OBJECT(var_k_embed); Py_DECREF(var_k_embed); var_k_embed = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_q); par_q = NULL; Py_XDECREF(par_k); par_k = NULL; Py_XDECREF(par_cos); par_cos = NULL; Py_XDECREF(par_sin); par_sin = NULL; CHECK_OBJECT(par_position_ids); Py_DECREF(par_position_ids); par_position_ids = NULL; Py_XDECREF(var_gather_indices); var_gather_indices = NULL; Py_XDECREF(var_q_embed); var_q_embed = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__9___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_hidden_size = python_pars[1]; PyObject *par_intermediate_size = python_pars[2]; PyObject *par_hidden_act = python_pars[3]; struct Nuitka_FrameObject *frame_c812a220ca24815dfca385c9b756a3e4; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_c812a220ca24815dfca385c9b756a3e4 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_c812a220ca24815dfca385c9b756a3e4)) { Py_XDECREF(cache_frame_c812a220ca24815dfca385c9b756a3e4); #if _DEBUG_REFCOUNTS if (cache_frame_c812a220ca24815dfca385c9b756a3e4 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_c812a220ca24815dfca385c9b756a3e4 = MAKE_FUNCTION_FRAME(codeobj_c812a220ca24815dfca385c9b756a3e4, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_c812a220ca24815dfca385c9b756a3e4->m_type_description == NULL); frame_c812a220ca24815dfca385c9b756a3e4 = cache_frame_c812a220ca24815dfca385c9b756a3e4; // Push the new frame as the currently active one. pushFrameStack(frame_c812a220ca24815dfca385c9b756a3e4); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_c812a220ca24815dfca385c9b756a3e4) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_call_result_1; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[31]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 134; type_description_1 = "ooooc"; goto frame_exception_exit_1; } tmp_type_arg_name_1 = Nuitka_Cell_GET(self->m_closure[0]); CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER0(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 134; type_description_1 = "ooooc"; goto frame_exception_exit_1; } frame_c812a220ca24815dfca385c9b756a3e4->m_frame.f_lineno = 134; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[32]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 134; type_description_1 = "ooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assattr_name_1; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_kwargs_name_1; PyObject *tmp_assattr_target_1; tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[33]); if (unlikely(tmp_expression_name_1 == NULL)) { tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]); } if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 135; type_description_1 = "ooooc"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[76]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 135; type_description_1 = "ooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_hidden_size); tmp_tuple_element_1 = par_hidden_size; tmp_args_name_1 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_1); CHECK_OBJECT(par_intermediate_size); tmp_tuple_element_1 = par_intermediate_size; PyTuple_SET_ITEM0(tmp_args_name_1, 1, tmp_tuple_element_1); tmp_kwargs_name_1 = PyDict_Copy(mod_consts[77]); frame_c812a220ca24815dfca385c9b756a3e4->m_frame.f_lineno = 135; tmp_assattr_name_1 = CALL_FUNCTION(tmp_called_name_1, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assattr_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 135; type_description_1 = "ooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[78], tmp_assattr_name_1); Py_DECREF(tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 135; type_description_1 = "ooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_2; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_2; PyObject *tmp_kwargs_name_2; PyObject *tmp_assattr_target_2; tmp_expression_name_2 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[33]); if (unlikely(tmp_expression_name_2 == NULL)) { tmp_expression_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]); } if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 136; type_description_1 = "ooooc"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[76]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 136; type_description_1 = "ooooc"; goto frame_exception_exit_1; } if (par_intermediate_size == NULL) { Py_DECREF(tmp_called_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[79]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 136; type_description_1 = "ooooc"; goto frame_exception_exit_1; } tmp_tuple_element_2 = par_intermediate_size; tmp_args_name_2 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_2, 0, tmp_tuple_element_2); if (par_hidden_size == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[80]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 136; type_description_1 = "ooooc"; goto tuple_build_exception_1; } tmp_tuple_element_2 = par_hidden_size; PyTuple_SET_ITEM0(tmp_args_name_2, 1, tmp_tuple_element_2); goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_name_2); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_kwargs_name_2 = PyDict_Copy(mod_consts[77]); frame_c812a220ca24815dfca385c9b756a3e4->m_frame.f_lineno = 136; tmp_assattr_name_2 = CALL_FUNCTION(tmp_called_name_2, tmp_args_name_2, tmp_kwargs_name_2); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_name_2); Py_DECREF(tmp_kwargs_name_2); if (tmp_assattr_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 136; type_description_1 = "ooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[81], tmp_assattr_name_2); Py_DECREF(tmp_assattr_name_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 136; type_description_1 = "ooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_3; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_3; PyObject *tmp_kwargs_name_3; PyObject *tmp_assattr_target_3; tmp_expression_name_3 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[33]); if (unlikely(tmp_expression_name_3 == NULL)) { tmp_expression_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]); } if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 137; type_description_1 = "ooooc"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[76]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 137; type_description_1 = "ooooc"; goto frame_exception_exit_1; } if (par_hidden_size == NULL) { Py_DECREF(tmp_called_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[80]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 137; type_description_1 = "ooooc"; goto frame_exception_exit_1; } tmp_tuple_element_3 = par_hidden_size; tmp_args_name_3 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_3, 0, tmp_tuple_element_3); if (par_intermediate_size == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[79]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 137; type_description_1 = "ooooc"; goto tuple_build_exception_2; } tmp_tuple_element_3 = par_intermediate_size; PyTuple_SET_ITEM0(tmp_args_name_3, 1, tmp_tuple_element_3); goto tuple_build_noexception_2; // Exception handling pass through code for tuple_build: tuple_build_exception_2:; Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_name_3); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_2:; tmp_kwargs_name_3 = PyDict_Copy(mod_consts[77]); frame_c812a220ca24815dfca385c9b756a3e4->m_frame.f_lineno = 137; tmp_assattr_name_3 = CALL_FUNCTION(tmp_called_name_3, tmp_args_name_3, tmp_kwargs_name_3); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_name_3); Py_DECREF(tmp_kwargs_name_3); if (tmp_assattr_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 137; type_description_1 = "ooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[82], tmp_assattr_name_3); Py_DECREF(tmp_assattr_name_3); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 137; type_description_1 = "ooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_expression_name_4; PyObject *tmp_subscript_name_1; PyObject *tmp_assattr_target_4; tmp_expression_name_4 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[83]); if (unlikely(tmp_expression_name_4 == NULL)) { tmp_expression_name_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[83]); } if (tmp_expression_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 138; type_description_1 = "ooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_hidden_act); tmp_subscript_name_1 = par_hidden_act; tmp_assattr_name_4 = LOOKUP_SUBSCRIPT(tmp_expression_name_4, tmp_subscript_name_1); if (tmp_assattr_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 138; type_description_1 = "ooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[84], tmp_assattr_name_4); Py_DECREF(tmp_assattr_name_4); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 138; type_description_1 = "ooooc"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_c812a220ca24815dfca385c9b756a3e4); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_c812a220ca24815dfca385c9b756a3e4); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_c812a220ca24815dfca385c9b756a3e4, exception_lineno); } else if (exception_tb->tb_frame != &frame_c812a220ca24815dfca385c9b756a3e4->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_c812a220ca24815dfca385c9b756a3e4, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_c812a220ca24815dfca385c9b756a3e4, type_description_1, par_self, par_hidden_size, par_intermediate_size, par_hidden_act, self->m_closure[0] ); // Release cached frame if used for exception. if (frame_c812a220ca24815dfca385c9b756a3e4 == cache_frame_c812a220ca24815dfca385c9b756a3e4) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_c812a220ca24815dfca385c9b756a3e4); cache_frame_c812a220ca24815dfca385c9b756a3e4 = NULL; } assertFrameObject(frame_c812a220ca24815dfca385c9b756a3e4); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_hidden_size); par_hidden_size = NULL; Py_XDECREF(par_intermediate_size); par_intermediate_size = NULL; CHECK_OBJECT(par_hidden_act); Py_DECREF(par_hidden_act); par_hidden_act = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_hidden_size); par_hidden_size = NULL; Py_XDECREF(par_intermediate_size); par_intermediate_size = NULL; CHECK_OBJECT(par_hidden_act); Py_DECREF(par_hidden_act); par_hidden_act = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__10_forward(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_x = python_pars[1]; struct Nuitka_FrameObject *frame_62a79f1c410f5a7722a1410b65e3d18a; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_62a79f1c410f5a7722a1410b65e3d18a = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_62a79f1c410f5a7722a1410b65e3d18a)) { Py_XDECREF(cache_frame_62a79f1c410f5a7722a1410b65e3d18a); #if _DEBUG_REFCOUNTS if (cache_frame_62a79f1c410f5a7722a1410b65e3d18a == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_62a79f1c410f5a7722a1410b65e3d18a = MAKE_FUNCTION_FRAME(codeobj_62a79f1c410f5a7722a1410b65e3d18a, module_models$modeling_llama, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_62a79f1c410f5a7722a1410b65e3d18a->m_type_description == NULL); frame_62a79f1c410f5a7722a1410b65e3d18a = cache_frame_62a79f1c410f5a7722a1410b65e3d18a; // Push the new frame as the currently active one. pushFrameStack(frame_62a79f1c410f5a7722a1410b65e3d18a); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_62a79f1c410f5a7722a1410b65e3d18a) == 2); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_left_name_1; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_2; PyObject *tmp_args_element_name_2; PyObject *tmp_called_instance_1; PyObject *tmp_args_element_name_3; PyObject *tmp_right_name_1; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_3; PyObject *tmp_args_element_name_4; CHECK_OBJECT(par_self); tmp_expression_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[81]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 141; type_description_1 = "oo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 141; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_name_2 = par_self; tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[84]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 141; type_description_1 = "oo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_called_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 141; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_self; CHECK_OBJECT(par_x); tmp_args_element_name_3 = par_x; frame_62a79f1c410f5a7722a1410b65e3d18a->m_frame.f_lineno = 141; tmp_args_element_name_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[78], tmp_args_element_name_3); if (tmp_args_element_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_called_name_2); exception_lineno = 141; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_62a79f1c410f5a7722a1410b65e3d18a->m_frame.f_lineno = 141; tmp_left_name_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, tmp_args_element_name_2); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_2); if (tmp_left_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 141; type_description_1 = "oo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_left_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 141; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_name_3 = par_self; tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[82]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_left_name_1); exception_lineno = 141; type_description_1 = "oo"; goto frame_exception_exit_1; } if (par_x == NULL) { Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_left_name_1); Py_DECREF(tmp_called_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 141; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_x; frame_62a79f1c410f5a7722a1410b65e3d18a->m_frame.f_lineno = 141; tmp_right_name_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_3, tmp_args_element_name_4); Py_DECREF(tmp_called_name_3); if (tmp_right_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_left_name_1); exception_lineno = 141; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_left_name_1); Py_DECREF(tmp_right_name_1); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 141; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_62a79f1c410f5a7722a1410b65e3d18a->m_frame.f_lineno = 141; tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 141; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_62a79f1c410f5a7722a1410b65e3d18a); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_62a79f1c410f5a7722a1410b65e3d18a); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_62a79f1c410f5a7722a1410b65e3d18a); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_62a79f1c410f5a7722a1410b65e3d18a, exception_lineno); } else if (exception_tb->tb_frame != &frame_62a79f1c410f5a7722a1410b65e3d18a->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_62a79f1c410f5a7722a1410b65e3d18a, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_62a79f1c410f5a7722a1410b65e3d18a, type_description_1, par_self, par_x ); // Release cached frame if used for exception. if (frame_62a79f1c410f5a7722a1410b65e3d18a == cache_frame_62a79f1c410f5a7722a1410b65e3d18a) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_62a79f1c410f5a7722a1410b65e3d18a); cache_frame_62a79f1c410f5a7722a1410b65e3d18a = NULL; } assertFrameObject(frame_62a79f1c410f5a7722a1410b65e3d18a); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_x); par_x = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_x); par_x = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__11___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_config = python_pars[1]; struct Nuitka_FrameObject *frame_0ad3c42e181292178c7936502c2f7430; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; int tmp_res; static struct Nuitka_FrameObject *cache_frame_0ad3c42e181292178c7936502c2f7430 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_0ad3c42e181292178c7936502c2f7430)) { Py_XDECREF(cache_frame_0ad3c42e181292178c7936502c2f7430); #if _DEBUG_REFCOUNTS if (cache_frame_0ad3c42e181292178c7936502c2f7430 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_0ad3c42e181292178c7936502c2f7430 = MAKE_FUNCTION_FRAME(codeobj_0ad3c42e181292178c7936502c2f7430, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_0ad3c42e181292178c7936502c2f7430->m_type_description == NULL); frame_0ad3c42e181292178c7936502c2f7430 = cache_frame_0ad3c42e181292178c7936502c2f7430; // Push the new frame as the currently active one. pushFrameStack(frame_0ad3c42e181292178c7936502c2f7430); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_0ad3c42e181292178c7936502c2f7430) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_call_result_1; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[31]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 148; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_type_arg_name_1 = Nuitka_Cell_GET(self->m_closure[0]); CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER0(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 148; type_description_1 = "ooc"; goto frame_exception_exit_1; } frame_0ad3c42e181292178c7936502c2f7430->m_frame.f_lineno = 148; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[32]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 148; type_description_1 = "ooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT(par_config); tmp_assattr_name_1 = par_config; CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[85], tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 149; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_expression_name_1; PyObject *tmp_assattr_target_2; CHECK_OBJECT(par_config); tmp_expression_name_1 = par_config; tmp_assattr_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[80]); if (tmp_assattr_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 150; type_description_1 = "ooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[80], tmp_assattr_name_2); Py_DECREF(tmp_assattr_name_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 150; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_expression_name_2; PyObject *tmp_assattr_target_3; if (par_config == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 151; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_2 = par_config; tmp_assattr_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[86]); if (tmp_assattr_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; type_description_1 = "ooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[87], tmp_assattr_name_3); Py_DECREF(tmp_assattr_name_3); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_left_name_1; PyObject *tmp_expression_name_3; PyObject *tmp_right_name_1; PyObject *tmp_expression_name_4; PyObject *tmp_assattr_target_4; CHECK_OBJECT(par_self); tmp_expression_name_3 = par_self; tmp_left_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[80]); if (tmp_left_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 152; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_left_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 152; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_4 = par_self; tmp_right_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[87]); if (tmp_right_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_1); exception_lineno = 152; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_assattr_name_4 = BINARY_OPERATION_FLOORDIV_OBJECT_OBJECT_OBJECT(tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_left_name_1); Py_DECREF(tmp_right_name_1); if (tmp_assattr_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 152; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 152; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[88], tmp_assattr_name_4); Py_DECREF(tmp_assattr_name_4); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 152; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_5; PyObject *tmp_expression_name_5; PyObject *tmp_assattr_target_5; if (par_config == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 153; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_5 = par_config; tmp_assattr_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[89]); if (tmp_assattr_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 153; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_assattr_target_5 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[89], tmp_assattr_name_5); Py_DECREF(tmp_assattr_name_5); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_left_name_2; PyObject *tmp_expression_name_6; PyObject *tmp_right_name_2; PyObject *tmp_expression_name_7; PyObject *tmp_expression_name_8; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 155; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_6 = par_self; tmp_left_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[88]); if (tmp_left_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 155; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_left_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 155; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_7 = par_self; tmp_right_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[87]); if (tmp_right_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_2); exception_lineno = 155; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_2, tmp_right_name_2); Py_DECREF(tmp_left_name_2); Py_DECREF(tmp_right_name_2); if (tmp_compexpr_left_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 155; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_compexpr_left_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 155; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_8 = par_self; tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[80]); if (tmp_compexpr_right_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_compexpr_left_1); exception_lineno = 155; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_condition_result_1 = RICH_COMPARE_NE_NBOOL_OBJECT_OBJECT(tmp_compexpr_left_1, tmp_compexpr_right_1); Py_DECREF(tmp_compexpr_left_1); Py_DECREF(tmp_compexpr_right_1); if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 155; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } assert(tmp_condition_result_1 != NUITKA_BOOL_UNASSIGNED); } branch_yes_1:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; PyObject *tmp_string_concat_values_1; PyObject *tmp_tuple_element_1; tmp_tuple_element_1 = mod_consts[90]; tmp_string_concat_values_1 = PyTuple_New(5); { PyObject *tmp_format_value_1; PyObject *tmp_expression_name_9; PyObject *tmp_format_spec_1; PyObject *tmp_format_value_2; PyObject *tmp_expression_name_10; PyObject *tmp_format_spec_2; PyTuple_SET_ITEM0(tmp_string_concat_values_1, 0, tmp_tuple_element_1); if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 157; type_description_1 = "ooc"; goto tuple_build_exception_1; } tmp_expression_name_9 = par_self; tmp_format_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[80]); if (tmp_format_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 157; type_description_1 = "ooc"; goto tuple_build_exception_1; } tmp_format_spec_1 = mod_consts[91]; tmp_tuple_element_1 = BUILTIN_FORMAT(tmp_format_value_1, tmp_format_spec_1); Py_DECREF(tmp_format_value_1); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 157; type_description_1 = "ooc"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_string_concat_values_1, 1, tmp_tuple_element_1); tmp_tuple_element_1 = mod_consts[92]; PyTuple_SET_ITEM0(tmp_string_concat_values_1, 2, tmp_tuple_element_1); if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 158; type_description_1 = "ooc"; goto tuple_build_exception_1; } tmp_expression_name_10 = par_self; tmp_format_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[87]); if (tmp_format_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 158; type_description_1 = "ooc"; goto tuple_build_exception_1; } tmp_format_spec_2 = mod_consts[91]; tmp_tuple_element_1 = BUILTIN_FORMAT(tmp_format_value_2, tmp_format_spec_2); Py_DECREF(tmp_format_value_2); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 157; type_description_1 = "ooc"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_string_concat_values_1, 3, tmp_tuple_element_1); tmp_tuple_element_1 = mod_consts[93]; PyTuple_SET_ITEM0(tmp_string_concat_values_1, 4, tmp_tuple_element_1); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_string_concat_values_1); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_make_exception_arg_1 = PyUnicode_Join(mod_consts[91], tmp_string_concat_values_1); Py_DECREF(tmp_string_concat_values_1); if (tmp_make_exception_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 157; type_description_1 = "ooc"; goto frame_exception_exit_1; } frame_0ad3c42e181292178c7936502c2f7430->m_frame.f_lineno = 156; tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1); Py_DECREF(tmp_make_exception_arg_1); assert(!(tmp_raise_type_1 == NULL)); exception_type = tmp_raise_type_1; exception_lineno = 156; RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb); type_description_1 = "ooc"; goto frame_exception_exit_1; } branch_no_1:; { PyObject *tmp_assattr_name_6; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_11; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_2; PyObject *tmp_expression_name_12; PyObject *tmp_kwargs_name_1; PyObject *tmp_assattr_target_6; tmp_expression_name_11 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[33]); if (unlikely(tmp_expression_name_11 == NULL)) { tmp_expression_name_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]); } if (tmp_expression_name_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 160; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[76]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 160; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 160; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_12 = par_self; tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[80]); if (tmp_tuple_element_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 160; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_args_name_1 = PyTuple_New(2); { PyObject *tmp_left_name_3; PyObject *tmp_expression_name_13; PyObject *tmp_right_name_3; PyObject *tmp_expression_name_14; PyTuple_SET_ITEM(tmp_args_name_1, 0, tmp_tuple_element_2); if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 160; type_description_1 = "ooc"; goto tuple_build_exception_2; } tmp_expression_name_13 = par_self; tmp_left_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_13, mod_consts[87]); if (tmp_left_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 160; type_description_1 = "ooc"; goto tuple_build_exception_2; } if (par_self == NULL) { Py_DECREF(tmp_left_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 160; type_description_1 = "ooc"; goto tuple_build_exception_2; } tmp_expression_name_14 = par_self; tmp_right_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_14, mod_consts[88]); if (tmp_right_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_3); exception_lineno = 160; type_description_1 = "ooc"; goto tuple_build_exception_2; } tmp_tuple_element_2 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_3, tmp_right_name_3); Py_DECREF(tmp_left_name_3); Py_DECREF(tmp_right_name_3); if (tmp_tuple_element_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 160; type_description_1 = "ooc"; goto tuple_build_exception_2; } PyTuple_SET_ITEM(tmp_args_name_1, 1, tmp_tuple_element_2); } goto tuple_build_noexception_2; // Exception handling pass through code for tuple_build: tuple_build_exception_2:; Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_2:; tmp_kwargs_name_1 = PyDict_Copy(mod_consts[77]); frame_0ad3c42e181292178c7936502c2f7430->m_frame.f_lineno = 160; tmp_assattr_name_6 = CALL_FUNCTION(tmp_called_name_1, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assattr_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 160; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_6); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 160; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_assattr_target_6 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[94], tmp_assattr_name_6); Py_DECREF(tmp_assattr_name_6); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 160; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_7; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_15; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_3; PyObject *tmp_expression_name_16; PyObject *tmp_kwargs_name_2; PyObject *tmp_assattr_target_7; tmp_expression_name_15 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[33]); if (unlikely(tmp_expression_name_15 == NULL)) { tmp_expression_name_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]); } if (tmp_expression_name_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 161; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_15, mod_consts[76]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 161; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 161; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_16 = par_self; tmp_tuple_element_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_16, mod_consts[80]); if (tmp_tuple_element_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 161; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_args_name_2 = PyTuple_New(2); { PyObject *tmp_left_name_4; PyObject *tmp_expression_name_17; PyObject *tmp_right_name_4; PyObject *tmp_expression_name_18; PyTuple_SET_ITEM(tmp_args_name_2, 0, tmp_tuple_element_3); if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 161; type_description_1 = "ooc"; goto tuple_build_exception_3; } tmp_expression_name_17 = par_self; tmp_left_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_17, mod_consts[87]); if (tmp_left_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 161; type_description_1 = "ooc"; goto tuple_build_exception_3; } if (par_self == NULL) { Py_DECREF(tmp_left_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 161; type_description_1 = "ooc"; goto tuple_build_exception_3; } tmp_expression_name_18 = par_self; tmp_right_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_18, mod_consts[88]); if (tmp_right_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_4); exception_lineno = 161; type_description_1 = "ooc"; goto tuple_build_exception_3; } tmp_tuple_element_3 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_4, tmp_right_name_4); Py_DECREF(tmp_left_name_4); Py_DECREF(tmp_right_name_4); if (tmp_tuple_element_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 161; type_description_1 = "ooc"; goto tuple_build_exception_3; } PyTuple_SET_ITEM(tmp_args_name_2, 1, tmp_tuple_element_3); } goto tuple_build_noexception_3; // Exception handling pass through code for tuple_build: tuple_build_exception_3:; Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_name_2); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_3:; tmp_kwargs_name_2 = PyDict_Copy(mod_consts[77]); frame_0ad3c42e181292178c7936502c2f7430->m_frame.f_lineno = 161; tmp_assattr_name_7 = CALL_FUNCTION(tmp_called_name_2, tmp_args_name_2, tmp_kwargs_name_2); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_name_2); Py_DECREF(tmp_kwargs_name_2); if (tmp_assattr_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 161; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_7); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 161; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_assattr_target_7 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[95], tmp_assattr_name_7); Py_DECREF(tmp_assattr_name_7); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 161; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_8; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_19; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_4; PyObject *tmp_expression_name_20; PyObject *tmp_kwargs_name_3; PyObject *tmp_assattr_target_8; tmp_expression_name_19 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[33]); if (unlikely(tmp_expression_name_19 == NULL)) { tmp_expression_name_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]); } if (tmp_expression_name_19 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 162; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_19, mod_consts[76]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 162; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 162; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_20 = par_self; tmp_tuple_element_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_20, mod_consts[80]); if (tmp_tuple_element_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 162; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_args_name_3 = PyTuple_New(2); { PyObject *tmp_left_name_5; PyObject *tmp_expression_name_21; PyObject *tmp_right_name_5; PyObject *tmp_expression_name_22; PyTuple_SET_ITEM(tmp_args_name_3, 0, tmp_tuple_element_4); if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 162; type_description_1 = "ooc"; goto tuple_build_exception_4; } tmp_expression_name_21 = par_self; tmp_left_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_21, mod_consts[87]); if (tmp_left_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 162; type_description_1 = "ooc"; goto tuple_build_exception_4; } if (par_self == NULL) { Py_DECREF(tmp_left_name_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 162; type_description_1 = "ooc"; goto tuple_build_exception_4; } tmp_expression_name_22 = par_self; tmp_right_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_22, mod_consts[88]); if (tmp_right_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_5); exception_lineno = 162; type_description_1 = "ooc"; goto tuple_build_exception_4; } tmp_tuple_element_4 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_5, tmp_right_name_5); Py_DECREF(tmp_left_name_5); Py_DECREF(tmp_right_name_5); if (tmp_tuple_element_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 162; type_description_1 = "ooc"; goto tuple_build_exception_4; } PyTuple_SET_ITEM(tmp_args_name_3, 1, tmp_tuple_element_4); } goto tuple_build_noexception_4; // Exception handling pass through code for tuple_build: tuple_build_exception_4:; Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_name_3); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_4:; tmp_kwargs_name_3 = PyDict_Copy(mod_consts[77]); frame_0ad3c42e181292178c7936502c2f7430->m_frame.f_lineno = 162; tmp_assattr_name_8 = CALL_FUNCTION(tmp_called_name_3, tmp_args_name_3, tmp_kwargs_name_3); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_name_3); Py_DECREF(tmp_kwargs_name_3); if (tmp_assattr_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 162; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_8); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 162; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_assattr_target_8 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_8, mod_consts[96], tmp_assattr_name_8); Py_DECREF(tmp_assattr_name_8); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 162; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_9; PyObject *tmp_called_name_4; PyObject *tmp_expression_name_23; PyObject *tmp_args_name_4; PyObject *tmp_tuple_element_5; PyObject *tmp_left_name_6; PyObject *tmp_expression_name_24; PyObject *tmp_right_name_6; PyObject *tmp_expression_name_25; PyObject *tmp_kwargs_name_4; PyObject *tmp_assattr_target_9; tmp_expression_name_23 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[33]); if (unlikely(tmp_expression_name_23 == NULL)) { tmp_expression_name_23 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]); } if (tmp_expression_name_23 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 163; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_23, mod_consts[76]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 163; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 163; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_24 = par_self; tmp_left_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_24, mod_consts[87]); if (tmp_left_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 163; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_left_name_6); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 163; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_25 = par_self; tmp_right_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_25, mod_consts[88]); if (tmp_right_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_left_name_6); exception_lineno = 163; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_tuple_element_5 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_6, tmp_right_name_6); Py_DECREF(tmp_left_name_6); Py_DECREF(tmp_right_name_6); if (tmp_tuple_element_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 163; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_args_name_4 = PyTuple_New(2); { PyObject *tmp_expression_name_26; PyTuple_SET_ITEM(tmp_args_name_4, 0, tmp_tuple_element_5); if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 163; type_description_1 = "ooc"; goto tuple_build_exception_5; } tmp_expression_name_26 = par_self; tmp_tuple_element_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_26, mod_consts[80]); if (tmp_tuple_element_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 163; type_description_1 = "ooc"; goto tuple_build_exception_5; } PyTuple_SET_ITEM(tmp_args_name_4, 1, tmp_tuple_element_5); } goto tuple_build_noexception_5; // Exception handling pass through code for tuple_build: tuple_build_exception_5:; Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_name_4); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_5:; tmp_kwargs_name_4 = PyDict_Copy(mod_consts[77]); frame_0ad3c42e181292178c7936502c2f7430->m_frame.f_lineno = 163; tmp_assattr_name_9 = CALL_FUNCTION(tmp_called_name_4, tmp_args_name_4, tmp_kwargs_name_4); Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_name_4); Py_DECREF(tmp_kwargs_name_4); if (tmp_assattr_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 163; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_9); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 163; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_assattr_target_9 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_9, mod_consts[97], tmp_assattr_name_9); Py_DECREF(tmp_assattr_name_9); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 163; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_10; PyObject *tmp_called_name_5; PyObject *tmp_args_name_5; PyObject *tmp_tuple_element_6; PyObject *tmp_expression_name_27; PyObject *tmp_kwargs_name_5; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_expression_name_28; PyObject *tmp_assattr_target_10; tmp_called_name_5 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[98]); if (unlikely(tmp_called_name_5 == NULL)) { tmp_called_name_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[98]); } if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 164; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 164; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_27 = par_self; tmp_tuple_element_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_27, mod_consts[88]); if (tmp_tuple_element_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 164; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_args_name_5 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_5, 0, tmp_tuple_element_6); tmp_dict_key_1 = mod_consts[89]; if (par_self == NULL) { Py_DECREF(tmp_args_name_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 164; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_28 = par_self; tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_28, mod_consts[89]); if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_args_name_5); exception_lineno = 164; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_kwargs_name_5 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_5, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); frame_0ad3c42e181292178c7936502c2f7430->m_frame.f_lineno = 164; tmp_assattr_name_10 = CALL_FUNCTION(tmp_called_name_5, tmp_args_name_5, tmp_kwargs_name_5); Py_DECREF(tmp_args_name_5); Py_DECREF(tmp_kwargs_name_5); if (tmp_assattr_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 164; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_10); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 164; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_assattr_target_10 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_10, mod_consts[99], tmp_assattr_name_10); Py_DECREF(tmp_assattr_name_10); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 164; type_description_1 = "ooc"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_0ad3c42e181292178c7936502c2f7430); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_0ad3c42e181292178c7936502c2f7430); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_0ad3c42e181292178c7936502c2f7430, exception_lineno); } else if (exception_tb->tb_frame != &frame_0ad3c42e181292178c7936502c2f7430->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_0ad3c42e181292178c7936502c2f7430, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_0ad3c42e181292178c7936502c2f7430, type_description_1, par_self, par_config, self->m_closure[0] ); // Release cached frame if used for exception. if (frame_0ad3c42e181292178c7936502c2f7430 == cache_frame_0ad3c42e181292178c7936502c2f7430) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_0ad3c42e181292178c7936502c2f7430); cache_frame_0ad3c42e181292178c7936502c2f7430 = NULL; } assertFrameObject(frame_0ad3c42e181292178c7936502c2f7430); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_config); par_config = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_config); par_config = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__12__shape(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_tensor = python_pars[1]; PyObject *par_seq_len = python_pars[2]; PyObject *par_bsz = python_pars[3]; struct Nuitka_FrameObject *frame_f31112a82b6d451edce0ceec3d4f5560; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_f31112a82b6d451edce0ceec3d4f5560 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_f31112a82b6d451edce0ceec3d4f5560)) { Py_XDECREF(cache_frame_f31112a82b6d451edce0ceec3d4f5560); #if _DEBUG_REFCOUNTS if (cache_frame_f31112a82b6d451edce0ceec3d4f5560 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_f31112a82b6d451edce0ceec3d4f5560 = MAKE_FUNCTION_FRAME(codeobj_f31112a82b6d451edce0ceec3d4f5560, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_f31112a82b6d451edce0ceec3d4f5560->m_type_description == NULL); frame_f31112a82b6d451edce0ceec3d4f5560 = cache_frame_f31112a82b6d451edce0ceec3d4f5560; // Push the new frame as the currently active one. pushFrameStack(frame_f31112a82b6d451edce0ceec3d4f5560); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_f31112a82b6d451edce0ceec3d4f5560) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_called_instance_2; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_expression_name_2; PyObject *tmp_args_element_name_4; PyObject *tmp_expression_name_3; CHECK_OBJECT(par_tensor); tmp_expression_name_1 = par_tensor; tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[13]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 167; type_description_1 = "oooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_bsz); tmp_args_element_name_1 = par_bsz; CHECK_OBJECT(par_seq_len); tmp_args_element_name_2 = par_seq_len; CHECK_OBJECT(par_self); tmp_expression_name_2 = par_self; tmp_args_element_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[87]); if (tmp_args_element_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 167; type_description_1 = "oooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 167; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_expression_name_3 = par_self; tmp_args_element_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[88]); if (tmp_args_element_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_3); exception_lineno = 167; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_f31112a82b6d451edce0ceec3d4f5560->m_frame.f_lineno = 167; { PyObject *call_args[] = {tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4}; tmp_called_instance_2 = CALL_FUNCTION_WITH_ARGS4(tmp_called_name_1, call_args); } Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_3); Py_DECREF(tmp_args_element_name_4); if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 167; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_f31112a82b6d451edce0ceec3d4f5560->m_frame.f_lineno = 167; tmp_called_instance_1 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_2, mod_consts[100], &PyTuple_GET_ITEM(mod_consts[101], 0) ); Py_DECREF(tmp_called_instance_2); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 167; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_f31112a82b6d451edce0ceec3d4f5560->m_frame.f_lineno = 167; tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[102]); Py_DECREF(tmp_called_instance_1); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 167; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_f31112a82b6d451edce0ceec3d4f5560); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_f31112a82b6d451edce0ceec3d4f5560); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_f31112a82b6d451edce0ceec3d4f5560); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_f31112a82b6d451edce0ceec3d4f5560, exception_lineno); } else if (exception_tb->tb_frame != &frame_f31112a82b6d451edce0ceec3d4f5560->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_f31112a82b6d451edce0ceec3d4f5560, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_f31112a82b6d451edce0ceec3d4f5560, type_description_1, par_self, par_tensor, par_seq_len, par_bsz ); // Release cached frame if used for exception. if (frame_f31112a82b6d451edce0ceec3d4f5560 == cache_frame_f31112a82b6d451edce0ceec3d4f5560) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_f31112a82b6d451edce0ceec3d4f5560); cache_frame_f31112a82b6d451edce0ceec3d4f5560 = NULL; } assertFrameObject(frame_f31112a82b6d451edce0ceec3d4f5560); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_tensor); par_tensor = NULL; Py_XDECREF(par_seq_len); par_seq_len = NULL; Py_XDECREF(par_bsz); par_bsz = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_tensor); par_tensor = NULL; Py_XDECREF(par_seq_len); par_seq_len = NULL; Py_XDECREF(par_bsz); par_bsz = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__13_forward(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_hidden_states = python_pars[1]; PyObject *par_attention_mask = python_pars[2]; PyObject *par_position_ids = python_pars[3]; PyObject *par_past_key_value = python_pars[4]; PyObject *par_output_attentions = python_pars[5]; PyObject *par_use_cache = python_pars[6]; PyObject *var_bsz = NULL; PyObject *var_q_len = NULL; PyObject *var__ = NULL; PyObject *var_query_states = NULL; PyObject *var_key_states = NULL; PyObject *var_value_states = NULL; PyObject *var_kv_seq_len = NULL; PyObject *var_cos = NULL; PyObject *var_sin = NULL; PyObject *var_attn_weights = NULL; PyObject *var_attn_output = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__element_3 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; PyObject *tmp_tuple_unpack_2__element_1 = NULL; PyObject *tmp_tuple_unpack_2__element_2 = NULL; PyObject *tmp_tuple_unpack_2__source_iter = NULL; PyObject *tmp_tuple_unpack_3__element_1 = NULL; PyObject *tmp_tuple_unpack_3__element_2 = NULL; PyObject *tmp_tuple_unpack_3__source_iter = NULL; struct Nuitka_FrameObject *frame_946cee16beaa54a0e81a9daa8677f97e; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; bool tmp_result; int tmp_res; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_946cee16beaa54a0e81a9daa8677f97e = NULL; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_946cee16beaa54a0e81a9daa8677f97e)) { Py_XDECREF(cache_frame_946cee16beaa54a0e81a9daa8677f97e); #if _DEBUG_REFCOUNTS if (cache_frame_946cee16beaa54a0e81a9daa8677f97e == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_946cee16beaa54a0e81a9daa8677f97e = MAKE_FUNCTION_FRAME(codeobj_946cee16beaa54a0e81a9daa8677f97e, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_946cee16beaa54a0e81a9daa8677f97e->m_type_description == NULL); frame_946cee16beaa54a0e81a9daa8677f97e = cache_frame_946cee16beaa54a0e81a9daa8677f97e; // Push the new frame as the currently active one. pushFrameStack(frame_946cee16beaa54a0e81a9daa8677f97e); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_946cee16beaa54a0e81a9daa8677f97e) == 2); // Frame stack // Framed code: // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_called_instance_1; CHECK_OBJECT(par_hidden_states); tmp_called_instance_1 = par_hidden_states; frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 178; tmp_iter_arg_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[8]); if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 178; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_2; } tmp_assign_source_1 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 178; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_2; } assert(tmp_tuple_unpack_1__source_iter == NULL); tmp_tuple_unpack_1__source_iter = tmp_assign_source_1; } // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_2 = UNPACK_NEXT(tmp_unpack_1, 0, 3); if (tmp_assign_source_2 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooooooooooooo"; exception_lineno = 178; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_1 == NULL); tmp_tuple_unpack_1__element_1 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_2, 1, 3); if (tmp_assign_source_3 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooooooooooooo"; exception_lineno = 178; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_2 == NULL); tmp_tuple_unpack_1__element_2 = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_3; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_3 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_3, 2, 3); if (tmp_assign_source_4 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooooooooooooo"; exception_lineno = 178; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_3 == NULL); tmp_tuple_unpack_1__element_3 = tmp_assign_source_4; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooooooooooooo"; exception_lineno = 178; goto try_except_handler_3; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[103]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooooooooooooooooo"; exception_lineno = 178; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_5; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_5 = tmp_tuple_unpack_1__element_1; assert(var_bsz == NULL); Py_INCREF(tmp_assign_source_5); var_bsz = tmp_assign_source_5; } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_6; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_6 = tmp_tuple_unpack_1__element_2; assert(var_q_len == NULL); Py_INCREF(tmp_assign_source_6); var_q_len = tmp_assign_source_6; } Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; { PyObject *tmp_assign_source_7; CHECK_OBJECT(tmp_tuple_unpack_1__element_3); tmp_assign_source_7 = tmp_tuple_unpack_1__element_3; assert(var__ == NULL); Py_INCREF(tmp_assign_source_7); var__ = tmp_assign_source_7; } Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; { PyObject *tmp_assign_source_8; PyObject *tmp_called_instance_2; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_expression_name_3; PyObject *tmp_args_element_name_5; PyObject *tmp_expression_name_4; CHECK_OBJECT(par_self); tmp_expression_name_2 = par_self; tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[94]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 180; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (par_hidden_states == NULL) { Py_DECREF(tmp_called_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[44]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 180; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_hidden_states; frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 180; tmp_expression_name_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, tmp_args_element_name_1); Py_DECREF(tmp_called_name_2); if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 180; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[13]); Py_DECREF(tmp_expression_name_1); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 180; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_bsz); tmp_args_element_name_2 = var_bsz; CHECK_OBJECT(var_q_len); tmp_args_element_name_3 = var_q_len; if (par_self == NULL) { Py_DECREF(tmp_called_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 180; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_3 = par_self; tmp_args_element_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[87]); if (tmp_args_element_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 180; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 180; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_4 = par_self; tmp_args_element_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[88]); if (tmp_args_element_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_4); exception_lineno = 180; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 180; { PyObject *call_args[] = {tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4, tmp_args_element_name_5}; tmp_called_instance_2 = CALL_FUNCTION_WITH_ARGS4(tmp_called_name_1, call_args); } Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_4); Py_DECREF(tmp_args_element_name_5); if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 180; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 180; tmp_assign_source_8 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_2, mod_consts[100], &PyTuple_GET_ITEM(mod_consts[101], 0) ); Py_DECREF(tmp_called_instance_2); if (tmp_assign_source_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 180; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_query_states == NULL); var_query_states = tmp_assign_source_8; } { PyObject *tmp_assign_source_9; PyObject *tmp_called_instance_3; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_5; PyObject *tmp_called_name_4; PyObject *tmp_expression_name_6; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; PyObject *tmp_expression_name_7; PyObject *tmp_args_element_name_10; PyObject *tmp_expression_name_8; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 181; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_6 = par_self; tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[95]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 181; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (par_hidden_states == NULL) { Py_DECREF(tmp_called_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[44]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 181; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = par_hidden_states; frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 181; tmp_expression_name_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_4, tmp_args_element_name_6); Py_DECREF(tmp_called_name_4); if (tmp_expression_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 181; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[13]); Py_DECREF(tmp_expression_name_5); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 181; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (var_bsz == NULL) { Py_DECREF(tmp_called_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[104]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 181; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_7 = var_bsz; if (var_q_len == NULL) { Py_DECREF(tmp_called_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[105]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 181; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_8 = var_q_len; if (par_self == NULL) { Py_DECREF(tmp_called_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 181; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_7 = par_self; tmp_args_element_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[87]); if (tmp_args_element_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 181; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_element_name_9); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 181; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_8 = par_self; tmp_args_element_name_10 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[88]); if (tmp_args_element_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_element_name_9); exception_lineno = 181; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 181; { PyObject *call_args[] = {tmp_args_element_name_7, tmp_args_element_name_8, tmp_args_element_name_9, tmp_args_element_name_10}; tmp_called_instance_3 = CALL_FUNCTION_WITH_ARGS4(tmp_called_name_3, call_args); } Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_element_name_9); Py_DECREF(tmp_args_element_name_10); if (tmp_called_instance_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 181; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 181; tmp_assign_source_9 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_3, mod_consts[100], &PyTuple_GET_ITEM(mod_consts[101], 0) ); Py_DECREF(tmp_called_instance_3); if (tmp_assign_source_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 181; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_key_states == NULL); var_key_states = tmp_assign_source_9; } { PyObject *tmp_assign_source_10; PyObject *tmp_called_instance_4; PyObject *tmp_called_name_5; PyObject *tmp_expression_name_9; PyObject *tmp_called_name_6; PyObject *tmp_expression_name_10; PyObject *tmp_args_element_name_11; PyObject *tmp_args_element_name_12; PyObject *tmp_args_element_name_13; PyObject *tmp_args_element_name_14; PyObject *tmp_expression_name_11; PyObject *tmp_args_element_name_15; PyObject *tmp_expression_name_12; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 182; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_10 = par_self; tmp_called_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[96]); if (tmp_called_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 182; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (par_hidden_states == NULL) { Py_DECREF(tmp_called_name_6); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[44]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 182; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_11 = par_hidden_states; frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 182; tmp_expression_name_9 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_6, tmp_args_element_name_11); Py_DECREF(tmp_called_name_6); if (tmp_expression_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 182; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[13]); Py_DECREF(tmp_expression_name_9); if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 182; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (var_bsz == NULL) { Py_DECREF(tmp_called_name_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[104]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 182; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_12 = var_bsz; if (var_q_len == NULL) { Py_DECREF(tmp_called_name_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[105]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 182; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_13 = var_q_len; if (par_self == NULL) { Py_DECREF(tmp_called_name_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 182; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_11 = par_self; tmp_args_element_name_14 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[87]); if (tmp_args_element_name_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); exception_lineno = 182; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_element_name_14); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 182; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_12 = par_self; tmp_args_element_name_15 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[88]); if (tmp_args_element_name_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_element_name_14); exception_lineno = 182; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 182; { PyObject *call_args[] = {tmp_args_element_name_12, tmp_args_element_name_13, tmp_args_element_name_14, tmp_args_element_name_15}; tmp_called_instance_4 = CALL_FUNCTION_WITH_ARGS4(tmp_called_name_5, call_args); } Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_element_name_14); Py_DECREF(tmp_args_element_name_15); if (tmp_called_instance_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 182; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 182; tmp_assign_source_10 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_4, mod_consts[100], &PyTuple_GET_ITEM(mod_consts[101], 0) ); Py_DECREF(tmp_called_instance_4); if (tmp_assign_source_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 182; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_value_states == NULL); var_value_states = tmp_assign_source_10; } { PyObject *tmp_assign_source_11; PyObject *tmp_expression_name_13; PyObject *tmp_expression_name_14; PyObject *tmp_subscript_name_1; CHECK_OBJECT(var_key_states); tmp_expression_name_14 = var_key_states; tmp_expression_name_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_14, mod_consts[65]); if (tmp_expression_name_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 184; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = mod_consts[106]; tmp_assign_source_11 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_13, tmp_subscript_name_1, -2); Py_DECREF(tmp_expression_name_13); if (tmp_assign_source_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 184; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_kv_seq_len == NULL); var_kv_seq_len = tmp_assign_source_11; } { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT(par_past_key_value); tmp_compexpr_left_1 = par_past_key_value; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assign_source_12; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_expression_name_15; PyObject *tmp_expression_name_16; PyObject *tmp_expression_name_17; PyObject *tmp_subscript_name_2; PyObject *tmp_subscript_name_3; CHECK_OBJECT(var_kv_seq_len); tmp_left_name_1 = var_kv_seq_len; CHECK_OBJECT(par_past_key_value); tmp_expression_name_17 = par_past_key_value; tmp_subscript_name_2 = mod_consts[14]; tmp_expression_name_16 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_17, tmp_subscript_name_2, 0); if (tmp_expression_name_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 186; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_15 = LOOKUP_ATTRIBUTE(tmp_expression_name_16, mod_consts[65]); Py_DECREF(tmp_expression_name_16); if (tmp_expression_name_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 186; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_3 = mod_consts[106]; tmp_right_name_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_15, tmp_subscript_name_3, -2); Py_DECREF(tmp_expression_name_15); if (tmp_right_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 186; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE(&tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_right_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 186; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_12 = tmp_left_name_1; var_kv_seq_len = tmp_assign_source_12; } branch_no_1:; // Tried code: { PyObject *tmp_assign_source_13; PyObject *tmp_iter_arg_2; PyObject *tmp_called_name_7; PyObject *tmp_expression_name_18; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 187; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_4; } tmp_expression_name_18 = par_self; tmp_called_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_18, mod_consts[99]); if (tmp_called_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 187; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_4; } CHECK_OBJECT(var_value_states); tmp_tuple_element_1 = var_value_states; tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_1); tmp_dict_key_1 = mod_consts[107]; CHECK_OBJECT(var_kv_seq_len); tmp_dict_value_1 = var_kv_seq_len; tmp_kwargs_name_1 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 187; tmp_iter_arg_2 = CALL_FUNCTION(tmp_called_name_7, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_iter_arg_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 187; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_4; } tmp_assign_source_13 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2); Py_DECREF(tmp_iter_arg_2); if (tmp_assign_source_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 187; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_4; } assert(tmp_tuple_unpack_2__source_iter == NULL); tmp_tuple_unpack_2__source_iter = tmp_assign_source_13; } // Tried code: { PyObject *tmp_assign_source_14; PyObject *tmp_unpack_4; CHECK_OBJECT(tmp_tuple_unpack_2__source_iter); tmp_unpack_4 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_14 = UNPACK_NEXT(tmp_unpack_4, 0, 2); if (tmp_assign_source_14 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooooooooooooo"; exception_lineno = 187; goto try_except_handler_5; } assert(tmp_tuple_unpack_2__element_1 == NULL); tmp_tuple_unpack_2__element_1 = tmp_assign_source_14; } { PyObject *tmp_assign_source_15; PyObject *tmp_unpack_5; CHECK_OBJECT(tmp_tuple_unpack_2__source_iter); tmp_unpack_5 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_15 = UNPACK_NEXT(tmp_unpack_5, 1, 2); if (tmp_assign_source_15 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooooooooooooo"; exception_lineno = 187; goto try_except_handler_5; } assert(tmp_tuple_unpack_2__element_2 == NULL); tmp_tuple_unpack_2__element_2 = tmp_assign_source_15; } { PyObject *tmp_iterator_name_2; CHECK_OBJECT(tmp_tuple_unpack_2__source_iter); tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_2); assert(HAS_ITERNEXT(tmp_iterator_name_2)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_2)->tp_iternext)(tmp_iterator_name_2); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooooooooooooo"; exception_lineno = 187; goto try_except_handler_5; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[0]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooooooooooooooooo"; exception_lineno = 187; goto try_except_handler_5; } } goto try_end_3; // Exception handler code: try_except_handler_5:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_2__source_iter); tmp_tuple_unpack_2__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_4; // End of try: try_end_3:; goto try_end_4; // Exception handler code: try_except_handler_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_2__element_1); tmp_tuple_unpack_2__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_2__element_2); tmp_tuple_unpack_2__element_2 = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; // End of try: try_end_4:; Py_XDECREF(tmp_tuple_unpack_2__source_iter); tmp_tuple_unpack_2__source_iter = NULL; { PyObject *tmp_assign_source_16; CHECK_OBJECT(tmp_tuple_unpack_2__element_1); tmp_assign_source_16 = tmp_tuple_unpack_2__element_1; assert(var_cos == NULL); Py_INCREF(tmp_assign_source_16); var_cos = tmp_assign_source_16; } Py_XDECREF(tmp_tuple_unpack_2__element_1); tmp_tuple_unpack_2__element_1 = NULL; { PyObject *tmp_assign_source_17; CHECK_OBJECT(tmp_tuple_unpack_2__element_2); tmp_assign_source_17 = tmp_tuple_unpack_2__element_2; assert(var_sin == NULL); Py_INCREF(tmp_assign_source_17); var_sin = tmp_assign_source_17; } Py_XDECREF(tmp_tuple_unpack_2__element_2); tmp_tuple_unpack_2__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_2__element_1); tmp_tuple_unpack_2__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_2__element_2); tmp_tuple_unpack_2__element_2 = NULL; // Tried code: { PyObject *tmp_assign_source_18; PyObject *tmp_iter_arg_3; PyObject *tmp_called_name_8; PyObject *tmp_args_element_name_16; PyObject *tmp_args_element_name_17; PyObject *tmp_args_element_name_18; PyObject *tmp_args_element_name_19; PyObject *tmp_args_element_name_20; tmp_called_name_8 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[108]); if (unlikely(tmp_called_name_8 == NULL)) { tmp_called_name_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[108]); } if (tmp_called_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 188; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_6; } CHECK_OBJECT(var_query_states); tmp_args_element_name_16 = var_query_states; if (var_key_states == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[109]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 188; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_6; } tmp_args_element_name_17 = var_key_states; CHECK_OBJECT(var_cos); tmp_args_element_name_18 = var_cos; CHECK_OBJECT(var_sin); tmp_args_element_name_19 = var_sin; CHECK_OBJECT(par_position_ids); tmp_args_element_name_20 = par_position_ids; frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 188; { PyObject *call_args[] = {tmp_args_element_name_16, tmp_args_element_name_17, tmp_args_element_name_18, tmp_args_element_name_19, tmp_args_element_name_20}; tmp_iter_arg_3 = CALL_FUNCTION_WITH_ARGS5(tmp_called_name_8, call_args); } if (tmp_iter_arg_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 188; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_6; } tmp_assign_source_18 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_3); Py_DECREF(tmp_iter_arg_3); if (tmp_assign_source_18 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 188; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_6; } assert(tmp_tuple_unpack_3__source_iter == NULL); tmp_tuple_unpack_3__source_iter = tmp_assign_source_18; } // Tried code: { PyObject *tmp_assign_source_19; PyObject *tmp_unpack_6; CHECK_OBJECT(tmp_tuple_unpack_3__source_iter); tmp_unpack_6 = tmp_tuple_unpack_3__source_iter; tmp_assign_source_19 = UNPACK_NEXT(tmp_unpack_6, 0, 2); if (tmp_assign_source_19 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooooooooooooo"; exception_lineno = 188; goto try_except_handler_7; } assert(tmp_tuple_unpack_3__element_1 == NULL); tmp_tuple_unpack_3__element_1 = tmp_assign_source_19; } { PyObject *tmp_assign_source_20; PyObject *tmp_unpack_7; CHECK_OBJECT(tmp_tuple_unpack_3__source_iter); tmp_unpack_7 = tmp_tuple_unpack_3__source_iter; tmp_assign_source_20 = UNPACK_NEXT(tmp_unpack_7, 1, 2); if (tmp_assign_source_20 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooooooooooooo"; exception_lineno = 188; goto try_except_handler_7; } assert(tmp_tuple_unpack_3__element_2 == NULL); tmp_tuple_unpack_3__element_2 = tmp_assign_source_20; } { PyObject *tmp_iterator_name_3; CHECK_OBJECT(tmp_tuple_unpack_3__source_iter); tmp_iterator_name_3 = tmp_tuple_unpack_3__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_3); assert(HAS_ITERNEXT(tmp_iterator_name_3)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_3)->tp_iternext)(tmp_iterator_name_3); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooooooooooooo"; exception_lineno = 188; goto try_except_handler_7; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[0]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooooooooooooooooo"; exception_lineno = 188; goto try_except_handler_7; } } goto try_end_5; // Exception handler code: try_except_handler_7:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_3__source_iter); tmp_tuple_unpack_3__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto try_except_handler_6; // End of try: try_end_5:; goto try_end_6; // Exception handler code: try_except_handler_6:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_3__element_1); tmp_tuple_unpack_3__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_3__element_2); tmp_tuple_unpack_3__element_2 = NULL; // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto frame_exception_exit_1; // End of try: try_end_6:; Py_XDECREF(tmp_tuple_unpack_3__source_iter); tmp_tuple_unpack_3__source_iter = NULL; { PyObject *tmp_assign_source_21; CHECK_OBJECT(tmp_tuple_unpack_3__element_1); tmp_assign_source_21 = tmp_tuple_unpack_3__element_1; { PyObject *old = var_query_states; assert(old != NULL); var_query_states = tmp_assign_source_21; Py_INCREF(var_query_states); Py_DECREF(old); } } Py_XDECREF(tmp_tuple_unpack_3__element_1); tmp_tuple_unpack_3__element_1 = NULL; { PyObject *tmp_assign_source_22; CHECK_OBJECT(tmp_tuple_unpack_3__element_2); tmp_assign_source_22 = tmp_tuple_unpack_3__element_2; { PyObject *old = var_key_states; var_key_states = tmp_assign_source_22; Py_INCREF(var_key_states); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_3__element_2); tmp_tuple_unpack_3__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_3__element_1); tmp_tuple_unpack_3__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_3__element_2); tmp_tuple_unpack_3__element_2 = NULL; { bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT(par_past_key_value); tmp_compexpr_left_2 = par_past_key_value; tmp_compexpr_right_2 = Py_None; tmp_condition_result_2 = (tmp_compexpr_left_2 != tmp_compexpr_right_2) ? true : false; if (tmp_condition_result_2 != false) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_assign_source_23; PyObject *tmp_called_name_9; PyObject *tmp_expression_name_19; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_2; PyObject *tmp_list_element_1; PyObject *tmp_expression_name_20; PyObject *tmp_subscript_name_4; PyObject *tmp_kwargs_name_2; tmp_expression_name_19 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_19 == NULL)) { tmp_expression_name_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_19 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 193; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_19, mod_consts[17]); if (tmp_called_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 193; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_past_key_value); tmp_expression_name_20 = par_past_key_value; tmp_subscript_name_4 = mod_consts[14]; tmp_list_element_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_20, tmp_subscript_name_4, 0); if (tmp_list_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_9); exception_lineno = 193; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = PyList_New(2); PyList_SET_ITEM(tmp_tuple_element_2, 0, tmp_list_element_1); CHECK_OBJECT(var_key_states); tmp_list_element_1 = var_key_states; PyList_SET_ITEM0(tmp_tuple_element_2, 1, tmp_list_element_1); tmp_args_name_2 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_2, 0, tmp_tuple_element_2); tmp_kwargs_name_2 = PyDict_Copy(mod_consts[110]); frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 193; tmp_assign_source_23 = CALL_FUNCTION(tmp_called_name_9, tmp_args_name_2, tmp_kwargs_name_2); Py_DECREF(tmp_called_name_9); Py_DECREF(tmp_args_name_2); Py_DECREF(tmp_kwargs_name_2); if (tmp_assign_source_23 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 193; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_key_states; var_key_states = tmp_assign_source_23; Py_XDECREF(old); } } { PyObject *tmp_assign_source_24; PyObject *tmp_called_name_10; PyObject *tmp_expression_name_21; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_3; PyObject *tmp_list_element_2; PyObject *tmp_expression_name_22; PyObject *tmp_subscript_name_5; PyObject *tmp_kwargs_name_3; tmp_expression_name_21 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_21 == NULL)) { tmp_expression_name_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_21 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 194; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_10 = LOOKUP_ATTRIBUTE(tmp_expression_name_21, mod_consts[17]); if (tmp_called_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 194; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_past_key_value); tmp_expression_name_22 = par_past_key_value; tmp_subscript_name_5 = mod_consts[12]; tmp_list_element_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_22, tmp_subscript_name_5, 1); if (tmp_list_element_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_10); exception_lineno = 194; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_3 = PyList_New(2); PyList_SET_ITEM(tmp_tuple_element_3, 0, tmp_list_element_2); if (var_value_states == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[111]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 194; type_description_1 = "oooooooooooooooooo"; goto list_build_exception_1; } tmp_list_element_2 = var_value_states; PyList_SET_ITEM0(tmp_tuple_element_3, 1, tmp_list_element_2); goto list_build_noexception_1; // Exception handling pass through code for list_build: list_build_exception_1:; Py_DECREF(tmp_called_name_10); Py_DECREF(tmp_tuple_element_3); goto frame_exception_exit_1; // Finished with no exception for list_build: list_build_noexception_1:; tmp_args_name_3 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_3, 0, tmp_tuple_element_3); tmp_kwargs_name_3 = PyDict_Copy(mod_consts[110]); frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 194; tmp_assign_source_24 = CALL_FUNCTION(tmp_called_name_10, tmp_args_name_3, tmp_kwargs_name_3); Py_DECREF(tmp_called_name_10); Py_DECREF(tmp_args_name_3); Py_DECREF(tmp_kwargs_name_3); if (tmp_assign_source_24 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 194; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_value_states; var_value_states = tmp_assign_source_24; Py_XDECREF(old); } } branch_no_2:; { PyObject *tmp_assign_source_25; nuitka_bool tmp_condition_result_3; int tmp_truth_name_1; PyObject *tmp_tuple_element_4; CHECK_OBJECT(par_use_cache); tmp_truth_name_1 = CHECK_IF_TRUE(par_use_cache); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 196; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; CHECK_OBJECT(var_key_states); tmp_tuple_element_4 = var_key_states; tmp_assign_source_25 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_assign_source_25, 0, tmp_tuple_element_4); if (var_value_states == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[111]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 196; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_1; } tmp_tuple_element_4 = var_value_states; PyTuple_SET_ITEM0(tmp_assign_source_25, 1, tmp_tuple_element_4); goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_assign_source_25); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; goto condexpr_end_1; condexpr_false_1:; tmp_assign_source_25 = Py_None; Py_INCREF(tmp_assign_source_25); condexpr_end_1:; { PyObject *old = par_past_key_value; assert(old != NULL); par_past_key_value = tmp_assign_source_25; Py_DECREF(old); } } { PyObject *tmp_assign_source_26; PyObject *tmp_left_name_2; PyObject *tmp_called_name_11; PyObject *tmp_expression_name_23; PyObject *tmp_args_element_name_21; PyObject *tmp_args_element_name_22; PyObject *tmp_called_instance_5; PyObject *tmp_right_name_2; PyObject *tmp_called_name_12; PyObject *tmp_expression_name_24; PyObject *tmp_args_element_name_23; PyObject *tmp_expression_name_25; tmp_expression_name_23 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_23 == NULL)) { tmp_expression_name_23 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_23 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 198; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_11 = LOOKUP_ATTRIBUTE(tmp_expression_name_23, mod_consts[112]); if (tmp_called_name_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 198; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_query_states); tmp_args_element_name_21 = var_query_states; CHECK_OBJECT(var_key_states); tmp_called_instance_5 = var_key_states; frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 198; tmp_args_element_name_22 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_5, mod_consts[100], &PyTuple_GET_ITEM(mod_consts[113], 0) ); if (tmp_args_element_name_22 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_11); exception_lineno = 198; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 198; { PyObject *call_args[] = {tmp_args_element_name_21, tmp_args_element_name_22}; tmp_left_name_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_11, call_args); } Py_DECREF(tmp_called_name_11); Py_DECREF(tmp_args_element_name_22); if (tmp_left_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 198; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_24 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[114]); if (unlikely(tmp_expression_name_24 == NULL)) { tmp_expression_name_24 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[114]); } if (tmp_expression_name_24 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_2); exception_lineno = 198; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_12 = LOOKUP_ATTRIBUTE(tmp_expression_name_24, mod_consts[115]); if (tmp_called_name_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_2); exception_lineno = 198; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_left_name_2); Py_DECREF(tmp_called_name_12); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 198; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_25 = par_self; tmp_args_element_name_23 = LOOKUP_ATTRIBUTE(tmp_expression_name_25, mod_consts[88]); if (tmp_args_element_name_23 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_2); Py_DECREF(tmp_called_name_12); exception_lineno = 198; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 198; tmp_right_name_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_12, tmp_args_element_name_23); Py_DECREF(tmp_called_name_12); Py_DECREF(tmp_args_element_name_23); if (tmp_right_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_2); exception_lineno = 198; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_26 = BINARY_OPERATION_TRUEDIV_OBJECT_OBJECT_OBJECT(tmp_left_name_2, tmp_right_name_2); Py_DECREF(tmp_left_name_2); Py_DECREF(tmp_right_name_2); if (tmp_assign_source_26 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 198; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_attn_weights == NULL); var_attn_weights = tmp_assign_source_26; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_called_instance_6; PyObject *tmp_tuple_element_5; CHECK_OBJECT(var_attn_weights); tmp_called_instance_6 = var_attn_weights; frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 200; tmp_compexpr_left_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_6, mod_consts[8]); if (tmp_compexpr_left_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 200; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (var_bsz == NULL) { Py_DECREF(tmp_compexpr_left_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[104]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 200; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_5 = var_bsz; tmp_compexpr_right_3 = PyTuple_New(4); { PyObject *tmp_expression_name_26; PyTuple_SET_ITEM0(tmp_compexpr_right_3, 0, tmp_tuple_element_5); if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 200; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_2; } tmp_expression_name_26 = par_self; tmp_tuple_element_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_26, mod_consts[87]); if (tmp_tuple_element_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 200; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_2; } PyTuple_SET_ITEM(tmp_compexpr_right_3, 1, tmp_tuple_element_5); if (var_q_len == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[105]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 200; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_2; } tmp_tuple_element_5 = var_q_len; PyTuple_SET_ITEM0(tmp_compexpr_right_3, 2, tmp_tuple_element_5); if (var_kv_seq_len == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[116]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 200; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_2; } tmp_tuple_element_5 = var_kv_seq_len; PyTuple_SET_ITEM0(tmp_compexpr_right_3, 3, tmp_tuple_element_5); } goto tuple_build_noexception_2; // Exception handling pass through code for tuple_build: tuple_build_exception_2:; Py_DECREF(tmp_compexpr_left_3); Py_DECREF(tmp_compexpr_right_3); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_2:; tmp_condition_result_4 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_3, tmp_compexpr_right_3); Py_DECREF(tmp_compexpr_left_3); Py_DECREF(tmp_compexpr_right_3); if (tmp_condition_result_4 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 200; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) { goto branch_yes_3; } else { goto branch_no_3; } assert(tmp_condition_result_4 != NUITKA_BOOL_UNASSIGNED); } branch_yes_3:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; PyObject *tmp_string_concat_values_1; PyObject *tmp_tuple_element_6; tmp_tuple_element_6 = mod_consts[117]; tmp_string_concat_values_1 = PyTuple_New(4); { PyObject *tmp_format_value_1; PyObject *tmp_tuple_element_7; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_expression_name_27; PyObject *tmp_format_spec_1; PyObject *tmp_format_value_2; PyObject *tmp_called_instance_7; PyObject *tmp_format_spec_2; PyTuple_SET_ITEM0(tmp_string_concat_values_1, 0, tmp_tuple_element_6); if (var_bsz == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[104]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 202; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_3; } tmp_left_name_3 = var_bsz; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 202; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_3; } tmp_expression_name_27 = par_self; tmp_right_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_27, mod_consts[87]); if (tmp_right_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 202; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_3; } tmp_tuple_element_7 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_3, tmp_right_name_3); Py_DECREF(tmp_right_name_3); if (tmp_tuple_element_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 202; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_3; } tmp_format_value_1 = PyTuple_New(3); PyTuple_SET_ITEM(tmp_format_value_1, 0, tmp_tuple_element_7); if (var_q_len == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[105]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 202; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_4; } tmp_tuple_element_7 = var_q_len; PyTuple_SET_ITEM0(tmp_format_value_1, 1, tmp_tuple_element_7); if (var_kv_seq_len == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[116]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 202; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_4; } tmp_tuple_element_7 = var_kv_seq_len; PyTuple_SET_ITEM0(tmp_format_value_1, 2, tmp_tuple_element_7); goto tuple_build_noexception_3; // Exception handling pass through code for tuple_build: tuple_build_exception_4:; Py_DECREF(tmp_format_value_1); goto tuple_build_exception_3; // Finished with no exception for tuple_build: tuple_build_noexception_3:; tmp_format_spec_1 = mod_consts[91]; tmp_tuple_element_6 = BUILTIN_FORMAT(tmp_format_value_1, tmp_format_spec_1); Py_DECREF(tmp_format_value_1); if (tmp_tuple_element_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 202; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_3; } PyTuple_SET_ITEM(tmp_string_concat_values_1, 1, tmp_tuple_element_6); tmp_tuple_element_6 = mod_consts[118]; PyTuple_SET_ITEM0(tmp_string_concat_values_1, 2, tmp_tuple_element_6); if (var_attn_weights == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[119]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 203; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_3; } tmp_called_instance_7 = var_attn_weights; frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 203; tmp_format_value_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_7, mod_consts[8]); if (tmp_format_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 203; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_3; } tmp_format_spec_2 = mod_consts[91]; tmp_tuple_element_6 = BUILTIN_FORMAT(tmp_format_value_2, tmp_format_spec_2); Py_DECREF(tmp_format_value_2); if (tmp_tuple_element_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 202; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_3; } PyTuple_SET_ITEM(tmp_string_concat_values_1, 3, tmp_tuple_element_6); } goto tuple_build_noexception_4; // Exception handling pass through code for tuple_build: tuple_build_exception_3:; Py_DECREF(tmp_string_concat_values_1); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_4:; tmp_make_exception_arg_1 = PyUnicode_Join(mod_consts[91], tmp_string_concat_values_1); Py_DECREF(tmp_string_concat_values_1); if (tmp_make_exception_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 202; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 201; tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1); Py_DECREF(tmp_make_exception_arg_1); assert(!(tmp_raise_type_1 == NULL)); exception_type = tmp_raise_type_1; exception_lineno = 201; RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } branch_no_3:; { bool tmp_condition_result_5; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; CHECK_OBJECT(par_attention_mask); tmp_compexpr_left_4 = par_attention_mask; tmp_compexpr_right_4 = Py_None; tmp_condition_result_5 = (tmp_compexpr_left_4 != tmp_compexpr_right_4) ? true : false; if (tmp_condition_result_5 != false) { goto branch_yes_4; } else { goto branch_no_4; } } branch_yes_4:; { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; PyObject *tmp_called_instance_8; PyObject *tmp_tuple_element_8; CHECK_OBJECT(par_attention_mask); tmp_called_instance_8 = par_attention_mask; frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 207; tmp_compexpr_left_5 = CALL_METHOD_NO_ARGS(tmp_called_instance_8, mod_consts[8]); if (tmp_compexpr_left_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 207; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (var_bsz == NULL) { Py_DECREF(tmp_compexpr_left_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[104]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 207; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_8 = var_bsz; tmp_compexpr_right_5 = PyTuple_New(4); PyTuple_SET_ITEM0(tmp_compexpr_right_5, 0, tmp_tuple_element_8); tmp_tuple_element_8 = mod_consts[12]; PyTuple_SET_ITEM0(tmp_compexpr_right_5, 1, tmp_tuple_element_8); if (var_q_len == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[105]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 207; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_5; } tmp_tuple_element_8 = var_q_len; PyTuple_SET_ITEM0(tmp_compexpr_right_5, 2, tmp_tuple_element_8); if (var_kv_seq_len == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[116]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 207; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_5; } tmp_tuple_element_8 = var_kv_seq_len; PyTuple_SET_ITEM0(tmp_compexpr_right_5, 3, tmp_tuple_element_8); goto tuple_build_noexception_5; // Exception handling pass through code for tuple_build: tuple_build_exception_5:; Py_DECREF(tmp_compexpr_left_5); Py_DECREF(tmp_compexpr_right_5); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_5:; tmp_condition_result_6 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_5, tmp_compexpr_right_5); Py_DECREF(tmp_compexpr_left_5); Py_DECREF(tmp_compexpr_right_5); if (tmp_condition_result_6 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 207; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) { goto branch_yes_5; } else { goto branch_no_5; } assert(tmp_condition_result_6 != NUITKA_BOOL_UNASSIGNED); } branch_yes_5:; { PyObject *tmp_raise_type_2; PyObject *tmp_make_exception_arg_2; PyObject *tmp_string_concat_values_2; PyObject *tmp_tuple_element_9; tmp_tuple_element_9 = mod_consts[120]; tmp_string_concat_values_2 = PyTuple_New(4); { PyObject *tmp_format_value_3; PyObject *tmp_tuple_element_10; PyObject *tmp_format_spec_3; PyObject *tmp_format_value_4; PyObject *tmp_called_instance_9; PyObject *tmp_format_spec_4; PyTuple_SET_ITEM0(tmp_string_concat_values_2, 0, tmp_tuple_element_9); if (var_bsz == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[104]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 209; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_6; } tmp_tuple_element_10 = var_bsz; tmp_format_value_3 = PyTuple_New(4); PyTuple_SET_ITEM0(tmp_format_value_3, 0, tmp_tuple_element_10); tmp_tuple_element_10 = mod_consts[12]; PyTuple_SET_ITEM0(tmp_format_value_3, 1, tmp_tuple_element_10); if (var_q_len == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[105]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 209; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_7; } tmp_tuple_element_10 = var_q_len; PyTuple_SET_ITEM0(tmp_format_value_3, 2, tmp_tuple_element_10); if (var_kv_seq_len == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[116]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 209; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_7; } tmp_tuple_element_10 = var_kv_seq_len; PyTuple_SET_ITEM0(tmp_format_value_3, 3, tmp_tuple_element_10); goto tuple_build_noexception_6; // Exception handling pass through code for tuple_build: tuple_build_exception_7:; Py_DECREF(tmp_format_value_3); goto tuple_build_exception_6; // Finished with no exception for tuple_build: tuple_build_noexception_6:; tmp_format_spec_3 = mod_consts[91]; tmp_tuple_element_9 = BUILTIN_FORMAT(tmp_format_value_3, tmp_format_spec_3); Py_DECREF(tmp_format_value_3); if (tmp_tuple_element_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_6; } PyTuple_SET_ITEM(tmp_string_concat_values_2, 1, tmp_tuple_element_9); tmp_tuple_element_9 = mod_consts[118]; PyTuple_SET_ITEM0(tmp_string_concat_values_2, 2, tmp_tuple_element_9); if (par_attention_mask == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[121]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 209; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_6; } tmp_called_instance_9 = par_attention_mask; frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 209; tmp_format_value_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_9, mod_consts[8]); if (tmp_format_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_6; } tmp_format_spec_4 = mod_consts[91]; tmp_tuple_element_9 = BUILTIN_FORMAT(tmp_format_value_4, tmp_format_spec_4); Py_DECREF(tmp_format_value_4); if (tmp_tuple_element_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_6; } PyTuple_SET_ITEM(tmp_string_concat_values_2, 3, tmp_tuple_element_9); } goto tuple_build_noexception_7; // Exception handling pass through code for tuple_build: tuple_build_exception_6:; Py_DECREF(tmp_string_concat_values_2); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_7:; tmp_make_exception_arg_2 = PyUnicode_Join(mod_consts[91], tmp_string_concat_values_2); Py_DECREF(tmp_string_concat_values_2); if (tmp_make_exception_arg_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 208; tmp_raise_type_2 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_2); Py_DECREF(tmp_make_exception_arg_2); assert(!(tmp_raise_type_2 == NULL)); exception_type = tmp_raise_type_2; exception_lineno = 208; RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } branch_no_5:; { PyObject *tmp_assign_source_27; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; if (var_attn_weights == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[119]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 211; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_left_name_4 = var_attn_weights; if (par_attention_mask == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[121]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 211; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_right_name_4 = par_attention_mask; tmp_assign_source_27 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_4, tmp_right_name_4); if (tmp_assign_source_27 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 211; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_attn_weights; var_attn_weights = tmp_assign_source_27; Py_XDECREF(old); } } { PyObject *tmp_assign_source_28; PyObject *tmp_called_name_13; PyObject *tmp_expression_name_28; PyObject *tmp_args_element_name_24; PyObject *tmp_args_element_name_25; PyObject *tmp_called_name_14; PyObject *tmp_expression_name_29; PyObject *tmp_args_element_name_26; PyObject *tmp_expression_name_30; PyObject *tmp_called_name_15; PyObject *tmp_expression_name_31; PyObject *tmp_args_element_name_27; PyObject *tmp_expression_name_32; tmp_expression_name_28 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_28 == NULL)) { tmp_expression_name_28 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_28 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 212; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_28, mod_consts[122]); if (tmp_called_name_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 212; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_attn_weights); tmp_args_element_name_24 = var_attn_weights; tmp_expression_name_29 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_29 == NULL)) { tmp_expression_name_29 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_29 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_13); exception_lineno = 212; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_14 = LOOKUP_ATTRIBUTE(tmp_expression_name_29, mod_consts[3]); if (tmp_called_name_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_13); exception_lineno = 212; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_31 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_31 == NULL)) { tmp_expression_name_31 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_31 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_13); Py_DECREF(tmp_called_name_14); exception_lineno = 212; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_15 = LOOKUP_ATTRIBUTE(tmp_expression_name_31, mod_consts[4]); if (tmp_called_name_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_13); Py_DECREF(tmp_called_name_14); exception_lineno = 212; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_attn_weights); tmp_expression_name_32 = var_attn_weights; tmp_args_element_name_27 = LOOKUP_ATTRIBUTE(tmp_expression_name_32, mod_consts[16]); if (tmp_args_element_name_27 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_13); Py_DECREF(tmp_called_name_14); Py_DECREF(tmp_called_name_15); exception_lineno = 212; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 212; tmp_expression_name_30 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_15, tmp_args_element_name_27); Py_DECREF(tmp_called_name_15); Py_DECREF(tmp_args_element_name_27); if (tmp_expression_name_30 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_13); Py_DECREF(tmp_called_name_14); exception_lineno = 212; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_26 = LOOKUP_ATTRIBUTE(tmp_expression_name_30, mod_consts[5]); Py_DECREF(tmp_expression_name_30); if (tmp_args_element_name_26 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_13); Py_DECREF(tmp_called_name_14); exception_lineno = 212; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 212; tmp_args_element_name_25 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_14, tmp_args_element_name_26); Py_DECREF(tmp_called_name_14); Py_DECREF(tmp_args_element_name_26); if (tmp_args_element_name_25 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_13); exception_lineno = 212; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 212; { PyObject *call_args[] = {tmp_args_element_name_24, tmp_args_element_name_25}; tmp_assign_source_28 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_13, call_args); } Py_DECREF(tmp_called_name_13); Py_DECREF(tmp_args_element_name_25); if (tmp_assign_source_28 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 212; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_attn_weights; var_attn_weights = tmp_assign_source_28; Py_XDECREF(old); } } branch_no_4:; { PyObject *tmp_assign_source_29; PyObject *tmp_called_name_16; PyObject *tmp_expression_name_33; PyObject *tmp_called_name_17; PyObject *tmp_expression_name_34; PyObject *tmp_expression_name_35; PyObject *tmp_args_name_4; PyObject *tmp_tuple_element_11; PyObject *tmp_kwargs_name_4; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; PyObject *tmp_args_element_name_28; PyObject *tmp_expression_name_37; tmp_expression_name_35 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[33]); if (unlikely(tmp_expression_name_35 == NULL)) { tmp_expression_name_35 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]); } if (tmp_expression_name_35 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 215; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_34 = LOOKUP_ATTRIBUTE(tmp_expression_name_35, mod_consts[123]); if (tmp_expression_name_34 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 215; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_17 = LOOKUP_ATTRIBUTE(tmp_expression_name_34, mod_consts[124]); Py_DECREF(tmp_expression_name_34); if (tmp_called_name_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 215; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (var_attn_weights == NULL) { Py_DECREF(tmp_called_name_17); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[119]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 215; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_11 = var_attn_weights; tmp_args_name_4 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_args_name_4, 0, tmp_tuple_element_11); tmp_dict_key_2 = mod_consts[51]; tmp_dict_value_2 = mod_consts[66]; tmp_kwargs_name_4 = _PyDict_NewPresized( 2 ); { PyObject *tmp_expression_name_36; tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_2, tmp_dict_value_2); assert(!(tmp_res != 0)); tmp_dict_key_2 = mod_consts[16]; tmp_expression_name_36 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_36 == NULL)) { tmp_expression_name_36 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_36 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 215; type_description_1 = "oooooooooooooooooo"; goto dict_build_exception_1; } tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_36, mod_consts[39]); if (tmp_dict_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 215; type_description_1 = "oooooooooooooooooo"; goto dict_build_exception_1; } tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_2, tmp_dict_value_2); Py_DECREF(tmp_dict_value_2); assert(!(tmp_res != 0)); } goto dict_build_noexception_1; // Exception handling pass through code for dict_build: dict_build_exception_1:; Py_DECREF(tmp_called_name_17); Py_DECREF(tmp_args_name_4); Py_DECREF(tmp_kwargs_name_4); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_1:; frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 215; tmp_expression_name_33 = CALL_FUNCTION(tmp_called_name_17, tmp_args_name_4, tmp_kwargs_name_4); Py_DECREF(tmp_called_name_17); Py_DECREF(tmp_args_name_4); Py_DECREF(tmp_kwargs_name_4); if (tmp_expression_name_33 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 215; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_16 = LOOKUP_ATTRIBUTE(tmp_expression_name_33, mod_consts[15]); Py_DECREF(tmp_expression_name_33); if (tmp_called_name_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 215; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (var_query_states == NULL) { Py_DECREF(tmp_called_name_16); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[125]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 215; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_37 = var_query_states; tmp_args_element_name_28 = LOOKUP_ATTRIBUTE(tmp_expression_name_37, mod_consts[16]); if (tmp_args_element_name_28 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_16); exception_lineno = 215; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 215; tmp_assign_source_29 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_16, tmp_args_element_name_28); Py_DECREF(tmp_called_name_16); Py_DECREF(tmp_args_element_name_28); if (tmp_assign_source_29 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 215; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_attn_weights; var_attn_weights = tmp_assign_source_29; Py_XDECREF(old); } } { PyObject *tmp_assign_source_30; PyObject *tmp_called_name_18; PyObject *tmp_expression_name_38; PyObject *tmp_args_element_name_29; PyObject *tmp_args_element_name_30; tmp_expression_name_38 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_38 == NULL)) { tmp_expression_name_38 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_38 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 216; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_18 = LOOKUP_ATTRIBUTE(tmp_expression_name_38, mod_consts[112]); if (tmp_called_name_18 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 216; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_attn_weights); tmp_args_element_name_29 = var_attn_weights; if (var_value_states == NULL) { Py_DECREF(tmp_called_name_18); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[111]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 216; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_30 = var_value_states; frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 216; { PyObject *call_args[] = {tmp_args_element_name_29, tmp_args_element_name_30}; tmp_assign_source_30 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_18, call_args); } Py_DECREF(tmp_called_name_18); if (tmp_assign_source_30 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 216; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_attn_output == NULL); var_attn_output = tmp_assign_source_30; } { nuitka_bool tmp_condition_result_7; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; PyObject *tmp_called_instance_10; PyObject *tmp_tuple_element_12; CHECK_OBJECT(var_attn_output); tmp_called_instance_10 = var_attn_output; frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 218; tmp_compexpr_left_6 = CALL_METHOD_NO_ARGS(tmp_called_instance_10, mod_consts[8]); if (tmp_compexpr_left_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 218; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (var_bsz == NULL) { Py_DECREF(tmp_compexpr_left_6); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[104]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 218; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_12 = var_bsz; tmp_compexpr_right_6 = PyTuple_New(4); { PyObject *tmp_expression_name_39; PyObject *tmp_expression_name_40; PyTuple_SET_ITEM0(tmp_compexpr_right_6, 0, tmp_tuple_element_12); if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 218; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_8; } tmp_expression_name_39 = par_self; tmp_tuple_element_12 = LOOKUP_ATTRIBUTE(tmp_expression_name_39, mod_consts[87]); if (tmp_tuple_element_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 218; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_8; } PyTuple_SET_ITEM(tmp_compexpr_right_6, 1, tmp_tuple_element_12); if (var_q_len == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[105]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 218; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_8; } tmp_tuple_element_12 = var_q_len; PyTuple_SET_ITEM0(tmp_compexpr_right_6, 2, tmp_tuple_element_12); if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 218; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_8; } tmp_expression_name_40 = par_self; tmp_tuple_element_12 = LOOKUP_ATTRIBUTE(tmp_expression_name_40, mod_consts[88]); if (tmp_tuple_element_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 218; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_8; } PyTuple_SET_ITEM(tmp_compexpr_right_6, 3, tmp_tuple_element_12); } goto tuple_build_noexception_8; // Exception handling pass through code for tuple_build: tuple_build_exception_8:; Py_DECREF(tmp_compexpr_left_6); Py_DECREF(tmp_compexpr_right_6); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_8:; tmp_condition_result_7 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_6, tmp_compexpr_right_6); Py_DECREF(tmp_compexpr_left_6); Py_DECREF(tmp_compexpr_right_6); if (tmp_condition_result_7 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 218; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) { goto branch_yes_6; } else { goto branch_no_6; } assert(tmp_condition_result_7 != NUITKA_BOOL_UNASSIGNED); } branch_yes_6:; { PyObject *tmp_raise_type_3; PyObject *tmp_make_exception_arg_3; PyObject *tmp_string_concat_values_3; PyObject *tmp_tuple_element_13; tmp_tuple_element_13 = mod_consts[126]; tmp_string_concat_values_3 = PyTuple_New(4); { PyObject *tmp_format_value_5; PyObject *tmp_tuple_element_14; PyObject *tmp_format_spec_5; PyObject *tmp_format_value_6; PyObject *tmp_called_instance_11; PyObject *tmp_format_spec_6; PyTuple_SET_ITEM0(tmp_string_concat_values_3, 0, tmp_tuple_element_13); if (var_bsz == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[104]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 220; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_9; } tmp_tuple_element_14 = var_bsz; tmp_format_value_5 = PyTuple_New(4); { PyObject *tmp_expression_name_41; PyObject *tmp_expression_name_42; PyTuple_SET_ITEM0(tmp_format_value_5, 0, tmp_tuple_element_14); if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 220; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_10; } tmp_expression_name_41 = par_self; tmp_tuple_element_14 = LOOKUP_ATTRIBUTE(tmp_expression_name_41, mod_consts[87]); if (tmp_tuple_element_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 220; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_10; } PyTuple_SET_ITEM(tmp_format_value_5, 1, tmp_tuple_element_14); if (var_q_len == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[105]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 220; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_10; } tmp_tuple_element_14 = var_q_len; PyTuple_SET_ITEM0(tmp_format_value_5, 2, tmp_tuple_element_14); if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 220; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_10; } tmp_expression_name_42 = par_self; tmp_tuple_element_14 = LOOKUP_ATTRIBUTE(tmp_expression_name_42, mod_consts[88]); if (tmp_tuple_element_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 220; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_10; } PyTuple_SET_ITEM(tmp_format_value_5, 3, tmp_tuple_element_14); } goto tuple_build_noexception_9; // Exception handling pass through code for tuple_build: tuple_build_exception_10:; Py_DECREF(tmp_format_value_5); goto tuple_build_exception_9; // Finished with no exception for tuple_build: tuple_build_noexception_9:; tmp_format_spec_5 = mod_consts[91]; tmp_tuple_element_13 = BUILTIN_FORMAT(tmp_format_value_5, tmp_format_spec_5); Py_DECREF(tmp_format_value_5); if (tmp_tuple_element_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 220; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_9; } PyTuple_SET_ITEM(tmp_string_concat_values_3, 1, tmp_tuple_element_13); tmp_tuple_element_13 = mod_consts[118]; PyTuple_SET_ITEM0(tmp_string_concat_values_3, 2, tmp_tuple_element_13); if (var_attn_output == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[127]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 221; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_9; } tmp_called_instance_11 = var_attn_output; frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 221; tmp_format_value_6 = CALL_METHOD_NO_ARGS(tmp_called_instance_11, mod_consts[8]); if (tmp_format_value_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 221; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_9; } tmp_format_spec_6 = mod_consts[91]; tmp_tuple_element_13 = BUILTIN_FORMAT(tmp_format_value_6, tmp_format_spec_6); Py_DECREF(tmp_format_value_6); if (tmp_tuple_element_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 220; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_9; } PyTuple_SET_ITEM(tmp_string_concat_values_3, 3, tmp_tuple_element_13); } goto tuple_build_noexception_10; // Exception handling pass through code for tuple_build: tuple_build_exception_9:; Py_DECREF(tmp_string_concat_values_3); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_10:; tmp_make_exception_arg_3 = PyUnicode_Join(mod_consts[91], tmp_string_concat_values_3); Py_DECREF(tmp_string_concat_values_3); if (tmp_make_exception_arg_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 220; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 219; tmp_raise_type_3 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_3); Py_DECREF(tmp_make_exception_arg_3); assert(!(tmp_raise_type_3 == NULL)); exception_type = tmp_raise_type_3; exception_lineno = 219; RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } branch_no_6:; { PyObject *tmp_assign_source_31; PyObject *tmp_called_instance_12; if (var_attn_output == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[127]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 224; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_12 = var_attn_output; frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 224; tmp_assign_source_31 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_12, mod_consts[100], &PyTuple_GET_ITEM(mod_consts[101], 0) ); if (tmp_assign_source_31 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 224; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_attn_output; var_attn_output = tmp_assign_source_31; Py_XDECREF(old); } } { PyObject *tmp_assign_source_32; PyObject *tmp_called_name_19; PyObject *tmp_expression_name_43; PyObject *tmp_args_element_name_31; PyObject *tmp_args_element_name_32; PyObject *tmp_args_element_name_33; PyObject *tmp_expression_name_44; CHECK_OBJECT(var_attn_output); tmp_expression_name_43 = var_attn_output; tmp_called_name_19 = LOOKUP_ATTRIBUTE(tmp_expression_name_43, mod_consts[128]); if (tmp_called_name_19 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 225; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (var_bsz == NULL) { Py_DECREF(tmp_called_name_19); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[104]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 225; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_31 = var_bsz; if (var_q_len == NULL) { Py_DECREF(tmp_called_name_19); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[105]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 225; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_32 = var_q_len; if (par_self == NULL) { Py_DECREF(tmp_called_name_19); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 225; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_44 = par_self; tmp_args_element_name_33 = LOOKUP_ATTRIBUTE(tmp_expression_name_44, mod_consts[80]); if (tmp_args_element_name_33 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_19); exception_lineno = 225; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 225; { PyObject *call_args[] = {tmp_args_element_name_31, tmp_args_element_name_32, tmp_args_element_name_33}; tmp_assign_source_32 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_19, call_args); } Py_DECREF(tmp_called_name_19); Py_DECREF(tmp_args_element_name_33); if (tmp_assign_source_32 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 225; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_attn_output; var_attn_output = tmp_assign_source_32; Py_XDECREF(old); } } { PyObject *tmp_assign_source_33; PyObject *tmp_called_instance_13; PyObject *tmp_args_element_name_34; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 227; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_13 = par_self; CHECK_OBJECT(var_attn_output); tmp_args_element_name_34 = var_attn_output; frame_946cee16beaa54a0e81a9daa8677f97e->m_frame.f_lineno = 227; tmp_assign_source_33 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_13, mod_consts[97], tmp_args_element_name_34); if (tmp_assign_source_33 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 227; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_attn_output; var_attn_output = tmp_assign_source_33; Py_XDECREF(old); } } { nuitka_bool tmp_condition_result_8; PyObject *tmp_operand_name_1; CHECK_OBJECT(par_output_attentions); tmp_operand_name_1 = par_output_attentions; tmp_res = CHECK_IF_TRUE(tmp_operand_name_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 229; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_8 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) { goto branch_yes_7; } else { goto branch_no_7; } } branch_yes_7:; { PyObject *tmp_assign_source_34; tmp_assign_source_34 = Py_None; { PyObject *old = var_attn_weights; var_attn_weights = tmp_assign_source_34; Py_INCREF(var_attn_weights); Py_XDECREF(old); } } branch_no_7:; { PyObject *tmp_tuple_element_15; CHECK_OBJECT(var_attn_output); tmp_tuple_element_15 = var_attn_output; tmp_return_value = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_return_value, 0, tmp_tuple_element_15); if (var_attn_weights == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[119]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 232; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_11; } tmp_tuple_element_15 = var_attn_weights; PyTuple_SET_ITEM0(tmp_return_value, 1, tmp_tuple_element_15); CHECK_OBJECT(par_past_key_value); tmp_tuple_element_15 = par_past_key_value; PyTuple_SET_ITEM0(tmp_return_value, 2, tmp_tuple_element_15); goto tuple_build_noexception_11; // Exception handling pass through code for tuple_build: tuple_build_exception_11:; Py_DECREF(tmp_return_value); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_11:; goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_946cee16beaa54a0e81a9daa8677f97e); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_946cee16beaa54a0e81a9daa8677f97e); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_946cee16beaa54a0e81a9daa8677f97e); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_946cee16beaa54a0e81a9daa8677f97e, exception_lineno); } else if (exception_tb->tb_frame != &frame_946cee16beaa54a0e81a9daa8677f97e->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_946cee16beaa54a0e81a9daa8677f97e, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_946cee16beaa54a0e81a9daa8677f97e, type_description_1, par_self, par_hidden_states, par_attention_mask, par_position_ids, par_past_key_value, par_output_attentions, par_use_cache, var_bsz, var_q_len, var__, var_query_states, var_key_states, var_value_states, var_kv_seq_len, var_cos, var_sin, var_attn_weights, var_attn_output ); // Release cached frame if used for exception. if (frame_946cee16beaa54a0e81a9daa8677f97e == cache_frame_946cee16beaa54a0e81a9daa8677f97e) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_946cee16beaa54a0e81a9daa8677f97e); cache_frame_946cee16beaa54a0e81a9daa8677f97e = NULL; } assertFrameObject(frame_946cee16beaa54a0e81a9daa8677f97e); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_hidden_states); par_hidden_states = NULL; Py_XDECREF(par_attention_mask); par_attention_mask = NULL; CHECK_OBJECT(par_position_ids); Py_DECREF(par_position_ids); par_position_ids = NULL; CHECK_OBJECT(par_past_key_value); Py_DECREF(par_past_key_value); par_past_key_value = NULL; CHECK_OBJECT(par_output_attentions); Py_DECREF(par_output_attentions); par_output_attentions = NULL; CHECK_OBJECT(par_use_cache); Py_DECREF(par_use_cache); par_use_cache = NULL; Py_XDECREF(var_bsz); var_bsz = NULL; Py_XDECREF(var_q_len); var_q_len = NULL; CHECK_OBJECT(var__); Py_DECREF(var__); var__ = NULL; Py_XDECREF(var_query_states); var_query_states = NULL; Py_XDECREF(var_key_states); var_key_states = NULL; Py_XDECREF(var_value_states); var_value_states = NULL; Py_XDECREF(var_kv_seq_len); var_kv_seq_len = NULL; CHECK_OBJECT(var_cos); Py_DECREF(var_cos); var_cos = NULL; CHECK_OBJECT(var_sin); Py_DECREF(var_sin); var_sin = NULL; Py_XDECREF(var_attn_weights); var_attn_weights = NULL; CHECK_OBJECT(var_attn_output); Py_DECREF(var_attn_output); var_attn_output = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_hidden_states); par_hidden_states = NULL; Py_XDECREF(par_attention_mask); par_attention_mask = NULL; CHECK_OBJECT(par_position_ids); Py_DECREF(par_position_ids); par_position_ids = NULL; CHECK_OBJECT(par_past_key_value); Py_DECREF(par_past_key_value); par_past_key_value = NULL; CHECK_OBJECT(par_output_attentions); Py_DECREF(par_output_attentions); par_output_attentions = NULL; CHECK_OBJECT(par_use_cache); Py_DECREF(par_use_cache); par_use_cache = NULL; Py_XDECREF(var_bsz); var_bsz = NULL; Py_XDECREF(var_q_len); var_q_len = NULL; Py_XDECREF(var__); var__ = NULL; Py_XDECREF(var_query_states); var_query_states = NULL; Py_XDECREF(var_key_states); var_key_states = NULL; Py_XDECREF(var_value_states); var_value_states = NULL; Py_XDECREF(var_kv_seq_len); var_kv_seq_len = NULL; Py_XDECREF(var_cos); var_cos = NULL; Py_XDECREF(var_sin); var_sin = NULL; Py_XDECREF(var_attn_weights); var_attn_weights = NULL; Py_XDECREF(var_attn_output); var_attn_output = NULL; // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__14___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_config = python_pars[1]; struct Nuitka_FrameObject *frame_1ad920172ce0ce172659e0f425a48750; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; int tmp_res; static struct Nuitka_FrameObject *cache_frame_1ad920172ce0ce172659e0f425a48750 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_1ad920172ce0ce172659e0f425a48750)) { Py_XDECREF(cache_frame_1ad920172ce0ce172659e0f425a48750); #if _DEBUG_REFCOUNTS if (cache_frame_1ad920172ce0ce172659e0f425a48750 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_1ad920172ce0ce172659e0f425a48750 = MAKE_FUNCTION_FRAME(codeobj_1ad920172ce0ce172659e0f425a48750, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_1ad920172ce0ce172659e0f425a48750->m_type_description == NULL); frame_1ad920172ce0ce172659e0f425a48750 = cache_frame_1ad920172ce0ce172659e0f425a48750; // Push the new frame as the currently active one. pushFrameStack(frame_1ad920172ce0ce172659e0f425a48750); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_1ad920172ce0ce172659e0f425a48750) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_call_result_1; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[31]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 237; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_type_arg_name_1 = Nuitka_Cell_GET(self->m_closure[0]); CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER0(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 237; type_description_1 = "ooc"; goto frame_exception_exit_1; } frame_1ad920172ce0ce172659e0f425a48750->m_frame.f_lineno = 237; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[32]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 237; type_description_1 = "ooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assattr_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT(par_config); tmp_expression_name_1 = par_config; tmp_assattr_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[80]); if (tmp_assattr_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 238; type_description_1 = "ooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[80], tmp_assattr_name_1); Py_DECREF(tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 238; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_called_name_1; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_assattr_target_2; tmp_called_name_1 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[129]); if (unlikely(tmp_called_name_1 == NULL)) { tmp_called_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[129]); } if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 239; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_dict_key_1 = mod_consts[85]; if (par_config == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 239; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_dict_value_1 = par_config; tmp_kwargs_name_1 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); frame_1ad920172ce0ce172659e0f425a48750->m_frame.f_lineno = 239; tmp_assattr_name_2 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assattr_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 239; type_description_1 = "ooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[130], tmp_assattr_name_2); Py_DECREF(tmp_assattr_name_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 239; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_called_name_2; PyObject *tmp_kwargs_name_2; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; PyObject *tmp_expression_name_2; PyObject *tmp_assattr_target_3; tmp_called_name_2 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[131]); if (unlikely(tmp_called_name_2 == NULL)) { tmp_called_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[131]); } if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 240; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_dict_key_2 = mod_consts[80]; CHECK_OBJECT(par_self); tmp_expression_name_2 = par_self; tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[80]); if (tmp_dict_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 241; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_kwargs_name_2 = _PyDict_NewPresized( 3 ); { PyObject *tmp_expression_name_3; PyObject *tmp_expression_name_4; tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); Py_DECREF(tmp_dict_value_2); assert(!(tmp_res != 0)); tmp_dict_key_2 = mod_consts[79]; if (par_config == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 242; type_description_1 = "ooc"; goto dict_build_exception_1; } tmp_expression_name_3 = par_config; tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[79]); if (tmp_dict_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 242; type_description_1 = "ooc"; goto dict_build_exception_1; } tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); Py_DECREF(tmp_dict_value_2); assert(!(tmp_res != 0)); tmp_dict_key_2 = mod_consts[132]; if (par_config == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 243; type_description_1 = "ooc"; goto dict_build_exception_1; } tmp_expression_name_4 = par_config; tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[132]); if (tmp_dict_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 243; type_description_1 = "ooc"; goto dict_build_exception_1; } tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); Py_DECREF(tmp_dict_value_2); assert(!(tmp_res != 0)); } goto dict_build_noexception_1; // Exception handling pass through code for dict_build: dict_build_exception_1:; Py_DECREF(tmp_kwargs_name_2); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_1:; frame_1ad920172ce0ce172659e0f425a48750->m_frame.f_lineno = 240; tmp_assattr_name_3 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_2, tmp_kwargs_name_2); Py_DECREF(tmp_kwargs_name_2); if (tmp_assattr_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 240; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 240; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[133], tmp_assattr_name_3); Py_DECREF(tmp_assattr_name_3); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 240; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_called_name_3; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_expression_name_5; PyObject *tmp_kwargs_name_3; PyObject *tmp_dict_key_3; PyObject *tmp_dict_value_3; PyObject *tmp_expression_name_6; PyObject *tmp_assattr_target_4; tmp_called_name_3 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[134]); if (unlikely(tmp_called_name_3 == NULL)) { tmp_called_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[134]); } if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 245; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_config == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 245; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_5 = par_config; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[80]); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 245; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_1, 0, tmp_tuple_element_1); tmp_dict_key_3 = mod_consts[135]; if (par_config == NULL) { Py_DECREF(tmp_args_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 245; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_6 = par_config; tmp_dict_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[136]); if (tmp_dict_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_args_name_1); exception_lineno = 245; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_kwargs_name_3 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_3, tmp_dict_key_3, tmp_dict_value_3); Py_DECREF(tmp_dict_value_3); assert(!(tmp_res != 0)); frame_1ad920172ce0ce172659e0f425a48750->m_frame.f_lineno = 245; tmp_assattr_name_4 = CALL_FUNCTION(tmp_called_name_3, tmp_args_name_1, tmp_kwargs_name_3); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_3); if (tmp_assattr_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 245; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 245; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[137], tmp_assattr_name_4); Py_DECREF(tmp_assattr_name_4); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 245; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_5; PyObject *tmp_called_name_4; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_2; PyObject *tmp_expression_name_7; PyObject *tmp_kwargs_name_4; PyObject *tmp_dict_key_4; PyObject *tmp_dict_value_4; PyObject *tmp_expression_name_8; PyObject *tmp_assattr_target_5; tmp_called_name_4 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[134]); if (unlikely(tmp_called_name_4 == NULL)) { tmp_called_name_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[134]); } if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 246; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_config == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 246; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_7 = par_config; tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[80]); if (tmp_tuple_element_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 246; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_args_name_2 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_2, 0, tmp_tuple_element_2); tmp_dict_key_4 = mod_consts[135]; if (par_config == NULL) { Py_DECREF(tmp_args_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 246; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_8 = par_config; tmp_dict_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[136]); if (tmp_dict_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_args_name_2); exception_lineno = 246; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_kwargs_name_4 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_4, tmp_dict_value_4); Py_DECREF(tmp_dict_value_4); assert(!(tmp_res != 0)); frame_1ad920172ce0ce172659e0f425a48750->m_frame.f_lineno = 246; tmp_assattr_name_5 = CALL_FUNCTION(tmp_called_name_4, tmp_args_name_2, tmp_kwargs_name_4); Py_DECREF(tmp_args_name_2); Py_DECREF(tmp_kwargs_name_4); if (tmp_assattr_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 246; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 246; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_assattr_target_5 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[138], tmp_assattr_name_5); Py_DECREF(tmp_assattr_name_5); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 246; type_description_1 = "ooc"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_1ad920172ce0ce172659e0f425a48750); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_1ad920172ce0ce172659e0f425a48750); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_1ad920172ce0ce172659e0f425a48750, exception_lineno); } else if (exception_tb->tb_frame != &frame_1ad920172ce0ce172659e0f425a48750->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_1ad920172ce0ce172659e0f425a48750, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_1ad920172ce0ce172659e0f425a48750, type_description_1, par_self, par_config, self->m_closure[0] ); // Release cached frame if used for exception. if (frame_1ad920172ce0ce172659e0f425a48750 == cache_frame_1ad920172ce0ce172659e0f425a48750) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_1ad920172ce0ce172659e0f425a48750); cache_frame_1ad920172ce0ce172659e0f425a48750 = NULL; } assertFrameObject(frame_1ad920172ce0ce172659e0f425a48750); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_config); par_config = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_config); par_config = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__15_forward(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_hidden_states = python_pars[1]; PyObject *par_attention_mask = python_pars[2]; PyObject *par_position_ids = python_pars[3]; PyObject *par_past_key_value = python_pars[4]; PyObject *par_output_attentions = python_pars[5]; PyObject *par_use_cache = python_pars[6]; PyObject *var_residual = NULL; PyObject *var_self_attn_weights = NULL; PyObject *var_present_key_value = NULL; PyObject *var_outputs = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__element_3 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_70854e41c56fe5eee0f0a9936eb360bf; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; bool tmp_result; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_70854e41c56fe5eee0f0a9936eb360bf = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function body. { PyObject *tmp_assign_source_1; CHECK_OBJECT(par_hidden_states); tmp_assign_source_1 = par_hidden_states; assert(var_residual == NULL); Py_INCREF(tmp_assign_source_1); var_residual = tmp_assign_source_1; } // Tried code: if (isFrameUnusable(cache_frame_70854e41c56fe5eee0f0a9936eb360bf)) { Py_XDECREF(cache_frame_70854e41c56fe5eee0f0a9936eb360bf); #if _DEBUG_REFCOUNTS if (cache_frame_70854e41c56fe5eee0f0a9936eb360bf == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_70854e41c56fe5eee0f0a9936eb360bf = MAKE_FUNCTION_FRAME(codeobj_70854e41c56fe5eee0f0a9936eb360bf, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_70854e41c56fe5eee0f0a9936eb360bf->m_type_description == NULL); frame_70854e41c56fe5eee0f0a9936eb360bf = cache_frame_70854e41c56fe5eee0f0a9936eb360bf; // Push the new frame as the currently active one. pushFrameStack(frame_70854e41c56fe5eee0f0a9936eb360bf); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_70854e41c56fe5eee0f0a9936eb360bf) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_2; PyObject *tmp_called_instance_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT(par_self); tmp_called_instance_1 = par_self; CHECK_OBJECT(par_hidden_states); tmp_args_element_name_1 = par_hidden_states; frame_70854e41c56fe5eee0f0a9936eb360bf->m_frame.f_lineno = 273; tmp_assign_source_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[137], tmp_args_element_name_1); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 273; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_hidden_states; par_hidden_states = tmp_assign_source_2; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_3; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 276; type_description_1 = "ooooooooooo"; goto try_except_handler_2; } tmp_expression_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[130]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 276; type_description_1 = "ooooooooooo"; goto try_except_handler_2; } tmp_dict_key_1 = mod_consts[44]; CHECK_OBJECT(par_hidden_states); tmp_dict_value_1 = par_hidden_states; tmp_kwargs_name_1 = _PyDict_NewPresized( 6 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[121]; CHECK_OBJECT(par_attention_mask); tmp_dict_value_1 = par_attention_mask; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[139]; CHECK_OBJECT(par_position_ids); tmp_dict_value_1 = par_position_ids; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[140]; CHECK_OBJECT(par_past_key_value); tmp_dict_value_1 = par_past_key_value; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[141]; CHECK_OBJECT(par_output_attentions); tmp_dict_value_1 = par_output_attentions; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[142]; CHECK_OBJECT(par_use_cache); tmp_dict_value_1 = par_use_cache; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); frame_70854e41c56fe5eee0f0a9936eb360bf->m_frame.f_lineno = 276; tmp_iter_arg_1 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 276; type_description_1 = "ooooooooooo"; goto try_except_handler_2; } tmp_assign_source_3 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 276; type_description_1 = "ooooooooooo"; goto try_except_handler_2; } assert(tmp_tuple_unpack_1__source_iter == NULL); tmp_tuple_unpack_1__source_iter = tmp_assign_source_3; } // Tried code: { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_1, 0, 3); if (tmp_assign_source_4 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooooooooo"; exception_lineno = 276; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_1 == NULL); tmp_tuple_unpack_1__element_1 = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_2, 1, 3); if (tmp_assign_source_5 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooooooooo"; exception_lineno = 276; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_2 == NULL); tmp_tuple_unpack_1__element_2 = tmp_assign_source_5; } { PyObject *tmp_assign_source_6; PyObject *tmp_unpack_3; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_3 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_3, 2, 3); if (tmp_assign_source_6 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooooooooo"; exception_lineno = 276; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_3 == NULL); tmp_tuple_unpack_1__element_3 = tmp_assign_source_6; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "ooooooooooo"; exception_lineno = 276; goto try_except_handler_3; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[103]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "ooooooooooo"; exception_lineno = 276; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_7; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_7 = tmp_tuple_unpack_1__element_1; { PyObject *old = par_hidden_states; par_hidden_states = tmp_assign_source_7; Py_INCREF(par_hidden_states); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_8; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_8 = tmp_tuple_unpack_1__element_2; assert(var_self_attn_weights == NULL); Py_INCREF(tmp_assign_source_8); var_self_attn_weights = tmp_assign_source_8; } Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; { PyObject *tmp_assign_source_9; CHECK_OBJECT(tmp_tuple_unpack_1__element_3); tmp_assign_source_9 = tmp_tuple_unpack_1__element_3; assert(var_present_key_value == NULL); Py_INCREF(tmp_assign_source_9); var_present_key_value = tmp_assign_source_9; } Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; { PyObject *tmp_assign_source_10; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; CHECK_OBJECT(var_residual); tmp_left_name_1 = var_residual; CHECK_OBJECT(par_hidden_states); tmp_right_name_1 = par_hidden_states; tmp_assign_source_10 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_1, tmp_right_name_1); if (tmp_assign_source_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 284; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_hidden_states; par_hidden_states = tmp_assign_source_10; Py_XDECREF(old); } } { PyObject *tmp_assign_source_11; CHECK_OBJECT(par_hidden_states); tmp_assign_source_11 = par_hidden_states; { PyObject *old = var_residual; var_residual = tmp_assign_source_11; Py_INCREF(var_residual); Py_XDECREF(old); } } { PyObject *tmp_assign_source_12; PyObject *tmp_called_instance_2; PyObject *tmp_args_element_name_2; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 288; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_self; CHECK_OBJECT(par_hidden_states); tmp_args_element_name_2 = par_hidden_states; frame_70854e41c56fe5eee0f0a9936eb360bf->m_frame.f_lineno = 288; tmp_assign_source_12 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[138], tmp_args_element_name_2); if (tmp_assign_source_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 288; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_hidden_states; par_hidden_states = tmp_assign_source_12; Py_XDECREF(old); } } { PyObject *tmp_assign_source_13; PyObject *tmp_called_instance_3; PyObject *tmp_args_element_name_3; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 289; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_3 = par_self; CHECK_OBJECT(par_hidden_states); tmp_args_element_name_3 = par_hidden_states; frame_70854e41c56fe5eee0f0a9936eb360bf->m_frame.f_lineno = 289; tmp_assign_source_13 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[133], tmp_args_element_name_3); if (tmp_assign_source_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 289; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_hidden_states; par_hidden_states = tmp_assign_source_13; Py_XDECREF(old); } } { PyObject *tmp_assign_source_14; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; CHECK_OBJECT(var_residual); tmp_left_name_2 = var_residual; CHECK_OBJECT(par_hidden_states); tmp_right_name_2 = par_hidden_states; tmp_assign_source_14 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_2, tmp_right_name_2); if (tmp_assign_source_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 290; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_hidden_states; par_hidden_states = tmp_assign_source_14; Py_XDECREF(old); } } { PyObject *tmp_assign_source_15; PyObject *tmp_tuple_element_1; CHECK_OBJECT(par_hidden_states); tmp_tuple_element_1 = par_hidden_states; tmp_assign_source_15 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_assign_source_15, 0, tmp_tuple_element_1); assert(var_outputs == NULL); var_outputs = tmp_assign_source_15; } { nuitka_bool tmp_condition_result_1; int tmp_truth_name_1; if (par_output_attentions == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[141]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 294; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE(par_output_attentions); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 294; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assign_source_16; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_tuple_element_2; CHECK_OBJECT(var_outputs); tmp_left_name_3 = var_outputs; CHECK_OBJECT(var_self_attn_weights); tmp_tuple_element_2 = var_self_attn_weights; tmp_right_name_3 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_right_name_3, 0, tmp_tuple_element_2); tmp_result = BINARY_OPERATION_ADD_TUPLE_TUPLE_INPLACE(&tmp_left_name_3, tmp_right_name_3); Py_DECREF(tmp_right_name_3); assert(!(tmp_result == false)); tmp_assign_source_16 = tmp_left_name_3; var_outputs = tmp_assign_source_16; } branch_no_1:; { nuitka_bool tmp_condition_result_2; int tmp_truth_name_2; if (par_use_cache == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[142]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 297; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_2 = CHECK_IF_TRUE(par_use_cache); if (tmp_truth_name_2 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 297; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_2 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_assign_source_17; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; PyObject *tmp_tuple_element_3; CHECK_OBJECT(var_outputs); tmp_left_name_4 = var_outputs; CHECK_OBJECT(var_present_key_value); tmp_tuple_element_3 = var_present_key_value; tmp_right_name_4 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_right_name_4, 0, tmp_tuple_element_3); tmp_result = BINARY_OPERATION_ADD_TUPLE_TUPLE_INPLACE(&tmp_left_name_4, tmp_right_name_4); Py_DECREF(tmp_right_name_4); assert(!(tmp_result == false)); tmp_assign_source_17 = tmp_left_name_4; var_outputs = tmp_assign_source_17; } branch_no_2:; if (var_outputs == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[143]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 300; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_outputs; Py_INCREF(tmp_return_value); goto frame_return_exit_1; #if 0 RESTORE_FRAME_EXCEPTION(frame_70854e41c56fe5eee0f0a9936eb360bf); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_70854e41c56fe5eee0f0a9936eb360bf); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_70854e41c56fe5eee0f0a9936eb360bf); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_70854e41c56fe5eee0f0a9936eb360bf, exception_lineno); } else if (exception_tb->tb_frame != &frame_70854e41c56fe5eee0f0a9936eb360bf->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_70854e41c56fe5eee0f0a9936eb360bf, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_70854e41c56fe5eee0f0a9936eb360bf, type_description_1, par_self, par_hidden_states, par_attention_mask, par_position_ids, par_past_key_value, par_output_attentions, par_use_cache, var_residual, var_self_attn_weights, var_present_key_value, var_outputs ); // Release cached frame if used for exception. if (frame_70854e41c56fe5eee0f0a9936eb360bf == cache_frame_70854e41c56fe5eee0f0a9936eb360bf) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_70854e41c56fe5eee0f0a9936eb360bf); cache_frame_70854e41c56fe5eee0f0a9936eb360bf = NULL; } assertFrameObject(frame_70854e41c56fe5eee0f0a9936eb360bf); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; CHECK_OBJECT(par_hidden_states); Py_DECREF(par_hidden_states); par_hidden_states = NULL; Py_XDECREF(par_attention_mask); par_attention_mask = NULL; Py_XDECREF(par_position_ids); par_position_ids = NULL; Py_XDECREF(par_past_key_value); par_past_key_value = NULL; Py_XDECREF(par_output_attentions); par_output_attentions = NULL; Py_XDECREF(par_use_cache); par_use_cache = NULL; Py_XDECREF(var_residual); var_residual = NULL; CHECK_OBJECT(var_self_attn_weights); Py_DECREF(var_self_attn_weights); var_self_attn_weights = NULL; CHECK_OBJECT(var_present_key_value); Py_DECREF(var_present_key_value); var_present_key_value = NULL; Py_XDECREF(var_outputs); var_outputs = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_hidden_states); par_hidden_states = NULL; Py_XDECREF(par_attention_mask); par_attention_mask = NULL; Py_XDECREF(par_position_ids); par_position_ids = NULL; Py_XDECREF(par_past_key_value); par_past_key_value = NULL; Py_XDECREF(par_output_attentions); par_output_attentions = NULL; Py_XDECREF(par_use_cache); par_use_cache = NULL; Py_XDECREF(var_residual); var_residual = NULL; Py_XDECREF(var_self_attn_weights); var_self_attn_weights = NULL; Py_XDECREF(var_present_key_value); var_present_key_value = NULL; Py_XDECREF(var_outputs); var_outputs = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__16__init_weights(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_module = python_pars[1]; PyObject *var_std = NULL; struct Nuitka_FrameObject *frame_09a61b81c452dbc8a34df4d6a59c7c55; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; static struct Nuitka_FrameObject *cache_frame_09a61b81c452dbc8a34df4d6a59c7c55 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_09a61b81c452dbc8a34df4d6a59c7c55)) { Py_XDECREF(cache_frame_09a61b81c452dbc8a34df4d6a59c7c55); #if _DEBUG_REFCOUNTS if (cache_frame_09a61b81c452dbc8a34df4d6a59c7c55 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_09a61b81c452dbc8a34df4d6a59c7c55 = MAKE_FUNCTION_FRAME(codeobj_09a61b81c452dbc8a34df4d6a59c7c55, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_09a61b81c452dbc8a34df4d6a59c7c55->m_type_description == NULL); frame_09a61b81c452dbc8a34df4d6a59c7c55 = cache_frame_09a61b81c452dbc8a34df4d6a59c7c55; // Push the new frame as the currently active one. pushFrameStack(frame_09a61b81c452dbc8a34df4d6a59c7c55); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_09a61b81c452dbc8a34df4d6a59c7c55) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_expression_name_1; PyObject *tmp_expression_name_2; CHECK_OBJECT(par_self); tmp_expression_name_2 = par_self; tmp_expression_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[85]); if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 332; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[145]); Py_DECREF(tmp_expression_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 332; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert(var_std == NULL); var_std = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_expression_name_3; CHECK_OBJECT(par_module); tmp_isinstance_inst_1 = par_module; tmp_expression_name_3 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[33]); if (unlikely(tmp_expression_name_3 == NULL)) { tmp_expression_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]); } if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 333; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_isinstance_cls_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[76]); if (tmp_isinstance_cls_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 333; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_res = Nuitka_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1); Py_DECREF(tmp_isinstance_cls_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 333; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_called_name_1; PyObject *tmp_expression_name_4; PyObject *tmp_expression_name_5; PyObject *tmp_expression_name_6; PyObject *tmp_call_result_1; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; CHECK_OBJECT(par_module); tmp_expression_name_6 = par_module; tmp_expression_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[36]); if (tmp_expression_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 334; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[146]); Py_DECREF(tmp_expression_name_5); if (tmp_expression_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 334; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[147]); Py_DECREF(tmp_expression_name_4); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 334; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_dict_key_1 = mod_consts[42]; tmp_dict_value_1 = mod_consts[148]; tmp_kwargs_name_1 = _PyDict_NewPresized( 2 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[149]; CHECK_OBJECT(var_std); tmp_dict_value_1 = var_std; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); frame_09a61b81c452dbc8a34df4d6a59c7c55->m_frame.f_lineno = 334; tmp_call_result_1 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 334; type_description_1 = "ooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_name_7; if (par_module == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[150]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 335; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_7 = par_module; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[151]); if (tmp_compexpr_left_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 335; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = Py_None; tmp_condition_result_2 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? true : false; Py_DECREF(tmp_compexpr_left_1); if (tmp_condition_result_2 != false) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_called_instance_1; PyObject *tmp_expression_name_8; PyObject *tmp_expression_name_9; PyObject *tmp_call_result_2; if (par_module == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[150]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 336; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_9 = par_module; tmp_expression_name_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[151]); if (tmp_expression_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 336; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[146]); Py_DECREF(tmp_expression_name_8); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 336; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_09a61b81c452dbc8a34df4d6a59c7c55->m_frame.f_lineno = 336; tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[152]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 336; type_description_1 = "ooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_2); } branch_no_2:; goto branch_end_1; branch_no_1:; { nuitka_bool tmp_condition_result_3; PyObject *tmp_isinstance_inst_2; PyObject *tmp_isinstance_cls_2; PyObject *tmp_expression_name_10; CHECK_OBJECT(par_module); tmp_isinstance_inst_2 = par_module; tmp_expression_name_10 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[33]); if (unlikely(tmp_expression_name_10 == NULL)) { tmp_expression_name_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]); } if (tmp_expression_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 337; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_isinstance_cls_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[153]); if (tmp_isinstance_cls_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 337; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_res = Nuitka_IsInstance(tmp_isinstance_inst_2, tmp_isinstance_cls_2); Py_DECREF(tmp_isinstance_cls_2); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 337; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; { PyObject *tmp_called_name_2; PyObject *tmp_expression_name_11; PyObject *tmp_expression_name_12; PyObject *tmp_expression_name_13; PyObject *tmp_call_result_3; PyObject *tmp_kwargs_name_2; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; CHECK_OBJECT(par_module); tmp_expression_name_13 = par_module; tmp_expression_name_12 = LOOKUP_ATTRIBUTE(tmp_expression_name_13, mod_consts[36]); if (tmp_expression_name_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 338; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_11 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[146]); Py_DECREF(tmp_expression_name_12); if (tmp_expression_name_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 338; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[147]); Py_DECREF(tmp_expression_name_11); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 338; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_dict_key_2 = mod_consts[42]; tmp_dict_value_2 = mod_consts[148]; tmp_kwargs_name_2 = _PyDict_NewPresized( 2 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); assert(!(tmp_res != 0)); tmp_dict_key_2 = mod_consts[149]; CHECK_OBJECT(var_std); tmp_dict_value_2 = var_std; tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); assert(!(tmp_res != 0)); frame_09a61b81c452dbc8a34df4d6a59c7c55->m_frame.f_lineno = 338; tmp_call_result_3 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_2, tmp_kwargs_name_2); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_kwargs_name_2); if (tmp_call_result_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 338; type_description_1 = "ooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_3); } { bool tmp_condition_result_4; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_expression_name_14; if (par_module == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[150]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 339; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_14 = par_module; tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_14, mod_consts[154]); if (tmp_compexpr_left_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 339; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = Py_None; tmp_condition_result_4 = (tmp_compexpr_left_2 != tmp_compexpr_right_2) ? true : false; Py_DECREF(tmp_compexpr_left_2); if (tmp_condition_result_4 != false) { goto branch_yes_4; } else { goto branch_no_4; } } branch_yes_4:; { PyObject *tmp_called_instance_2; PyObject *tmp_expression_name_15; PyObject *tmp_expression_name_16; PyObject *tmp_expression_name_17; PyObject *tmp_subscript_name_1; PyObject *tmp_expression_name_18; PyObject *tmp_call_result_4; if (par_module == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[150]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 340; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_17 = par_module; tmp_expression_name_16 = LOOKUP_ATTRIBUTE(tmp_expression_name_17, mod_consts[36]); if (tmp_expression_name_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 340; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_15 = LOOKUP_ATTRIBUTE(tmp_expression_name_16, mod_consts[146]); Py_DECREF(tmp_expression_name_16); if (tmp_expression_name_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 340; type_description_1 = "ooo"; goto frame_exception_exit_1; } if (par_module == NULL) { Py_DECREF(tmp_expression_name_15); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[150]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 340; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_18 = par_module; tmp_subscript_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_18, mod_consts[154]); if (tmp_subscript_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_15); exception_lineno = 340; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = LOOKUP_SUBSCRIPT(tmp_expression_name_15, tmp_subscript_name_1); Py_DECREF(tmp_expression_name_15); Py_DECREF(tmp_subscript_name_1); if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 340; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_09a61b81c452dbc8a34df4d6a59c7c55->m_frame.f_lineno = 340; tmp_call_result_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[152]); Py_DECREF(tmp_called_instance_2); if (tmp_call_result_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 340; type_description_1 = "ooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_4); } branch_no_4:; branch_no_3:; branch_end_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_09a61b81c452dbc8a34df4d6a59c7c55); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_09a61b81c452dbc8a34df4d6a59c7c55); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_09a61b81c452dbc8a34df4d6a59c7c55, exception_lineno); } else if (exception_tb->tb_frame != &frame_09a61b81c452dbc8a34df4d6a59c7c55->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_09a61b81c452dbc8a34df4d6a59c7c55, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_09a61b81c452dbc8a34df4d6a59c7c55, type_description_1, par_self, par_module, var_std ); // Release cached frame if used for exception. if (frame_09a61b81c452dbc8a34df4d6a59c7c55 == cache_frame_09a61b81c452dbc8a34df4d6a59c7c55) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_09a61b81c452dbc8a34df4d6a59c7c55); cache_frame_09a61b81c452dbc8a34df4d6a59c7c55 = NULL; } assertFrameObject(frame_09a61b81c452dbc8a34df4d6a59c7c55); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_module); par_module = NULL; Py_XDECREF(var_std); var_std = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_module); par_module = NULL; Py_XDECREF(var_std); var_std = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__17__set_gradient_checkpointing(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_module = python_pars[1]; PyObject *par_value = python_pars[2]; struct Nuitka_FrameObject *frame_f437efa8710cbbb70af30b9d54241009; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_f437efa8710cbbb70af30b9d54241009 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_f437efa8710cbbb70af30b9d54241009)) { Py_XDECREF(cache_frame_f437efa8710cbbb70af30b9d54241009); #if _DEBUG_REFCOUNTS if (cache_frame_f437efa8710cbbb70af30b9d54241009 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_f437efa8710cbbb70af30b9d54241009 = MAKE_FUNCTION_FRAME(codeobj_f437efa8710cbbb70af30b9d54241009, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_f437efa8710cbbb70af30b9d54241009->m_type_description == NULL); frame_f437efa8710cbbb70af30b9d54241009 = cache_frame_f437efa8710cbbb70af30b9d54241009; // Push the new frame as the currently active one. pushFrameStack(frame_f437efa8710cbbb70af30b9d54241009); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_f437efa8710cbbb70af30b9d54241009) == 2); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; CHECK_OBJECT(par_module); tmp_isinstance_inst_1 = par_module; tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[155]); if (unlikely(tmp_isinstance_cls_1 == NULL)) { tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[155]); } if (tmp_isinstance_cls_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 343; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_res = Nuitka_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 343; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT(par_value); tmp_assattr_name_1 = par_value; CHECK_OBJECT(par_module); tmp_assattr_target_1 = par_module; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[156], tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 344; type_description_1 = "ooo"; goto frame_exception_exit_1; } } branch_no_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_f437efa8710cbbb70af30b9d54241009); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_f437efa8710cbbb70af30b9d54241009); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_f437efa8710cbbb70af30b9d54241009, exception_lineno); } else if (exception_tb->tb_frame != &frame_f437efa8710cbbb70af30b9d54241009->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_f437efa8710cbbb70af30b9d54241009, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_f437efa8710cbbb70af30b9d54241009, type_description_1, par_self, par_module, par_value ); // Release cached frame if used for exception. if (frame_f437efa8710cbbb70af30b9d54241009 == cache_frame_f437efa8710cbbb70af30b9d54241009) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_f437efa8710cbbb70af30b9d54241009); cache_frame_f437efa8710cbbb70af30b9d54241009 = NULL; } assertFrameObject(frame_f437efa8710cbbb70af30b9d54241009); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_module); Py_DECREF(par_module); par_module = NULL; CHECK_OBJECT(par_value); Py_DECREF(par_value); par_value = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_module); Py_DECREF(par_module); par_module = NULL; CHECK_OBJECT(par_value); Py_DECREF(par_value); par_value = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__18___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_config = python_pars[1]; PyObject *outline_0_var__ = NULL; PyObject *tmp_listcomp_1__$0 = NULL; PyObject *tmp_listcomp_1__contraction = NULL; PyObject *tmp_listcomp_1__iter_value_0 = NULL; struct Nuitka_FrameObject *frame_45248b6ce1a7d57704c8c737dc971859; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; struct Nuitka_FrameObject *frame_d7f72266184bbb812a9b7a6d2b672162_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; static struct Nuitka_FrameObject *cache_frame_d7f72266184bbb812a9b7a6d2b672162_2 = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; int tmp_res; static struct Nuitka_FrameObject *cache_frame_45248b6ce1a7d57704c8c737dc971859 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_45248b6ce1a7d57704c8c737dc971859)) { Py_XDECREF(cache_frame_45248b6ce1a7d57704c8c737dc971859); #if _DEBUG_REFCOUNTS if (cache_frame_45248b6ce1a7d57704c8c737dc971859 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_45248b6ce1a7d57704c8c737dc971859 = MAKE_FUNCTION_FRAME(codeobj_45248b6ce1a7d57704c8c737dc971859, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_45248b6ce1a7d57704c8c737dc971859->m_type_description == NULL); frame_45248b6ce1a7d57704c8c737dc971859 = cache_frame_45248b6ce1a7d57704c8c737dc971859; // Push the new frame as the currently active one. pushFrameStack(frame_45248b6ce1a7d57704c8c737dc971859); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_45248b6ce1a7d57704c8c737dc971859) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_1; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[31]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 424; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_type_arg_name_1 = Nuitka_Cell_GET(self->m_closure[0]); CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER0(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 424; type_description_1 = "ooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_config); tmp_args_element_name_1 = par_config; frame_45248b6ce1a7d57704c8c737dc971859->m_frame.f_lineno = 424; tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[32], tmp_args_element_name_1); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 424; type_description_1 = "ooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assattr_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_assattr_target_1; if (par_config == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 425; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_1 = par_config; tmp_assattr_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[157]); if (tmp_assattr_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 425; type_description_1 = "ooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[154], tmp_assattr_name_1); Py_DECREF(tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 425; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_expression_name_2; PyObject *tmp_assattr_target_2; if (par_config == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 426; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_2 = par_config; tmp_assattr_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[158]); if (tmp_assattr_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 426; type_description_1 = "ooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[158], tmp_assattr_name_2); Py_DECREF(tmp_assattr_name_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 426; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_3; PyObject *tmp_args_element_name_2; PyObject *tmp_expression_name_4; PyObject *tmp_args_element_name_3; PyObject *tmp_expression_name_5; PyObject *tmp_args_element_name_4; PyObject *tmp_expression_name_6; PyObject *tmp_assattr_target_3; tmp_expression_name_3 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[33]); if (unlikely(tmp_expression_name_3 == NULL)) { tmp_expression_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]); } if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 428; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[153]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 428; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_config == NULL) { Py_DECREF(tmp_called_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 428; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_4 = par_config; tmp_args_element_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[158]); if (tmp_args_element_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 428; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_config == NULL) { Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 428; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_5 = par_config; tmp_args_element_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[80]); if (tmp_args_element_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_2); exception_lineno = 428; type_description_1 = "ooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_expression_name_6 = par_self; tmp_args_element_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[154]); if (tmp_args_element_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_2); Py_DECREF(tmp_args_element_name_3); exception_lineno = 428; type_description_1 = "ooc"; goto frame_exception_exit_1; } frame_45248b6ce1a7d57704c8c737dc971859->m_frame.f_lineno = 428; { PyObject *call_args[] = {tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4}; tmp_assattr_name_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_1, call_args); } Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_2); Py_DECREF(tmp_args_element_name_3); Py_DECREF(tmp_args_element_name_4); if (tmp_assattr_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 428; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 428; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[159], tmp_assattr_name_3); Py_DECREF(tmp_assattr_name_3); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 428; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_7; PyObject *tmp_args_element_name_5; PyObject *tmp_assattr_target_4; tmp_expression_name_7 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[33]); if (unlikely(tmp_expression_name_7 == NULL)) { tmp_expression_name_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]); } if (tmp_expression_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 429; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[160]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 429; type_description_1 = "ooc"; goto frame_exception_exit_1; } // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_xrange_low_1; PyObject *tmp_expression_name_8; if (par_config == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 429; type_description_1 = "ooc"; goto try_except_handler_2; } tmp_expression_name_8 = par_config; tmp_xrange_low_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[161]); if (tmp_xrange_low_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 429; type_description_1 = "ooc"; goto try_except_handler_2; } tmp_iter_arg_1 = BUILTIN_XRANGE1(tmp_xrange_low_1); Py_DECREF(tmp_xrange_low_1); if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 429; type_description_1 = "ooc"; goto try_except_handler_2; } tmp_assign_source_1 = MAKE_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 429; type_description_1 = "ooc"; goto try_except_handler_2; } assert(tmp_listcomp_1__$0 == NULL); tmp_listcomp_1__$0 = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = PyList_New(0); assert(tmp_listcomp_1__contraction == NULL); tmp_listcomp_1__contraction = tmp_assign_source_2; } if (isFrameUnusable(cache_frame_d7f72266184bbb812a9b7a6d2b672162_2)) { Py_XDECREF(cache_frame_d7f72266184bbb812a9b7a6d2b672162_2); #if _DEBUG_REFCOUNTS if (cache_frame_d7f72266184bbb812a9b7a6d2b672162_2 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_d7f72266184bbb812a9b7a6d2b672162_2 = MAKE_FUNCTION_FRAME(codeobj_d7f72266184bbb812a9b7a6d2b672162, module_models$modeling_llama, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_d7f72266184bbb812a9b7a6d2b672162_2->m_type_description == NULL); frame_d7f72266184bbb812a9b7a6d2b672162_2 = cache_frame_d7f72266184bbb812a9b7a6d2b672162_2; // Push the new frame as the currently active one. pushFrameStack(frame_d7f72266184bbb812a9b7a6d2b672162_2); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_d7f72266184bbb812a9b7a6d2b672162_2) == 2); // Frame stack // Framed code: // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_3; CHECK_OBJECT(tmp_listcomp_1__$0); tmp_next_source_1 = tmp_listcomp_1__$0; tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_3 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_2 = "oo"; exception_lineno = 429; goto try_except_handler_3; } } { PyObject *old = tmp_listcomp_1__iter_value_0; tmp_listcomp_1__iter_value_0 = tmp_assign_source_3; Py_XDECREF(old); } } { PyObject *tmp_assign_source_4; CHECK_OBJECT(tmp_listcomp_1__iter_value_0); tmp_assign_source_4 = tmp_listcomp_1__iter_value_0; { PyObject *old = outline_0_var__; outline_0_var__ = tmp_assign_source_4; Py_INCREF(outline_0_var__); Py_XDECREF(old); } } { PyObject *tmp_append_list_1; PyObject *tmp_append_value_1; PyObject *tmp_called_name_3; PyObject *tmp_args_element_name_6; CHECK_OBJECT(tmp_listcomp_1__contraction); tmp_append_list_1 = tmp_listcomp_1__contraction; tmp_called_name_3 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[162]); if (unlikely(tmp_called_name_3 == NULL)) { tmp_called_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[162]); } if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 429; type_description_2 = "oo"; goto try_except_handler_3; } if (par_config == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 429; type_description_2 = "oo"; goto try_except_handler_3; } tmp_args_element_name_6 = par_config; frame_d7f72266184bbb812a9b7a6d2b672162_2->m_frame.f_lineno = 429; tmp_append_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_3, tmp_args_element_name_6); if (tmp_append_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 429; type_description_2 = "oo"; goto try_except_handler_3; } assert(PyList_Check(tmp_append_list_1)); tmp_result = LIST_APPEND1(tmp_append_list_1, tmp_append_value_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 429; type_description_2 = "oo"; goto try_except_handler_3; } } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 429; type_description_2 = "oo"; goto try_except_handler_3; } goto loop_start_1; loop_end_1:; CHECK_OBJECT(tmp_listcomp_1__contraction); tmp_args_element_name_5 = tmp_listcomp_1__contraction; Py_INCREF(tmp_args_element_name_5); goto try_return_handler_3; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_3:; Py_XDECREF(tmp_listcomp_1__$0); tmp_listcomp_1__$0 = NULL; CHECK_OBJECT(tmp_listcomp_1__contraction); Py_DECREF(tmp_listcomp_1__contraction); tmp_listcomp_1__contraction = NULL; Py_XDECREF(tmp_listcomp_1__iter_value_0); tmp_listcomp_1__iter_value_0 = NULL; goto frame_return_exit_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_listcomp_1__$0); tmp_listcomp_1__$0 = NULL; CHECK_OBJECT(tmp_listcomp_1__contraction); Py_DECREF(tmp_listcomp_1__contraction); tmp_listcomp_1__contraction = NULL; Py_XDECREF(tmp_listcomp_1__iter_value_0); tmp_listcomp_1__iter_value_0 = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_2; // End of try: #if 0 RESTORE_FRAME_EXCEPTION(frame_d7f72266184bbb812a9b7a6d2b672162_2); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_d7f72266184bbb812a9b7a6d2b672162_2); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_2; frame_exception_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION(frame_d7f72266184bbb812a9b7a6d2b672162_2); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_d7f72266184bbb812a9b7a6d2b672162_2, exception_lineno); } else if (exception_tb->tb_frame != &frame_d7f72266184bbb812a9b7a6d2b672162_2->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_d7f72266184bbb812a9b7a6d2b672162_2, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_d7f72266184bbb812a9b7a6d2b672162_2, type_description_2, outline_0_var__, par_config ); // Release cached frame if used for exception. if (frame_d7f72266184bbb812a9b7a6d2b672162_2 == cache_frame_d7f72266184bbb812a9b7a6d2b672162_2) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_d7f72266184bbb812a9b7a6d2b672162_2); cache_frame_d7f72266184bbb812a9b7a6d2b672162_2 = NULL; } assertFrameObject(frame_d7f72266184bbb812a9b7a6d2b672162_2); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; type_description_1 = "ooc"; goto try_except_handler_2; skip_nested_handling_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_2:; Py_XDECREF(outline_0_var__); outline_0_var__ = NULL; goto outline_result_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(outline_0_var__); outline_0_var__ = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto outline_exception_1; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_1:; exception_lineno = 429; goto frame_exception_exit_1; outline_result_1:; frame_45248b6ce1a7d57704c8c737dc971859->m_frame.f_lineno = 429; tmp_assattr_name_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, tmp_args_element_name_5); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_5); if (tmp_assattr_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 429; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 429; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[163], tmp_assattr_name_4); Py_DECREF(tmp_assattr_name_4); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 429; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_5; PyObject *tmp_called_name_4; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_expression_name_9; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_expression_name_10; PyObject *tmp_assattr_target_5; tmp_called_name_4 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[134]); if (unlikely(tmp_called_name_4 == NULL)) { tmp_called_name_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[134]); } if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 430; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_config == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 430; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_9 = par_config; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[80]); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 430; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_1, 0, tmp_tuple_element_1); tmp_dict_key_1 = mod_consts[135]; if (par_config == NULL) { Py_DECREF(tmp_args_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 430; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_10 = par_config; tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[136]); if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_args_name_1); exception_lineno = 430; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_kwargs_name_1 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); frame_45248b6ce1a7d57704c8c737dc971859->m_frame.f_lineno = 430; tmp_assattr_name_5 = CALL_FUNCTION(tmp_called_name_4, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assattr_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 430; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 430; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_assattr_target_5 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[164], tmp_assattr_name_5); Py_DECREF(tmp_assattr_name_5); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 430; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_6; PyObject *tmp_assattr_target_6; tmp_assattr_name_6 = Py_False; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 432; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_assattr_target_6 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[156], tmp_assattr_name_6); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 432; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_called_instance_2; PyObject *tmp_call_result_2; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 434; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_self; frame_45248b6ce1a7d57704c8c737dc971859->m_frame.f_lineno = 434; tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[165]); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 434; type_description_1 = "ooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_2); } #if 0 RESTORE_FRAME_EXCEPTION(frame_45248b6ce1a7d57704c8c737dc971859); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_45248b6ce1a7d57704c8c737dc971859); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_45248b6ce1a7d57704c8c737dc971859, exception_lineno); } else if (exception_tb->tb_frame != &frame_45248b6ce1a7d57704c8c737dc971859->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_45248b6ce1a7d57704c8c737dc971859, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_45248b6ce1a7d57704c8c737dc971859, type_description_1, par_self, par_config, self->m_closure[0] ); // Release cached frame if used for exception. if (frame_45248b6ce1a7d57704c8c737dc971859 == cache_frame_45248b6ce1a7d57704c8c737dc971859) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_45248b6ce1a7d57704c8c737dc971859); cache_frame_45248b6ce1a7d57704c8c737dc971859 = NULL; } assertFrameObject(frame_45248b6ce1a7d57704c8c737dc971859); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_2:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_config); par_config = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_config); par_config = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__19_get_input_embeddings(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; struct Nuitka_FrameObject *frame_6c282c8d6b8bf19a45998db55bce5931; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_6c282c8d6b8bf19a45998db55bce5931 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_6c282c8d6b8bf19a45998db55bce5931)) { Py_XDECREF(cache_frame_6c282c8d6b8bf19a45998db55bce5931); #if _DEBUG_REFCOUNTS if (cache_frame_6c282c8d6b8bf19a45998db55bce5931 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_6c282c8d6b8bf19a45998db55bce5931 = MAKE_FUNCTION_FRAME(codeobj_6c282c8d6b8bf19a45998db55bce5931, module_models$modeling_llama, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_6c282c8d6b8bf19a45998db55bce5931->m_type_description == NULL); frame_6c282c8d6b8bf19a45998db55bce5931 = cache_frame_6c282c8d6b8bf19a45998db55bce5931; // Push the new frame as the currently active one. pushFrameStack(frame_6c282c8d6b8bf19a45998db55bce5931); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_6c282c8d6b8bf19a45998db55bce5931) == 2); // Frame stack // Framed code: { PyObject *tmp_expression_name_1; CHECK_OBJECT(par_self); tmp_expression_name_1 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[159]); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 437; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_6c282c8d6b8bf19a45998db55bce5931); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_6c282c8d6b8bf19a45998db55bce5931); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_6c282c8d6b8bf19a45998db55bce5931); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_6c282c8d6b8bf19a45998db55bce5931, exception_lineno); } else if (exception_tb->tb_frame != &frame_6c282c8d6b8bf19a45998db55bce5931->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_6c282c8d6b8bf19a45998db55bce5931, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_6c282c8d6b8bf19a45998db55bce5931, type_description_1, par_self ); // Release cached frame if used for exception. if (frame_6c282c8d6b8bf19a45998db55bce5931 == cache_frame_6c282c8d6b8bf19a45998db55bce5931) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_6c282c8d6b8bf19a45998db55bce5931); cache_frame_6c282c8d6b8bf19a45998db55bce5931 = NULL; } assertFrameObject(frame_6c282c8d6b8bf19a45998db55bce5931); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__20_set_input_embeddings(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_value = python_pars[1]; struct Nuitka_FrameObject *frame_665c3f1cec895ee4f51349c0fd396d92; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; bool tmp_result; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_665c3f1cec895ee4f51349c0fd396d92 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_665c3f1cec895ee4f51349c0fd396d92)) { Py_XDECREF(cache_frame_665c3f1cec895ee4f51349c0fd396d92); #if _DEBUG_REFCOUNTS if (cache_frame_665c3f1cec895ee4f51349c0fd396d92 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_665c3f1cec895ee4f51349c0fd396d92 = MAKE_FUNCTION_FRAME(codeobj_665c3f1cec895ee4f51349c0fd396d92, module_models$modeling_llama, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_665c3f1cec895ee4f51349c0fd396d92->m_type_description == NULL); frame_665c3f1cec895ee4f51349c0fd396d92 = cache_frame_665c3f1cec895ee4f51349c0fd396d92; // Push the new frame as the currently active one. pushFrameStack(frame_665c3f1cec895ee4f51349c0fd396d92); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_665c3f1cec895ee4f51349c0fd396d92) == 2); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT(par_value); tmp_assattr_name_1 = par_value; CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[159], tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 440; type_description_1 = "oo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_665c3f1cec895ee4f51349c0fd396d92); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_665c3f1cec895ee4f51349c0fd396d92); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_665c3f1cec895ee4f51349c0fd396d92, exception_lineno); } else if (exception_tb->tb_frame != &frame_665c3f1cec895ee4f51349c0fd396d92->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_665c3f1cec895ee4f51349c0fd396d92, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_665c3f1cec895ee4f51349c0fd396d92, type_description_1, par_self, par_value ); // Release cached frame if used for exception. if (frame_665c3f1cec895ee4f51349c0fd396d92 == cache_frame_665c3f1cec895ee4f51349c0fd396d92) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_665c3f1cec895ee4f51349c0fd396d92); cache_frame_665c3f1cec895ee4f51349c0fd396d92 = NULL; } assertFrameObject(frame_665c3f1cec895ee4f51349c0fd396d92); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_value); Py_DECREF(par_value); par_value = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_value); Py_DECREF(par_value); par_value = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__21__prepare_decoder_attention_mask(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_attention_mask = python_pars[1]; PyObject *par_input_shape = python_pars[2]; PyObject *par_inputs_embeds = python_pars[3]; PyObject *par_past_key_values_length = python_pars[4]; PyObject *var_combined_attention_mask = NULL; PyObject *var_expanded_attn_mask = NULL; struct Nuitka_FrameObject *frame_7ec521dc71dd8971217328f7e27574e8; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_7ec521dc71dd8971217328f7e27574e8 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; assert(var_combined_attention_mask == NULL); Py_INCREF(tmp_assign_source_1); var_combined_attention_mask = tmp_assign_source_1; } // Tried code: if (isFrameUnusable(cache_frame_7ec521dc71dd8971217328f7e27574e8)) { Py_XDECREF(cache_frame_7ec521dc71dd8971217328f7e27574e8); #if _DEBUG_REFCOUNTS if (cache_frame_7ec521dc71dd8971217328f7e27574e8 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_7ec521dc71dd8971217328f7e27574e8 = MAKE_FUNCTION_FRAME(codeobj_7ec521dc71dd8971217328f7e27574e8, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_7ec521dc71dd8971217328f7e27574e8->m_type_description == NULL); frame_7ec521dc71dd8971217328f7e27574e8 = cache_frame_7ec521dc71dd8971217328f7e27574e8; // Push the new frame as the currently active one. pushFrameStack(frame_7ec521dc71dd8971217328f7e27574e8); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_7ec521dc71dd8971217328f7e27574e8) == 2); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_tmp_condition_result_1_object_1; int tmp_truth_name_1; CHECK_OBJECT(par_input_shape); tmp_expression_name_1 = par_input_shape; tmp_subscript_name_1 = mod_consts[66]; tmp_compexpr_left_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_1, tmp_subscript_name_1, -1); if (tmp_compexpr_left_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 447; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = mod_consts[12]; tmp_tmp_condition_result_1_object_1 = RICH_COMPARE_GT_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_1, tmp_compexpr_right_1); Py_DECREF(tmp_compexpr_left_1); if (tmp_tmp_condition_result_1_object_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 447; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE(tmp_tmp_condition_result_1_object_1); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_tmp_condition_result_1_object_1); exception_lineno = 447; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_tmp_condition_result_1_object_1); if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_expression_name_3; tmp_called_name_1 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[166]); if (unlikely(tmp_called_name_1 == NULL)) { tmp_called_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[166]); } if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 448; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_input_shape); tmp_tuple_element_1 = par_input_shape; tmp_args_name_1 = PyTuple_New(2); { PyObject *tmp_expression_name_2; PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_1); CHECK_OBJECT(par_inputs_embeds); tmp_expression_name_2 = par_inputs_embeds; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[16]); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 450; type_description_1 = "ooooooo"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_args_name_1, 1, tmp_tuple_element_1); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_args_name_1); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_dict_key_1 = mod_consts[6]; if (par_inputs_embeds == NULL) { Py_DECREF(tmp_args_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[167]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 451; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_expression_name_3 = par_inputs_embeds; tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[6]); if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_args_name_1); exception_lineno = 451; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_kwargs_name_1 = _PyDict_NewPresized( 2 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[23]; CHECK_OBJECT(par_past_key_values_length); tmp_dict_value_1 = par_past_key_values_length; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); frame_7ec521dc71dd8971217328f7e27574e8->m_frame.f_lineno = 448; tmp_assign_source_2 = CALL_FUNCTION(tmp_called_name_1, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 448; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_combined_attention_mask; assert(old != NULL); var_combined_attention_mask = tmp_assign_source_2; Py_DECREF(old); } } branch_no_1:; { bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT(par_attention_mask); tmp_compexpr_left_2 = par_attention_mask; tmp_compexpr_right_2 = Py_None; tmp_condition_result_2 = (tmp_compexpr_left_2 != tmp_compexpr_right_2) ? true : false; if (tmp_condition_result_2 != false) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_4; PyObject *tmp_called_name_3; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_2; PyObject *tmp_kwargs_name_2; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; PyObject *tmp_expression_name_6; PyObject *tmp_subscript_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_expression_name_7; tmp_called_name_3 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[168]); if (unlikely(tmp_called_name_3 == NULL)) { tmp_called_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[168]); } if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 457; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_attention_mask); tmp_tuple_element_2 = par_attention_mask; tmp_args_name_2 = PyTuple_New(2); { PyObject *tmp_expression_name_5; PyTuple_SET_ITEM0(tmp_args_name_2, 0, tmp_tuple_element_2); if (par_inputs_embeds == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[167]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 457; type_description_1 = "ooooooo"; goto tuple_build_exception_2; } tmp_expression_name_5 = par_inputs_embeds; tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[16]); if (tmp_tuple_element_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 457; type_description_1 = "ooooooo"; goto tuple_build_exception_2; } PyTuple_SET_ITEM(tmp_args_name_2, 1, tmp_tuple_element_2); } goto tuple_build_noexception_2; // Exception handling pass through code for tuple_build: tuple_build_exception_2:; Py_DECREF(tmp_args_name_2); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_2:; tmp_dict_key_2 = mod_consts[19]; CHECK_OBJECT(par_input_shape); tmp_expression_name_6 = par_input_shape; tmp_subscript_name_2 = mod_consts[66]; tmp_dict_value_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_6, tmp_subscript_name_2, -1); if (tmp_dict_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_args_name_2); exception_lineno = 457; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_kwargs_name_2 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); Py_DECREF(tmp_dict_value_2); assert(!(tmp_res != 0)); frame_7ec521dc71dd8971217328f7e27574e8->m_frame.f_lineno = 457; tmp_expression_name_4 = CALL_FUNCTION(tmp_called_name_3, tmp_args_name_2, tmp_kwargs_name_2); Py_DECREF(tmp_args_name_2); Py_DECREF(tmp_kwargs_name_2); if (tmp_expression_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 457; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[15]); Py_DECREF(tmp_expression_name_4); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 457; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if (par_inputs_embeds == NULL) { Py_DECREF(tmp_called_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[167]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 458; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_expression_name_7 = par_inputs_embeds; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[6]); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 458; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } frame_7ec521dc71dd8971217328f7e27574e8->m_frame.f_lineno = 457; tmp_assign_source_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, tmp_args_element_name_1); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_1); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 457; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert(var_expanded_attn_mask == NULL); var_expanded_attn_mask = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; bool tmp_condition_result_3; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; CHECK_OBJECT(var_combined_attention_mask); tmp_compexpr_left_3 = var_combined_attention_mask; tmp_compexpr_right_3 = Py_None; tmp_condition_result_3 = (tmp_compexpr_left_3 == tmp_compexpr_right_3) ? true : false; if (tmp_condition_result_3 != false) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; CHECK_OBJECT(var_expanded_attn_mask); tmp_assign_source_4 = var_expanded_attn_mask; Py_INCREF(tmp_assign_source_4); goto condexpr_end_1; condexpr_false_1:; CHECK_OBJECT(var_expanded_attn_mask); tmp_left_name_1 = var_expanded_attn_mask; CHECK_OBJECT(var_combined_attention_mask); tmp_right_name_1 = var_combined_attention_mask; tmp_assign_source_4 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_1, tmp_right_name_1); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 461; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } condexpr_end_1:; { PyObject *old = var_combined_attention_mask; var_combined_attention_mask = tmp_assign_source_4; Py_XDECREF(old); } } branch_no_2:; if (var_combined_attention_mask == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[169]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 464; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_combined_attention_mask; Py_INCREF(tmp_return_value); goto frame_return_exit_1; #if 0 RESTORE_FRAME_EXCEPTION(frame_7ec521dc71dd8971217328f7e27574e8); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_7ec521dc71dd8971217328f7e27574e8); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_7ec521dc71dd8971217328f7e27574e8); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_7ec521dc71dd8971217328f7e27574e8, exception_lineno); } else if (exception_tb->tb_frame != &frame_7ec521dc71dd8971217328f7e27574e8->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_7ec521dc71dd8971217328f7e27574e8, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_7ec521dc71dd8971217328f7e27574e8, type_description_1, par_self, par_attention_mask, par_input_shape, par_inputs_embeds, par_past_key_values_length, var_combined_attention_mask, var_expanded_attn_mask ); // Release cached frame if used for exception. if (frame_7ec521dc71dd8971217328f7e27574e8 == cache_frame_7ec521dc71dd8971217328f7e27574e8) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_7ec521dc71dd8971217328f7e27574e8); cache_frame_7ec521dc71dd8971217328f7e27574e8 = NULL; } assertFrameObject(frame_7ec521dc71dd8971217328f7e27574e8); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_attention_mask); Py_DECREF(par_attention_mask); par_attention_mask = NULL; CHECK_OBJECT(par_input_shape); Py_DECREF(par_input_shape); par_input_shape = NULL; Py_XDECREF(par_inputs_embeds); par_inputs_embeds = NULL; CHECK_OBJECT(par_past_key_values_length); Py_DECREF(par_past_key_values_length); par_past_key_values_length = NULL; Py_XDECREF(var_combined_attention_mask); var_combined_attention_mask = NULL; Py_XDECREF(var_expanded_attn_mask); var_expanded_attn_mask = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_attention_mask); Py_DECREF(par_attention_mask); par_attention_mask = NULL; CHECK_OBJECT(par_input_shape); Py_DECREF(par_input_shape); par_input_shape = NULL; Py_XDECREF(par_inputs_embeds); par_inputs_embeds = NULL; CHECK_OBJECT(par_past_key_values_length); Py_DECREF(par_past_key_values_length); par_past_key_values_length = NULL; Py_XDECREF(var_combined_attention_mask); var_combined_attention_mask = NULL; Py_XDECREF(var_expanded_attn_mask); var_expanded_attn_mask = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__22_forward(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_input_ids = python_pars[1]; PyObject *par_attention_mask = python_pars[2]; PyObject *par_position_ids = python_pars[3]; PyObject *par_past_key_values = python_pars[4]; PyObject *par_inputs_embeds = python_pars[5]; PyObject *par_query_embeds = python_pars[6]; PyObject *par_use_cache = python_pars[7]; struct Nuitka_CellObject *par_output_attentions = Nuitka_Cell_New1(python_pars[8]); PyObject *par_output_hidden_states = python_pars[9]; PyObject *par_return_dict = python_pars[10]; PyObject *var_batch_size = NULL; PyObject *var_seq_length = NULL; PyObject *var__ = NULL; PyObject *var_seq_length_with_past = NULL; PyObject *var_past_key_values_length = NULL; PyObject *var_device = NULL; PyObject *var_hidden_states = NULL; PyObject *var_all_hidden_states = NULL; PyObject *var_all_self_attns = NULL; PyObject *var_next_decoder_cache = NULL; PyObject *var_idx = NULL; PyObject *var_decoder_layer = NULL; PyObject *var_past_key_value = NULL; PyObject *var_create_custom_forward = NULL; PyObject *var_layer_outputs = NULL; PyObject *var_next_cache = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_genexpr_1__$0 = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; PyObject *tmp_tuple_unpack_2__element_1 = NULL; PyObject *tmp_tuple_unpack_2__element_2 = NULL; PyObject *tmp_tuple_unpack_2__element_3 = NULL; PyObject *tmp_tuple_unpack_2__source_iter = NULL; PyObject *tmp_tuple_unpack_3__element_1 = NULL; PyObject *tmp_tuple_unpack_3__element_2 = NULL; PyObject *tmp_tuple_unpack_3__element_3 = NULL; PyObject *tmp_tuple_unpack_3__source_iter = NULL; PyObject *tmp_tuple_unpack_4__element_1 = NULL; PyObject *tmp_tuple_unpack_4__element_2 = NULL; PyObject *tmp_tuple_unpack_4__source_iter = NULL; struct Nuitka_FrameObject *frame_f85cccd268d3146046e93cf36289e67a; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; int tmp_res; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; bool tmp_result; PyObject *exception_keeper_type_9; PyObject *exception_keeper_value_9; PyTracebackObject *exception_keeper_tb_9; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_f85cccd268d3146046e93cf36289e67a = NULL; PyObject *exception_keeper_type_10; PyObject *exception_keeper_value_10; PyTracebackObject *exception_keeper_tb_10; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_f85cccd268d3146046e93cf36289e67a)) { Py_XDECREF(cache_frame_f85cccd268d3146046e93cf36289e67a); #if _DEBUG_REFCOUNTS if (cache_frame_f85cccd268d3146046e93cf36289e67a == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_f85cccd268d3146046e93cf36289e67a = MAKE_FUNCTION_FRAME(codeobj_f85cccd268d3146046e93cf36289e67a, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_f85cccd268d3146046e93cf36289e67a->m_type_description == NULL); frame_f85cccd268d3146046e93cf36289e67a = cache_frame_f85cccd268d3146046e93cf36289e67a; // Push the new frame as the currently active one. pushFrameStack(frame_f85cccd268d3146046e93cf36289e67a); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_f85cccd268d3146046e93cf36289e67a) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_name_1; PyObject *tmp_expression_name_2; CHECK_OBJECT(Nuitka_Cell_GET(par_output_attentions)); tmp_compexpr_left_1 = Nuitka_Cell_GET(par_output_attentions); tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? true : false; if (tmp_condition_result_1 != false) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; if (Nuitka_Cell_GET(par_output_attentions) == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[141]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 480; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_1 = Nuitka_Cell_GET(par_output_attentions); Py_INCREF(tmp_assign_source_1); goto condexpr_end_1; condexpr_false_1:; CHECK_OBJECT(par_self); tmp_expression_name_2 = par_self; tmp_expression_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[85]); if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 480; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[141]); Py_DECREF(tmp_expression_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 480; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } condexpr_end_1:; { PyObject *old = Nuitka_Cell_GET(par_output_attentions); PyCell_SET(par_output_attentions, tmp_assign_source_1); Py_XDECREF(old); } } { PyObject *tmp_assign_source_2; bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_expression_name_3; PyObject *tmp_expression_name_4; CHECK_OBJECT(par_output_hidden_states); tmp_compexpr_left_2 = par_output_hidden_states; tmp_compexpr_right_2 = Py_None; tmp_condition_result_2 = (tmp_compexpr_left_2 != tmp_compexpr_right_2) ? true : false; if (tmp_condition_result_2 != false) { goto condexpr_true_2; } else { goto condexpr_false_2; } condexpr_true_2:; CHECK_OBJECT(par_output_hidden_states); tmp_assign_source_2 = par_output_hidden_states; Py_INCREF(tmp_assign_source_2); goto condexpr_end_2; condexpr_false_2:; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 482; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_4 = par_self; tmp_expression_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[85]); if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 482; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[170]); Py_DECREF(tmp_expression_name_3); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 482; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } condexpr_end_2:; { PyObject *old = par_output_hidden_states; assert(old != NULL); par_output_hidden_states = tmp_assign_source_2; Py_DECREF(old); } } { PyObject *tmp_assign_source_3; bool tmp_condition_result_3; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_expression_name_5; PyObject *tmp_expression_name_6; CHECK_OBJECT(par_use_cache); tmp_compexpr_left_3 = par_use_cache; tmp_compexpr_right_3 = Py_None; tmp_condition_result_3 = (tmp_compexpr_left_3 != tmp_compexpr_right_3) ? true : false; if (tmp_condition_result_3 != false) { goto condexpr_true_3; } else { goto condexpr_false_3; } condexpr_true_3:; CHECK_OBJECT(par_use_cache); tmp_assign_source_3 = par_use_cache; Py_INCREF(tmp_assign_source_3); goto condexpr_end_3; condexpr_false_3:; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 484; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_6 = par_self; tmp_expression_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[85]); if (tmp_expression_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 484; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[142]); Py_DECREF(tmp_expression_name_5); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 484; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } condexpr_end_3:; { PyObject *old = par_use_cache; assert(old != NULL); par_use_cache = tmp_assign_source_3; Py_DECREF(old); } } { PyObject *tmp_assign_source_4; bool tmp_condition_result_4; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_expression_name_7; PyObject *tmp_expression_name_8; CHECK_OBJECT(par_return_dict); tmp_compexpr_left_4 = par_return_dict; tmp_compexpr_right_4 = Py_None; tmp_condition_result_4 = (tmp_compexpr_left_4 != tmp_compexpr_right_4) ? true : false; if (tmp_condition_result_4 != false) { goto condexpr_true_4; } else { goto condexpr_false_4; } condexpr_true_4:; CHECK_OBJECT(par_return_dict); tmp_assign_source_4 = par_return_dict; Py_INCREF(tmp_assign_source_4); goto condexpr_end_4; condexpr_false_4:; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 486; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_8 = par_self; tmp_expression_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[85]); if (tmp_expression_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 486; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[171]); Py_DECREF(tmp_expression_name_7); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 486; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } condexpr_end_4:; { PyObject *old = par_return_dict; assert(old != NULL); par_return_dict = tmp_assign_source_4; Py_DECREF(old); } } { bool tmp_condition_result_5; int tmp_and_left_truth_1; bool tmp_and_left_value_1; bool tmp_and_right_value_1; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; CHECK_OBJECT(par_input_ids); tmp_compexpr_left_5 = par_input_ids; tmp_compexpr_right_5 = Py_None; tmp_and_left_value_1 = (tmp_compexpr_left_5 != tmp_compexpr_right_5) ? true : false; tmp_and_left_truth_1 = tmp_and_left_value_1 != false ? 1 : 0; if (tmp_and_left_truth_1 == 1) { goto and_right_1; } else { goto and_left_1; } and_right_1:; CHECK_OBJECT(par_inputs_embeds); tmp_compexpr_left_6 = par_inputs_embeds; tmp_compexpr_right_6 = Py_None; tmp_and_right_value_1 = (tmp_compexpr_left_6 != tmp_compexpr_right_6) ? true : false; tmp_condition_result_5 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_5 = tmp_and_left_value_1; and_end_1:; if (tmp_condition_result_5 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = mod_consts[172]; frame_f85cccd268d3146046e93cf36289e67a->m_frame.f_lineno = 490; tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1); assert(!(tmp_raise_type_1 == NULL)); exception_type = tmp_raise_type_1; exception_lineno = 490; RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } goto branch_end_1; branch_no_1:; { bool tmp_condition_result_6; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; CHECK_OBJECT(par_input_ids); tmp_compexpr_left_7 = par_input_ids; tmp_compexpr_right_7 = Py_None; tmp_condition_result_6 = (tmp_compexpr_left_7 != tmp_compexpr_right_7) ? true : false; if (tmp_condition_result_6 != false) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; // Tried code: { PyObject *tmp_assign_source_5; PyObject *tmp_iter_arg_1; PyObject *tmp_expression_name_9; CHECK_OBJECT(par_input_ids); tmp_expression_name_9 = par_input_ids; tmp_iter_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[65]); if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 492; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_2; } tmp_assign_source_5 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 492; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_2; } assert(tmp_tuple_unpack_1__source_iter == NULL); tmp_tuple_unpack_1__source_iter = tmp_assign_source_5; } // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_1, 0, 2); if (tmp_assign_source_6 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooocoooooooooooooooooo"; exception_lineno = 492; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_1 == NULL); tmp_tuple_unpack_1__element_1 = tmp_assign_source_6; } { PyObject *tmp_assign_source_7; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_7 = UNPACK_NEXT(tmp_unpack_2, 1, 2); if (tmp_assign_source_7 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooocoooooooooooooooooo"; exception_lineno = 492; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_2 == NULL); tmp_tuple_unpack_1__element_2 = tmp_assign_source_7; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooocoooooooooooooooooo"; exception_lineno = 492; goto try_except_handler_3; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[0]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooooooocoooooooooooooooooo"; exception_lineno = 492; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_8; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_8 = tmp_tuple_unpack_1__element_1; assert(var_batch_size == NULL); Py_INCREF(tmp_assign_source_8); var_batch_size = tmp_assign_source_8; } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_9; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_9 = tmp_tuple_unpack_1__element_2; assert(var_seq_length == NULL); Py_INCREF(tmp_assign_source_9); var_seq_length = tmp_assign_source_9; } Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; goto branch_end_2; branch_no_2:; { bool tmp_condition_result_7; PyObject *tmp_compexpr_left_8; PyObject *tmp_compexpr_right_8; CHECK_OBJECT(par_inputs_embeds); tmp_compexpr_left_8 = par_inputs_embeds; tmp_compexpr_right_8 = Py_None; tmp_condition_result_7 = (tmp_compexpr_left_8 != tmp_compexpr_right_8) ? true : false; if (tmp_condition_result_7 != false) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; // Tried code: { PyObject *tmp_assign_source_10; PyObject *tmp_iter_arg_2; PyObject *tmp_expression_name_10; CHECK_OBJECT(par_inputs_embeds); tmp_expression_name_10 = par_inputs_embeds; tmp_iter_arg_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[65]); if (tmp_iter_arg_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 494; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_4; } tmp_assign_source_10 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2); Py_DECREF(tmp_iter_arg_2); if (tmp_assign_source_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 494; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_4; } assert(tmp_tuple_unpack_2__source_iter == NULL); tmp_tuple_unpack_2__source_iter = tmp_assign_source_10; } // Tried code: { PyObject *tmp_assign_source_11; PyObject *tmp_unpack_3; CHECK_OBJECT(tmp_tuple_unpack_2__source_iter); tmp_unpack_3 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_11 = UNPACK_NEXT(tmp_unpack_3, 0, 3); if (tmp_assign_source_11 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooocoooooooooooooooooo"; exception_lineno = 494; goto try_except_handler_5; } assert(tmp_tuple_unpack_2__element_1 == NULL); tmp_tuple_unpack_2__element_1 = tmp_assign_source_11; } { PyObject *tmp_assign_source_12; PyObject *tmp_unpack_4; CHECK_OBJECT(tmp_tuple_unpack_2__source_iter); tmp_unpack_4 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_12 = UNPACK_NEXT(tmp_unpack_4, 1, 3); if (tmp_assign_source_12 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooocoooooooooooooooooo"; exception_lineno = 494; goto try_except_handler_5; } assert(tmp_tuple_unpack_2__element_2 == NULL); tmp_tuple_unpack_2__element_2 = tmp_assign_source_12; } { PyObject *tmp_assign_source_13; PyObject *tmp_unpack_5; CHECK_OBJECT(tmp_tuple_unpack_2__source_iter); tmp_unpack_5 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_13 = UNPACK_NEXT(tmp_unpack_5, 2, 3); if (tmp_assign_source_13 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooocoooooooooooooooooo"; exception_lineno = 494; goto try_except_handler_5; } assert(tmp_tuple_unpack_2__element_3 == NULL); tmp_tuple_unpack_2__element_3 = tmp_assign_source_13; } { PyObject *tmp_iterator_name_2; CHECK_OBJECT(tmp_tuple_unpack_2__source_iter); tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_2); assert(HAS_ITERNEXT(tmp_iterator_name_2)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_2)->tp_iternext)(tmp_iterator_name_2); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooocoooooooooooooooooo"; exception_lineno = 494; goto try_except_handler_5; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[103]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooooooocoooooooooooooooooo"; exception_lineno = 494; goto try_except_handler_5; } } goto try_end_3; // Exception handler code: try_except_handler_5:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_2__source_iter); tmp_tuple_unpack_2__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_4; // End of try: try_end_3:; goto try_end_4; // Exception handler code: try_except_handler_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_2__element_1); tmp_tuple_unpack_2__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_2__element_2); tmp_tuple_unpack_2__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_2__element_3); tmp_tuple_unpack_2__element_3 = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; // End of try: try_end_4:; Py_XDECREF(tmp_tuple_unpack_2__source_iter); tmp_tuple_unpack_2__source_iter = NULL; { PyObject *tmp_assign_source_14; CHECK_OBJECT(tmp_tuple_unpack_2__element_1); tmp_assign_source_14 = tmp_tuple_unpack_2__element_1; assert(var_batch_size == NULL); Py_INCREF(tmp_assign_source_14); var_batch_size = tmp_assign_source_14; } Py_XDECREF(tmp_tuple_unpack_2__element_1); tmp_tuple_unpack_2__element_1 = NULL; { PyObject *tmp_assign_source_15; CHECK_OBJECT(tmp_tuple_unpack_2__element_2); tmp_assign_source_15 = tmp_tuple_unpack_2__element_2; assert(var_seq_length == NULL); Py_INCREF(tmp_assign_source_15); var_seq_length = tmp_assign_source_15; } Py_XDECREF(tmp_tuple_unpack_2__element_2); tmp_tuple_unpack_2__element_2 = NULL; { PyObject *tmp_assign_source_16; CHECK_OBJECT(tmp_tuple_unpack_2__element_3); tmp_assign_source_16 = tmp_tuple_unpack_2__element_3; assert(var__ == NULL); Py_INCREF(tmp_assign_source_16); var__ = tmp_assign_source_16; } Py_XDECREF(tmp_tuple_unpack_2__element_3); tmp_tuple_unpack_2__element_3 = NULL; Py_XDECREF(tmp_tuple_unpack_2__element_1); tmp_tuple_unpack_2__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_2__element_2); tmp_tuple_unpack_2__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_2__element_3); tmp_tuple_unpack_2__element_3 = NULL; goto branch_end_3; branch_no_3:; { PyObject *tmp_raise_type_2; PyObject *tmp_make_exception_arg_2; tmp_make_exception_arg_2 = mod_consts[173]; frame_f85cccd268d3146046e93cf36289e67a->m_frame.f_lineno = 496; tmp_raise_type_2 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_2); assert(!(tmp_raise_type_2 == NULL)); exception_type = tmp_raise_type_2; exception_lineno = 496; RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } branch_end_3:; branch_end_2:; branch_end_1:; { bool tmp_condition_result_8; PyObject *tmp_compexpr_left_9; PyObject *tmp_compexpr_right_9; if (par_inputs_embeds == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[167]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 498; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_9 = par_inputs_embeds; tmp_compexpr_right_9 = Py_None; tmp_condition_result_8 = (tmp_compexpr_left_9 == tmp_compexpr_right_9) ? true : false; if (tmp_condition_result_8 != false) { goto branch_yes_4; } else { goto branch_no_4; } } branch_yes_4:; { PyObject *tmp_assign_source_17; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_11; PyObject *tmp_args_element_name_1; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 499; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_11 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[159]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 499; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } if (par_input_ids == NULL) { Py_DECREF(tmp_called_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[174]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 499; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_input_ids; frame_f85cccd268d3146046e93cf36289e67a->m_frame.f_lineno = 499; tmp_assign_source_17 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); Py_DECREF(tmp_called_name_1); if (tmp_assign_source_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 499; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_inputs_embeds; par_inputs_embeds = tmp_assign_source_17; Py_XDECREF(old); } } branch_no_4:; { bool tmp_condition_result_9; PyObject *tmp_compexpr_left_10; PyObject *tmp_compexpr_right_10; CHECK_OBJECT(par_query_embeds); tmp_compexpr_left_10 = par_query_embeds; tmp_compexpr_right_10 = Py_None; tmp_condition_result_9 = (tmp_compexpr_left_10 != tmp_compexpr_right_10) ? true : false; if (tmp_condition_result_9 != false) { goto branch_yes_5; } else { goto branch_no_5; } } branch_yes_5:; { PyObject *tmp_assign_source_18; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_12; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_list_element_1; PyObject *tmp_kwargs_name_1; tmp_expression_name_12 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_12 == NULL)) { tmp_expression_name_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 501; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[17]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 501; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_query_embeds); tmp_list_element_1 = par_query_embeds; tmp_tuple_element_1 = PyList_New(2); PyList_SET_ITEM0(tmp_tuple_element_1, 0, tmp_list_element_1); if (par_inputs_embeds == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[167]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 501; type_description_1 = "oooooooocoooooooooooooooooo"; goto list_build_exception_1; } tmp_list_element_1 = par_inputs_embeds; PyList_SET_ITEM0(tmp_tuple_element_1, 1, tmp_list_element_1); goto list_build_noexception_1; // Exception handling pass through code for list_build: list_build_exception_1:; Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_tuple_element_1); goto frame_exception_exit_1; // Finished with no exception for list_build: list_build_noexception_1:; tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_1, 0, tmp_tuple_element_1); tmp_kwargs_name_1 = PyDict_Copy(mod_consts[175]); frame_f85cccd268d3146046e93cf36289e67a->m_frame.f_lineno = 501; tmp_assign_source_18 = CALL_FUNCTION(tmp_called_name_2, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assign_source_18 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 501; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_inputs_embeds; par_inputs_embeds = tmp_assign_source_18; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_19; PyObject *tmp_iter_arg_3; PyObject *tmp_expression_name_13; CHECK_OBJECT(par_inputs_embeds); tmp_expression_name_13 = par_inputs_embeds; tmp_iter_arg_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_13, mod_consts[65]); if (tmp_iter_arg_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 502; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_6; } tmp_assign_source_19 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_3); Py_DECREF(tmp_iter_arg_3); if (tmp_assign_source_19 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 502; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_6; } assert(tmp_tuple_unpack_3__source_iter == NULL); tmp_tuple_unpack_3__source_iter = tmp_assign_source_19; } // Tried code: { PyObject *tmp_assign_source_20; PyObject *tmp_unpack_6; CHECK_OBJECT(tmp_tuple_unpack_3__source_iter); tmp_unpack_6 = tmp_tuple_unpack_3__source_iter; tmp_assign_source_20 = UNPACK_NEXT(tmp_unpack_6, 0, 3); if (tmp_assign_source_20 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooocoooooooooooooooooo"; exception_lineno = 502; goto try_except_handler_7; } assert(tmp_tuple_unpack_3__element_1 == NULL); tmp_tuple_unpack_3__element_1 = tmp_assign_source_20; } { PyObject *tmp_assign_source_21; PyObject *tmp_unpack_7; CHECK_OBJECT(tmp_tuple_unpack_3__source_iter); tmp_unpack_7 = tmp_tuple_unpack_3__source_iter; tmp_assign_source_21 = UNPACK_NEXT(tmp_unpack_7, 1, 3); if (tmp_assign_source_21 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooocoooooooooooooooooo"; exception_lineno = 502; goto try_except_handler_7; } assert(tmp_tuple_unpack_3__element_2 == NULL); tmp_tuple_unpack_3__element_2 = tmp_assign_source_21; } { PyObject *tmp_assign_source_22; PyObject *tmp_unpack_8; CHECK_OBJECT(tmp_tuple_unpack_3__source_iter); tmp_unpack_8 = tmp_tuple_unpack_3__source_iter; tmp_assign_source_22 = UNPACK_NEXT(tmp_unpack_8, 2, 3); if (tmp_assign_source_22 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooocoooooooooooooooooo"; exception_lineno = 502; goto try_except_handler_7; } assert(tmp_tuple_unpack_3__element_3 == NULL); tmp_tuple_unpack_3__element_3 = tmp_assign_source_22; } { PyObject *tmp_iterator_name_3; CHECK_OBJECT(tmp_tuple_unpack_3__source_iter); tmp_iterator_name_3 = tmp_tuple_unpack_3__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_3); assert(HAS_ITERNEXT(tmp_iterator_name_3)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_3)->tp_iternext)(tmp_iterator_name_3); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooocoooooooooooooooooo"; exception_lineno = 502; goto try_except_handler_7; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[103]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooooooocoooooooooooooooooo"; exception_lineno = 502; goto try_except_handler_7; } } goto try_end_5; // Exception handler code: try_except_handler_7:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_3__source_iter); tmp_tuple_unpack_3__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto try_except_handler_6; // End of try: try_end_5:; goto try_end_6; // Exception handler code: try_except_handler_6:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_3__element_1); tmp_tuple_unpack_3__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_3__element_2); tmp_tuple_unpack_3__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_3__element_3); tmp_tuple_unpack_3__element_3 = NULL; // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto frame_exception_exit_1; // End of try: try_end_6:; Py_XDECREF(tmp_tuple_unpack_3__source_iter); tmp_tuple_unpack_3__source_iter = NULL; { PyObject *tmp_assign_source_23; CHECK_OBJECT(tmp_tuple_unpack_3__element_1); tmp_assign_source_23 = tmp_tuple_unpack_3__element_1; { PyObject *old = var_batch_size; var_batch_size = tmp_assign_source_23; Py_INCREF(var_batch_size); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_3__element_1); tmp_tuple_unpack_3__element_1 = NULL; { PyObject *tmp_assign_source_24; CHECK_OBJECT(tmp_tuple_unpack_3__element_2); tmp_assign_source_24 = tmp_tuple_unpack_3__element_2; { PyObject *old = var_seq_length; var_seq_length = tmp_assign_source_24; Py_INCREF(var_seq_length); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_3__element_2); tmp_tuple_unpack_3__element_2 = NULL; { PyObject *tmp_assign_source_25; CHECK_OBJECT(tmp_tuple_unpack_3__element_3); tmp_assign_source_25 = tmp_tuple_unpack_3__element_3; { PyObject *old = var__; var__ = tmp_assign_source_25; Py_INCREF(var__); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_3__element_3); tmp_tuple_unpack_3__element_3 = NULL; Py_XDECREF(tmp_tuple_unpack_3__element_1); tmp_tuple_unpack_3__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_3__element_2); tmp_tuple_unpack_3__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_3__element_3); tmp_tuple_unpack_3__element_3 = NULL; branch_no_5:; { PyObject *tmp_assign_source_26; if (var_seq_length == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[176]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 504; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_26 = var_seq_length; assert(var_seq_length_with_past == NULL); Py_INCREF(tmp_assign_source_26); var_seq_length_with_past = tmp_assign_source_26; } { PyObject *tmp_assign_source_27; tmp_assign_source_27 = mod_consts[14]; assert(var_past_key_values_length == NULL); Py_INCREF(tmp_assign_source_27); var_past_key_values_length = tmp_assign_source_27; } { bool tmp_condition_result_10; PyObject *tmp_compexpr_left_11; PyObject *tmp_compexpr_right_11; CHECK_OBJECT(par_past_key_values); tmp_compexpr_left_11 = par_past_key_values; tmp_compexpr_right_11 = Py_None; tmp_condition_result_10 = (tmp_compexpr_left_11 != tmp_compexpr_right_11) ? true : false; if (tmp_condition_result_10 != false) { goto branch_yes_6; } else { goto branch_no_6; } } branch_yes_6:; { PyObject *tmp_assign_source_28; PyObject *tmp_expression_name_14; PyObject *tmp_expression_name_15; PyObject *tmp_expression_name_16; PyObject *tmp_expression_name_17; PyObject *tmp_subscript_name_1; PyObject *tmp_subscript_name_2; PyObject *tmp_subscript_name_3; CHECK_OBJECT(par_past_key_values); tmp_expression_name_17 = par_past_key_values; tmp_subscript_name_1 = mod_consts[14]; tmp_expression_name_16 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_17, tmp_subscript_name_1, 0); if (tmp_expression_name_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 508; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_2 = mod_consts[14]; tmp_expression_name_15 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_16, tmp_subscript_name_2, 0); Py_DECREF(tmp_expression_name_16); if (tmp_expression_name_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 508; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_14 = LOOKUP_ATTRIBUTE(tmp_expression_name_15, mod_consts[65]); Py_DECREF(tmp_expression_name_15); if (tmp_expression_name_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 508; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_3 = mod_consts[49]; tmp_assign_source_28 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_14, tmp_subscript_name_3, 2); Py_DECREF(tmp_expression_name_14); if (tmp_assign_source_28 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 508; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_past_key_values_length; assert(old != NULL); var_past_key_values_length = tmp_assign_source_28; Py_DECREF(old); } } { PyObject *tmp_assign_source_29; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; CHECK_OBJECT(var_seq_length_with_past); tmp_left_name_1 = var_seq_length_with_past; CHECK_OBJECT(var_past_key_values_length); tmp_right_name_1 = var_past_key_values_length; tmp_assign_source_29 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_1, tmp_right_name_1); if (tmp_assign_source_29 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 509; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_seq_length_with_past; var_seq_length_with_past = tmp_assign_source_29; Py_XDECREF(old); } } branch_no_6:; { bool tmp_condition_result_11; PyObject *tmp_compexpr_left_12; PyObject *tmp_compexpr_right_12; CHECK_OBJECT(par_position_ids); tmp_compexpr_left_12 = par_position_ids; tmp_compexpr_right_12 = Py_None; tmp_condition_result_11 = (tmp_compexpr_left_12 == tmp_compexpr_right_12) ? true : false; if (tmp_condition_result_11 != false) { goto branch_yes_7; } else { goto branch_no_7; } } branch_yes_7:; { PyObject *tmp_assign_source_30; bool tmp_condition_result_12; PyObject *tmp_compexpr_left_13; PyObject *tmp_compexpr_right_13; PyObject *tmp_expression_name_18; PyObject *tmp_expression_name_19; if (par_input_ids == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[174]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 512; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_13 = par_input_ids; tmp_compexpr_right_13 = Py_None; tmp_condition_result_12 = (tmp_compexpr_left_13 != tmp_compexpr_right_13) ? true : false; if (tmp_condition_result_12 != false) { goto condexpr_true_5; } else { goto condexpr_false_5; } condexpr_true_5:; if (par_input_ids == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[174]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 512; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_18 = par_input_ids; tmp_assign_source_30 = LOOKUP_ATTRIBUTE(tmp_expression_name_18, mod_consts[6]); if (tmp_assign_source_30 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 512; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } goto condexpr_end_5; condexpr_false_5:; if (par_inputs_embeds == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[167]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 512; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_19 = par_inputs_embeds; tmp_assign_source_30 = LOOKUP_ATTRIBUTE(tmp_expression_name_19, mod_consts[6]); if (tmp_assign_source_30 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 512; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } condexpr_end_5:; assert(var_device == NULL); var_device = tmp_assign_source_30; } { PyObject *tmp_assign_source_31; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_20; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_2; PyObject *tmp_kwargs_name_2; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_expression_name_21; tmp_expression_name_20 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_20 == NULL)) { tmp_expression_name_20 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_20 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 513; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_20, mod_consts[7]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 513; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } if (var_past_key_values_length == NULL) { Py_DECREF(tmp_called_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[23]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 514; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = var_past_key_values_length; tmp_args_name_2 = PyTuple_New(2); { PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyTuple_SET_ITEM0(tmp_args_name_2, 0, tmp_tuple_element_2); if (var_seq_length == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[176]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 514; type_description_1 = "oooooooocoooooooooooooooooo"; goto tuple_build_exception_1; } tmp_left_name_2 = var_seq_length; if (var_past_key_values_length == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[23]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 514; type_description_1 = "oooooooocoooooooooooooooooo"; goto tuple_build_exception_1; } tmp_right_name_2 = var_past_key_values_length; tmp_tuple_element_2 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_2, tmp_right_name_2); if (tmp_tuple_element_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 514; type_description_1 = "oooooooocoooooooooooooooooo"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_args_name_2, 1, tmp_tuple_element_2); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_name_2); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_dict_key_1 = mod_consts[16]; tmp_expression_name_21 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_21 == NULL)) { tmp_expression_name_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_21 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_name_2); exception_lineno = 514; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_21, mod_consts[177]); if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_name_2); exception_lineno = 514; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_kwargs_name_2 = _PyDict_NewPresized( 2 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[6]; CHECK_OBJECT(var_device); tmp_dict_value_1 = var_device; tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); frame_f85cccd268d3146046e93cf36289e67a->m_frame.f_lineno = 513; tmp_assign_source_31 = CALL_FUNCTION(tmp_called_name_3, tmp_args_name_2, tmp_kwargs_name_2); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_name_2); Py_DECREF(tmp_kwargs_name_2); if (tmp_assign_source_31 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 513; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_position_ids; assert(old != NULL); par_position_ids = tmp_assign_source_31; Py_DECREF(old); } } { PyObject *tmp_assign_source_32; PyObject *tmp_called_name_4; PyObject *tmp_expression_name_22; PyObject *tmp_called_instance_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; CHECK_OBJECT(par_position_ids); tmp_called_instance_1 = par_position_ids; frame_f85cccd268d3146046e93cf36289e67a->m_frame.f_lineno = 516; tmp_expression_name_22 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, mod_consts[178], &PyTuple_GET_ITEM(mod_consts[179], 0) ); if (tmp_expression_name_22 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 516; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_22, mod_consts[13]); Py_DECREF(tmp_expression_name_22); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 516; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = mod_consts[66]; if (var_seq_length == NULL) { Py_DECREF(tmp_called_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[176]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 516; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = var_seq_length; frame_f85cccd268d3146046e93cf36289e67a->m_frame.f_lineno = 516; { PyObject *call_args[] = {tmp_args_element_name_2, tmp_args_element_name_3}; tmp_assign_source_32 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_4, call_args); } Py_DECREF(tmp_called_name_4); if (tmp_assign_source_32 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 516; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_position_ids; par_position_ids = tmp_assign_source_32; Py_XDECREF(old); } } goto branch_end_7; branch_no_7:; { PyObject *tmp_assign_source_33; PyObject *tmp_called_instance_2; PyObject *tmp_called_name_5; PyObject *tmp_expression_name_23; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; CHECK_OBJECT(par_position_ids); tmp_expression_name_23 = par_position_ids; tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_23, mod_consts[13]); if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 518; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = mod_consts[66]; if (var_seq_length == NULL) { Py_DECREF(tmp_called_name_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[176]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 518; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = var_seq_length; frame_f85cccd268d3146046e93cf36289e67a->m_frame.f_lineno = 518; { PyObject *call_args[] = {tmp_args_element_name_4, tmp_args_element_name_5}; tmp_called_instance_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_5, call_args); } Py_DECREF(tmp_called_name_5); if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 518; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } frame_f85cccd268d3146046e93cf36289e67a->m_frame.f_lineno = 518; tmp_assign_source_33 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[177]); Py_DECREF(tmp_called_instance_2); if (tmp_assign_source_33 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 518; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_position_ids; par_position_ids = tmp_assign_source_33; Py_XDECREF(old); } } branch_end_7:; { bool tmp_condition_result_13; PyObject *tmp_compexpr_left_14; PyObject *tmp_compexpr_right_14; CHECK_OBJECT(par_attention_mask); tmp_compexpr_left_14 = par_attention_mask; tmp_compexpr_right_14 = Py_None; tmp_condition_result_13 = (tmp_compexpr_left_14 == tmp_compexpr_right_14) ? true : false; if (tmp_condition_result_13 != false) { goto branch_yes_8; } else { goto branch_no_8; } } branch_yes_8:; { PyObject *tmp_assign_source_34; PyObject *tmp_called_name_6; PyObject *tmp_expression_name_24; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_3; PyObject *tmp_tuple_element_4; PyObject *tmp_kwargs_name_3; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; PyObject *tmp_expression_name_25; tmp_expression_name_24 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_24 == NULL)) { tmp_expression_name_24 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_24 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 522; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_24, mod_consts[35]); if (tmp_called_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 522; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } if (var_batch_size == NULL) { Py_DECREF(tmp_called_name_6); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[180]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 523; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_4 = var_batch_size; tmp_tuple_element_3 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_tuple_element_3, 0, tmp_tuple_element_4); CHECK_OBJECT(var_seq_length_with_past); tmp_tuple_element_4 = var_seq_length_with_past; PyTuple_SET_ITEM0(tmp_tuple_element_3, 1, tmp_tuple_element_4); tmp_args_name_3 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_3, 0, tmp_tuple_element_3); tmp_dict_key_2 = mod_consts[16]; tmp_expression_name_25 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_25 == NULL)) { tmp_expression_name_25 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_25 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_args_name_3); exception_lineno = 523; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_25, mod_consts[29]); if (tmp_dict_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_args_name_3); exception_lineno = 523; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_kwargs_name_3 = _PyDict_NewPresized( 2 ); { PyObject *tmp_expression_name_26; tmp_res = PyDict_SetItem(tmp_kwargs_name_3, tmp_dict_key_2, tmp_dict_value_2); Py_DECREF(tmp_dict_value_2); assert(!(tmp_res != 0)); tmp_dict_key_2 = mod_consts[6]; if (par_inputs_embeds == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[167]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 523; type_description_1 = "oooooooocoooooooooooooooooo"; goto dict_build_exception_1; } tmp_expression_name_26 = par_inputs_embeds; tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_26, mod_consts[6]); if (tmp_dict_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 523; type_description_1 = "oooooooocoooooooooooooooooo"; goto dict_build_exception_1; } tmp_res = PyDict_SetItem(tmp_kwargs_name_3, tmp_dict_key_2, tmp_dict_value_2); Py_DECREF(tmp_dict_value_2); assert(!(tmp_res != 0)); } goto dict_build_noexception_1; // Exception handling pass through code for dict_build: dict_build_exception_1:; Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_args_name_3); Py_DECREF(tmp_kwargs_name_3); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_1:; frame_f85cccd268d3146046e93cf36289e67a->m_frame.f_lineno = 522; tmp_assign_source_34 = CALL_FUNCTION(tmp_called_name_6, tmp_args_name_3, tmp_kwargs_name_3); Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_args_name_3); Py_DECREF(tmp_kwargs_name_3); if (tmp_assign_source_34 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 522; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_attention_mask; assert(old != NULL); par_attention_mask = tmp_assign_source_34; Py_DECREF(old); } } branch_no_8:; { PyObject *tmp_assign_source_35; PyObject *tmp_called_name_7; PyObject *tmp_expression_name_27; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; PyObject *tmp_tuple_element_5; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 525; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_27 = par_self; tmp_called_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_27, mod_consts[181]); if (tmp_called_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 525; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_attention_mask); tmp_args_element_name_6 = par_attention_mask; if (var_batch_size == NULL) { Py_DECREF(tmp_called_name_7); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[180]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 526; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_5 = var_batch_size; tmp_args_element_name_7 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_element_name_7, 0, tmp_tuple_element_5); if (var_seq_length == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[176]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 526; type_description_1 = "oooooooocoooooooooooooooooo"; goto tuple_build_exception_2; } tmp_tuple_element_5 = var_seq_length; PyTuple_SET_ITEM0(tmp_args_element_name_7, 1, tmp_tuple_element_5); goto tuple_build_noexception_2; // Exception handling pass through code for tuple_build: tuple_build_exception_2:; Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_args_element_name_7); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_2:; if (par_inputs_embeds == NULL) { Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_args_element_name_7); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[167]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 526; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_8 = par_inputs_embeds; if (var_past_key_values_length == NULL) { Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_args_element_name_7); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[23]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 526; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_9 = var_past_key_values_length; frame_f85cccd268d3146046e93cf36289e67a->m_frame.f_lineno = 525; { PyObject *call_args[] = {tmp_args_element_name_6, tmp_args_element_name_7, tmp_args_element_name_8, tmp_args_element_name_9}; tmp_assign_source_35 = CALL_FUNCTION_WITH_ARGS4(tmp_called_name_7, call_args); } Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_args_element_name_7); if (tmp_assign_source_35 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 525; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_attention_mask; par_attention_mask = tmp_assign_source_35; Py_XDECREF(old); } } { PyObject *tmp_assign_source_36; if (par_inputs_embeds == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[167]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 529; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_36 = par_inputs_embeds; assert(var_hidden_states == NULL); Py_INCREF(tmp_assign_source_36); var_hidden_states = tmp_assign_source_36; } { nuitka_bool tmp_condition_result_14; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; PyObject *tmp_expression_name_28; PyObject *tmp_attribute_value_1; int tmp_truth_name_1; PyObject *tmp_expression_name_29; PyObject *tmp_attribute_value_2; int tmp_truth_name_2; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 531; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_28 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_28, mod_consts[156]); if (tmp_attribute_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 531; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_attribute_value_1); exception_lineno = 531; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_attribute_value_1); tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0; if (tmp_and_left_truth_2 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 531; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } if (tmp_and_left_truth_2 == 1) { goto and_right_2; } else { goto and_left_2; } and_right_2:; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 531; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_29 = par_self; tmp_attribute_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_29, mod_consts[182]); if (tmp_attribute_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 531; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_2 = CHECK_IF_TRUE(tmp_attribute_value_2); if (tmp_truth_name_2 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_attribute_value_2); exception_lineno = 531; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_and_right_value_2 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_attribute_value_2); tmp_condition_result_14 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_condition_result_14 = tmp_and_left_value_2; and_end_2:; if (tmp_condition_result_14 == NUITKA_BOOL_TRUE) { goto branch_yes_9; } else { goto branch_no_9; } } branch_yes_9:; { nuitka_bool tmp_condition_result_15; int tmp_truth_name_3; CHECK_OBJECT(par_use_cache); tmp_truth_name_3 = CHECK_IF_TRUE(par_use_cache); if (tmp_truth_name_3 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 532; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_15 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_15 == NUITKA_BOOL_TRUE) { goto branch_yes_10; } else { goto branch_no_10; } } branch_yes_10:; { PyObject *tmp_called_instance_3; PyObject *tmp_call_result_1; tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[183]); if (unlikely(tmp_called_instance_3 == NULL)) { tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[183]); } if (tmp_called_instance_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 533; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } frame_f85cccd268d3146046e93cf36289e67a->m_frame.f_lineno = 533; tmp_call_result_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, mod_consts[184], &PyTuple_GET_ITEM(mod_consts[185], 0) ); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 533; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assign_source_37; tmp_assign_source_37 = Py_False; { PyObject *old = par_use_cache; assert(old != NULL); par_use_cache = tmp_assign_source_37; Py_INCREF(par_use_cache); Py_DECREF(old); } } branch_no_10:; branch_no_9:; { PyObject *tmp_assign_source_38; nuitka_bool tmp_condition_result_16; int tmp_truth_name_4; CHECK_OBJECT(par_output_hidden_states); tmp_truth_name_4 = CHECK_IF_TRUE(par_output_hidden_states); if (tmp_truth_name_4 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 539; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_16 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_16 == NUITKA_BOOL_TRUE) { goto condexpr_true_6; } else { goto condexpr_false_6; } condexpr_true_6:; tmp_assign_source_38 = mod_consts[186]; goto condexpr_end_6; condexpr_false_6:; tmp_assign_source_38 = Py_None; condexpr_end_6:; assert(var_all_hidden_states == NULL); Py_INCREF(tmp_assign_source_38); var_all_hidden_states = tmp_assign_source_38; } { PyObject *tmp_assign_source_39; nuitka_bool tmp_condition_result_17; int tmp_truth_name_5; if (Nuitka_Cell_GET(par_output_attentions) == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[141]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 540; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_5 = CHECK_IF_TRUE(Nuitka_Cell_GET(par_output_attentions)); if (tmp_truth_name_5 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 540; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_17 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_17 == NUITKA_BOOL_TRUE) { goto condexpr_true_7; } else { goto condexpr_false_7; } condexpr_true_7:; tmp_assign_source_39 = mod_consts[186]; goto condexpr_end_7; condexpr_false_7:; tmp_assign_source_39 = Py_None; condexpr_end_7:; assert(var_all_self_attns == NULL); Py_INCREF(tmp_assign_source_39); var_all_self_attns = tmp_assign_source_39; } { PyObject *tmp_assign_source_40; nuitka_bool tmp_condition_result_18; int tmp_truth_name_6; if (par_use_cache == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[142]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 541; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_6 = CHECK_IF_TRUE(par_use_cache); if (tmp_truth_name_6 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 541; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_18 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) { goto condexpr_true_8; } else { goto condexpr_false_8; } condexpr_true_8:; tmp_assign_source_40 = mod_consts[186]; goto condexpr_end_8; condexpr_false_8:; tmp_assign_source_40 = Py_None; condexpr_end_8:; assert(var_next_decoder_cache == NULL); Py_INCREF(tmp_assign_source_40); var_next_decoder_cache = tmp_assign_source_40; } { PyObject *tmp_assign_source_41; PyObject *tmp_iter_arg_4; PyObject *tmp_called_name_8; PyObject *tmp_args_element_name_10; PyObject *tmp_expression_name_30; tmp_called_name_8 = (PyObject *)&PyEnum_Type; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 543; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_30 = par_self; tmp_args_element_name_10 = LOOKUP_ATTRIBUTE(tmp_expression_name_30, mod_consts[163]); if (tmp_args_element_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 543; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } frame_f85cccd268d3146046e93cf36289e67a->m_frame.f_lineno = 543; tmp_iter_arg_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_8, tmp_args_element_name_10); Py_DECREF(tmp_args_element_name_10); if (tmp_iter_arg_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 543; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_41 = MAKE_ITERATOR(tmp_iter_arg_4); Py_DECREF(tmp_iter_arg_4); if (tmp_assign_source_41 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 543; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } assert(tmp_for_loop_1__for_iterator == NULL); tmp_for_loop_1__for_iterator = tmp_assign_source_41; } // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_42; CHECK_OBJECT(tmp_for_loop_1__for_iterator); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_42 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_42 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooocoooooooooooooooooo"; exception_lineno = 543; goto try_except_handler_8; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_42; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_43; PyObject *tmp_iter_arg_5; CHECK_OBJECT(tmp_for_loop_1__iter_value); tmp_iter_arg_5 = tmp_for_loop_1__iter_value; tmp_assign_source_43 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_5); if (tmp_assign_source_43 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 543; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_9; } { PyObject *old = tmp_tuple_unpack_4__source_iter; tmp_tuple_unpack_4__source_iter = tmp_assign_source_43; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_44; PyObject *tmp_unpack_9; CHECK_OBJECT(tmp_tuple_unpack_4__source_iter); tmp_unpack_9 = tmp_tuple_unpack_4__source_iter; tmp_assign_source_44 = UNPACK_NEXT(tmp_unpack_9, 0, 2); if (tmp_assign_source_44 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooocoooooooooooooooooo"; exception_lineno = 543; goto try_except_handler_10; } { PyObject *old = tmp_tuple_unpack_4__element_1; tmp_tuple_unpack_4__element_1 = tmp_assign_source_44; Py_XDECREF(old); } } { PyObject *tmp_assign_source_45; PyObject *tmp_unpack_10; CHECK_OBJECT(tmp_tuple_unpack_4__source_iter); tmp_unpack_10 = tmp_tuple_unpack_4__source_iter; tmp_assign_source_45 = UNPACK_NEXT(tmp_unpack_10, 1, 2); if (tmp_assign_source_45 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooocoooooooooooooooooo"; exception_lineno = 543; goto try_except_handler_10; } { PyObject *old = tmp_tuple_unpack_4__element_2; tmp_tuple_unpack_4__element_2 = tmp_assign_source_45; Py_XDECREF(old); } } { PyObject *tmp_iterator_name_4; CHECK_OBJECT(tmp_tuple_unpack_4__source_iter); tmp_iterator_name_4 = tmp_tuple_unpack_4__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_4); assert(HAS_ITERNEXT(tmp_iterator_name_4)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_4)->tp_iternext)(tmp_iterator_name_4); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooocoooooooooooooooooo"; exception_lineno = 543; goto try_except_handler_10; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[0]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooooooocoooooooooooooooooo"; exception_lineno = 543; goto try_except_handler_10; } } goto try_end_7; // Exception handler code: try_except_handler_10:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_4__source_iter); tmp_tuple_unpack_4__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto try_except_handler_9; // End of try: try_end_7:; goto try_end_8; // Exception handler code: try_except_handler_9:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_4__element_1); tmp_tuple_unpack_4__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_4__element_2); tmp_tuple_unpack_4__element_2 = NULL; // Re-raise. exception_type = exception_keeper_type_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto try_except_handler_8; // End of try: try_end_8:; Py_XDECREF(tmp_tuple_unpack_4__source_iter); tmp_tuple_unpack_4__source_iter = NULL; { PyObject *tmp_assign_source_46; CHECK_OBJECT(tmp_tuple_unpack_4__element_1); tmp_assign_source_46 = tmp_tuple_unpack_4__element_1; { PyObject *old = var_idx; var_idx = tmp_assign_source_46; Py_INCREF(var_idx); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_4__element_1); tmp_tuple_unpack_4__element_1 = NULL; { PyObject *tmp_assign_source_47; CHECK_OBJECT(tmp_tuple_unpack_4__element_2); tmp_assign_source_47 = tmp_tuple_unpack_4__element_2; { PyObject *old = var_decoder_layer; var_decoder_layer = tmp_assign_source_47; Py_INCREF(var_decoder_layer); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_4__element_2); tmp_tuple_unpack_4__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_4__element_1); tmp_tuple_unpack_4__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_4__element_2); tmp_tuple_unpack_4__element_2 = NULL; { nuitka_bool tmp_condition_result_19; int tmp_truth_name_7; if (par_output_hidden_states == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[170]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 544; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_truth_name_7 = CHECK_IF_TRUE(par_output_hidden_states); if (tmp_truth_name_7 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 544; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_condition_result_19 = tmp_truth_name_7 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_19 == NUITKA_BOOL_TRUE) { goto branch_yes_11; } else { goto branch_no_11; } } branch_yes_11:; { PyObject *tmp_assign_source_48; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_tuple_element_6; if (var_all_hidden_states == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[187]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 545; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_left_name_3 = var_all_hidden_states; if (var_hidden_states == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[44]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 545; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_tuple_element_6 = var_hidden_states; tmp_right_name_3 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_right_name_3, 0, tmp_tuple_element_6); tmp_result = BINARY_OPERATION_ADD_OBJECT_TUPLE_INPLACE(&tmp_left_name_3, tmp_right_name_3); Py_DECREF(tmp_right_name_3); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 545; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_assign_source_48 = tmp_left_name_3; var_all_hidden_states = tmp_assign_source_48; } branch_no_11:; { PyObject *tmp_assign_source_49; bool tmp_condition_result_20; PyObject *tmp_compexpr_left_15; PyObject *tmp_compexpr_right_15; PyObject *tmp_expression_name_31; PyObject *tmp_subscript_name_4; if (par_past_key_values == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[188]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 547; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_compexpr_left_15 = par_past_key_values; tmp_compexpr_right_15 = Py_None; tmp_condition_result_20 = (tmp_compexpr_left_15 != tmp_compexpr_right_15) ? true : false; if (tmp_condition_result_20 != false) { goto condexpr_true_9; } else { goto condexpr_false_9; } condexpr_true_9:; if (par_past_key_values == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[188]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 547; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_expression_name_31 = par_past_key_values; CHECK_OBJECT(var_idx); tmp_subscript_name_4 = var_idx; tmp_assign_source_49 = LOOKUP_SUBSCRIPT(tmp_expression_name_31, tmp_subscript_name_4); if (tmp_assign_source_49 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 547; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } goto condexpr_end_9; condexpr_false_9:; tmp_assign_source_49 = Py_None; Py_INCREF(tmp_assign_source_49); condexpr_end_9:; { PyObject *old = var_past_key_value; var_past_key_value = tmp_assign_source_49; Py_XDECREF(old); } } { nuitka_bool tmp_condition_result_21; int tmp_and_left_truth_3; nuitka_bool tmp_and_left_value_3; nuitka_bool tmp_and_right_value_3; PyObject *tmp_expression_name_32; PyObject *tmp_attribute_value_3; int tmp_truth_name_8; PyObject *tmp_expression_name_33; PyObject *tmp_attribute_value_4; int tmp_truth_name_9; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 549; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_expression_name_32 = par_self; tmp_attribute_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_32, mod_consts[156]); if (tmp_attribute_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 549; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_truth_name_8 = CHECK_IF_TRUE(tmp_attribute_value_3); if (tmp_truth_name_8 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_attribute_value_3); exception_lineno = 549; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_and_left_value_3 = tmp_truth_name_8 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_attribute_value_3); tmp_and_left_truth_3 = tmp_and_left_value_3 == NUITKA_BOOL_TRUE ? 1 : 0; if (tmp_and_left_truth_3 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 549; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } if (tmp_and_left_truth_3 == 1) { goto and_right_3; } else { goto and_left_3; } and_right_3:; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 549; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_expression_name_33 = par_self; tmp_attribute_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_33, mod_consts[182]); if (tmp_attribute_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 549; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_truth_name_9 = CHECK_IF_TRUE(tmp_attribute_value_4); if (tmp_truth_name_9 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_attribute_value_4); exception_lineno = 549; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_and_right_value_3 = tmp_truth_name_9 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_attribute_value_4); tmp_condition_result_21 = tmp_and_right_value_3; goto and_end_3; and_left_3:; tmp_condition_result_21 = tmp_and_left_value_3; and_end_3:; if (tmp_condition_result_21 == NUITKA_BOOL_TRUE) { goto branch_yes_12; } else { goto branch_no_12; } } branch_yes_12:; { PyObject *tmp_assign_source_50; struct Nuitka_CellObject *tmp_closure_1[1]; tmp_closure_1[0] = par_output_attentions; Py_INCREF(tmp_closure_1[0]); tmp_assign_source_50 = MAKE_FUNCTION_models$modeling_llama$$$function__22_forward$$$function__1_create_custom_forward(tmp_closure_1); { PyObject *old = var_create_custom_forward; var_create_custom_forward = tmp_assign_source_50; Py_XDECREF(old); } } { PyObject *tmp_assign_source_51; PyObject *tmp_called_name_9; PyObject *tmp_expression_name_34; PyObject *tmp_expression_name_35; PyObject *tmp_expression_name_36; PyObject *tmp_args_element_name_11; PyObject *tmp_called_name_10; PyObject *tmp_args_element_name_12; PyObject *tmp_args_element_name_13; PyObject *tmp_args_element_name_14; PyObject *tmp_args_element_name_15; PyObject *tmp_args_element_name_16; tmp_expression_name_36 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_36 == NULL)) { tmp_expression_name_36 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_36 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 558; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_expression_name_35 = LOOKUP_ATTRIBUTE(tmp_expression_name_36, mod_consts[191]); if (tmp_expression_name_35 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 558; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_expression_name_34 = LOOKUP_ATTRIBUTE(tmp_expression_name_35, mod_consts[192]); Py_DECREF(tmp_expression_name_35); if (tmp_expression_name_34 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 558; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_called_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_34, mod_consts[192]); Py_DECREF(tmp_expression_name_34); if (tmp_called_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 558; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } CHECK_OBJECT(var_create_custom_forward); tmp_called_name_10 = var_create_custom_forward; CHECK_OBJECT(var_decoder_layer); tmp_args_element_name_12 = var_decoder_layer; frame_f85cccd268d3146046e93cf36289e67a->m_frame.f_lineno = 559; tmp_args_element_name_11 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_10, tmp_args_element_name_12); if (tmp_args_element_name_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_9); exception_lineno = 559; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } if (var_hidden_states == NULL) { Py_DECREF(tmp_called_name_9); Py_DECREF(tmp_args_element_name_11); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[44]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 560; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_args_element_name_13 = var_hidden_states; if (par_attention_mask == NULL) { Py_DECREF(tmp_called_name_9); Py_DECREF(tmp_args_element_name_11); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[121]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 561; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_args_element_name_14 = par_attention_mask; if (par_position_ids == NULL) { Py_DECREF(tmp_called_name_9); Py_DECREF(tmp_args_element_name_11); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[139]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 562; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_args_element_name_15 = par_position_ids; tmp_args_element_name_16 = Py_None; frame_f85cccd268d3146046e93cf36289e67a->m_frame.f_lineno = 558; { PyObject *call_args[] = {tmp_args_element_name_11, tmp_args_element_name_13, tmp_args_element_name_14, tmp_args_element_name_15, tmp_args_element_name_16}; tmp_assign_source_51 = CALL_FUNCTION_WITH_ARGS5(tmp_called_name_9, call_args); } Py_DECREF(tmp_called_name_9); Py_DECREF(tmp_args_element_name_11); if (tmp_assign_source_51 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 558; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } { PyObject *old = var_layer_outputs; var_layer_outputs = tmp_assign_source_51; Py_XDECREF(old); } } goto branch_end_12; branch_no_12:; { PyObject *tmp_assign_source_52; PyObject *tmp_called_name_11; PyObject *tmp_args_name_4; PyObject *tmp_tuple_element_7; PyObject *tmp_kwargs_name_4; PyObject *tmp_dict_key_3; PyObject *tmp_dict_value_3; CHECK_OBJECT(var_decoder_layer); tmp_called_name_11 = var_decoder_layer; if (var_hidden_states == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[44]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 567; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_tuple_element_7 = var_hidden_states; tmp_args_name_4 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_args_name_4, 0, tmp_tuple_element_7); tmp_dict_key_3 = mod_consts[121]; if (par_attention_mask == NULL) { Py_DECREF(tmp_args_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[121]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 568; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_dict_value_3 = par_attention_mask; tmp_kwargs_name_4 = _PyDict_NewPresized( 5 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_3, tmp_dict_value_3); assert(!(tmp_res != 0)); tmp_dict_key_3 = mod_consts[139]; if (par_position_ids == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[139]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 569; type_description_1 = "oooooooocoooooooooooooooooo"; goto dict_build_exception_2; } tmp_dict_value_3 = par_position_ids; tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_3, tmp_dict_value_3); assert(!(tmp_res != 0)); tmp_dict_key_3 = mod_consts[140]; CHECK_OBJECT(var_past_key_value); tmp_dict_value_3 = var_past_key_value; tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_3, tmp_dict_value_3); assert(!(tmp_res != 0)); tmp_dict_key_3 = mod_consts[141]; if (Nuitka_Cell_GET(par_output_attentions) == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[141]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 571; type_description_1 = "oooooooocoooooooooooooooooo"; goto dict_build_exception_2; } tmp_dict_value_3 = Nuitka_Cell_GET(par_output_attentions); tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_3, tmp_dict_value_3); assert(!(tmp_res != 0)); tmp_dict_key_3 = mod_consts[142]; if (par_use_cache == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[142]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 572; type_description_1 = "oooooooocoooooooooooooooooo"; goto dict_build_exception_2; } tmp_dict_value_3 = par_use_cache; tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_3, tmp_dict_value_3); assert(!(tmp_res != 0)); goto dict_build_noexception_2; // Exception handling pass through code for dict_build: dict_build_exception_2:; Py_DECREF(tmp_args_name_4); Py_DECREF(tmp_kwargs_name_4); goto try_except_handler_8; // Finished with no exception for dict_build: dict_build_noexception_2:; frame_f85cccd268d3146046e93cf36289e67a->m_frame.f_lineno = 566; tmp_assign_source_52 = CALL_FUNCTION(tmp_called_name_11, tmp_args_name_4, tmp_kwargs_name_4); Py_DECREF(tmp_args_name_4); Py_DECREF(tmp_kwargs_name_4); if (tmp_assign_source_52 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 566; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } { PyObject *old = var_layer_outputs; var_layer_outputs = tmp_assign_source_52; Py_XDECREF(old); } } branch_end_12:; { PyObject *tmp_assign_source_53; PyObject *tmp_expression_name_37; PyObject *tmp_subscript_name_5; CHECK_OBJECT(var_layer_outputs); tmp_expression_name_37 = var_layer_outputs; tmp_subscript_name_5 = mod_consts[14]; tmp_assign_source_53 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_37, tmp_subscript_name_5, 0); if (tmp_assign_source_53 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 575; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } { PyObject *old = var_hidden_states; var_hidden_states = tmp_assign_source_53; Py_XDECREF(old); } } { nuitka_bool tmp_condition_result_22; int tmp_truth_name_10; if (par_use_cache == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[142]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 577; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_truth_name_10 = CHECK_IF_TRUE(par_use_cache); if (tmp_truth_name_10 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 577; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_condition_result_22 = tmp_truth_name_10 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_22 == NUITKA_BOOL_TRUE) { goto branch_yes_13; } else { goto branch_no_13; } } branch_yes_13:; { PyObject *tmp_assign_source_54; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; PyObject *tmp_tuple_element_8; PyObject *tmp_expression_name_38; PyObject *tmp_subscript_name_6; nuitka_bool tmp_condition_result_23; int tmp_truth_name_11; if (var_next_decoder_cache == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[193]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 578; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_left_name_4 = var_next_decoder_cache; CHECK_OBJECT(var_layer_outputs); tmp_expression_name_38 = var_layer_outputs; if (Nuitka_Cell_GET(par_output_attentions) == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[141]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 578; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_truth_name_11 = CHECK_IF_TRUE(Nuitka_Cell_GET(par_output_attentions)); if (tmp_truth_name_11 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 578; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_condition_result_23 = tmp_truth_name_11 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_23 == NUITKA_BOOL_TRUE) { goto condexpr_true_10; } else { goto condexpr_false_10; } condexpr_true_10:; tmp_subscript_name_6 = mod_consts[49]; goto condexpr_end_10; condexpr_false_10:; tmp_subscript_name_6 = mod_consts[12]; condexpr_end_10:; tmp_tuple_element_8 = LOOKUP_SUBSCRIPT(tmp_expression_name_38, tmp_subscript_name_6); if (tmp_tuple_element_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 578; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_right_name_4 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_right_name_4, 0, tmp_tuple_element_8); tmp_result = BINARY_OPERATION_ADD_OBJECT_TUPLE_INPLACE(&tmp_left_name_4, tmp_right_name_4); Py_DECREF(tmp_right_name_4); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 578; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_assign_source_54 = tmp_left_name_4; var_next_decoder_cache = tmp_assign_source_54; } branch_no_13:; { nuitka_bool tmp_condition_result_24; int tmp_truth_name_12; if (Nuitka_Cell_GET(par_output_attentions) == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[141]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 580; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_truth_name_12 = CHECK_IF_TRUE(Nuitka_Cell_GET(par_output_attentions)); if (tmp_truth_name_12 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 580; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_condition_result_24 = tmp_truth_name_12 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_24 == NUITKA_BOOL_TRUE) { goto branch_yes_14; } else { goto branch_no_14; } } branch_yes_14:; { PyObject *tmp_assign_source_55; PyObject *tmp_left_name_5; PyObject *tmp_right_name_5; PyObject *tmp_tuple_element_9; PyObject *tmp_expression_name_39; PyObject *tmp_subscript_name_7; if (var_all_self_attns == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[194]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 581; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_left_name_5 = var_all_self_attns; CHECK_OBJECT(var_layer_outputs); tmp_expression_name_39 = var_layer_outputs; tmp_subscript_name_7 = mod_consts[12]; tmp_tuple_element_9 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_39, tmp_subscript_name_7, 1); if (tmp_tuple_element_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 581; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_right_name_5 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_right_name_5, 0, tmp_tuple_element_9); tmp_result = BINARY_OPERATION_ADD_OBJECT_TUPLE_INPLACE(&tmp_left_name_5, tmp_right_name_5); Py_DECREF(tmp_right_name_5); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 581; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } tmp_assign_source_55 = tmp_left_name_5; var_all_self_attns = tmp_assign_source_55; } branch_no_14:; if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 543; type_description_1 = "oooooooocoooooooooooooooooo"; goto try_except_handler_8; } goto loop_start_1; loop_end_1:; goto try_end_9; // Exception handler code: try_except_handler_8:; exception_keeper_type_9 = exception_type; exception_keeper_value_9 = exception_value; exception_keeper_tb_9 = exception_tb; exception_keeper_lineno_9 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; Py_XDECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; // Re-raise. exception_type = exception_keeper_type_9; exception_value = exception_keeper_value_9; exception_tb = exception_keeper_tb_9; exception_lineno = exception_keeper_lineno_9; goto frame_exception_exit_1; // End of try: try_end_9:; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; Py_XDECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; { PyObject *tmp_assign_source_56; PyObject *tmp_called_name_12; PyObject *tmp_expression_name_40; PyObject *tmp_args_element_name_17; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 583; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_40 = par_self; tmp_called_name_12 = LOOKUP_ATTRIBUTE(tmp_expression_name_40, mod_consts[164]); if (tmp_called_name_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 583; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } if (var_hidden_states == NULL) { Py_DECREF(tmp_called_name_12); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[44]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 583; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_17 = var_hidden_states; frame_f85cccd268d3146046e93cf36289e67a->m_frame.f_lineno = 583; tmp_assign_source_56 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_12, tmp_args_element_name_17); Py_DECREF(tmp_called_name_12); if (tmp_assign_source_56 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 583; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_hidden_states; var_hidden_states = tmp_assign_source_56; Py_XDECREF(old); } } { nuitka_bool tmp_condition_result_25; int tmp_truth_name_13; if (par_output_hidden_states == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[170]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 586; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_13 = CHECK_IF_TRUE(par_output_hidden_states); if (tmp_truth_name_13 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 586; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_25 = tmp_truth_name_13 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_25 == NUITKA_BOOL_TRUE) { goto branch_yes_15; } else { goto branch_no_15; } } branch_yes_15:; { PyObject *tmp_assign_source_57; PyObject *tmp_left_name_6; PyObject *tmp_right_name_6; PyObject *tmp_tuple_element_10; if (var_all_hidden_states == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[187]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 587; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_left_name_6 = var_all_hidden_states; CHECK_OBJECT(var_hidden_states); tmp_tuple_element_10 = var_hidden_states; tmp_right_name_6 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_right_name_6, 0, tmp_tuple_element_10); tmp_result = BINARY_OPERATION_ADD_OBJECT_TUPLE_INPLACE(&tmp_left_name_6, tmp_right_name_6); Py_DECREF(tmp_right_name_6); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 587; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_57 = tmp_left_name_6; var_all_hidden_states = tmp_assign_source_57; } branch_no_15:; { PyObject *tmp_assign_source_58; nuitka_bool tmp_condition_result_26; int tmp_truth_name_14; if (par_use_cache == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[142]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 589; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_14 = CHECK_IF_TRUE(par_use_cache); if (tmp_truth_name_14 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 589; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_26 = tmp_truth_name_14 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_26 == NUITKA_BOOL_TRUE) { goto condexpr_true_11; } else { goto condexpr_false_11; } condexpr_true_11:; if (var_next_decoder_cache == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[193]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 589; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_58 = var_next_decoder_cache; goto condexpr_end_11; condexpr_false_11:; tmp_assign_source_58 = Py_None; condexpr_end_11:; assert(var_next_cache == NULL); Py_INCREF(tmp_assign_source_58); var_next_cache = tmp_assign_source_58; } { nuitka_bool tmp_condition_result_27; PyObject *tmp_operand_name_1; CHECK_OBJECT(par_return_dict); tmp_operand_name_1 = par_return_dict; tmp_res = CHECK_IF_TRUE(tmp_operand_name_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 590; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_27 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_27 == NUITKA_BOOL_TRUE) { goto branch_yes_16; } else { goto branch_no_16; } } branch_yes_16:; { PyObject *tmp_tuple_arg_1; { PyObject *tmp_assign_source_59; PyObject *tmp_iter_arg_6; PyObject *tmp_tuple_element_11; CHECK_OBJECT(var_hidden_states); tmp_tuple_element_11 = var_hidden_states; tmp_iter_arg_6 = PyTuple_New(4); PyTuple_SET_ITEM0(tmp_iter_arg_6, 0, tmp_tuple_element_11); CHECK_OBJECT(var_next_cache); tmp_tuple_element_11 = var_next_cache; PyTuple_SET_ITEM0(tmp_iter_arg_6, 1, tmp_tuple_element_11); if (var_all_hidden_states == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[187]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 591; type_description_1 = "oooooooocoooooooooooooooooo"; goto tuple_build_exception_3; } tmp_tuple_element_11 = var_all_hidden_states; PyTuple_SET_ITEM0(tmp_iter_arg_6, 2, tmp_tuple_element_11); if (var_all_self_attns == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[194]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 591; type_description_1 = "oooooooocoooooooooooooooooo"; goto tuple_build_exception_3; } tmp_tuple_element_11 = var_all_self_attns; PyTuple_SET_ITEM0(tmp_iter_arg_6, 3, tmp_tuple_element_11); goto tuple_build_noexception_3; // Exception handling pass through code for tuple_build: tuple_build_exception_3:; Py_DECREF(tmp_iter_arg_6); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_3:; tmp_assign_source_59 = MAKE_ITERATOR_INFALLIBLE(tmp_iter_arg_6); Py_DECREF(tmp_iter_arg_6); assert(!(tmp_assign_source_59 == NULL)); assert(tmp_genexpr_1__$0 == NULL); tmp_genexpr_1__$0 = tmp_assign_source_59; } // Tried code: { struct Nuitka_CellObject *tmp_closure_2[1]; tmp_closure_2[0] = Nuitka_Cell_New0(tmp_genexpr_1__$0); tmp_tuple_arg_1 = MAKE_GENERATOR_models$modeling_llama$$$function__22_forward$$$genexpr__1_genexpr(tmp_closure_2); goto try_return_handler_11; } NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_11:; CHECK_OBJECT(tmp_genexpr_1__$0); Py_DECREF(tmp_genexpr_1__$0); tmp_genexpr_1__$0 = NULL; goto outline_result_1; // End of try: CHECK_OBJECT(tmp_genexpr_1__$0); Py_DECREF(tmp_genexpr_1__$0); tmp_genexpr_1__$0 = NULL; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_result_1:; tmp_return_value = PySequence_Tuple(tmp_tuple_arg_1); Py_DECREF(tmp_tuple_arg_1); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 591; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_16:; { PyObject *tmp_called_name_13; PyObject *tmp_kwargs_name_5; PyObject *tmp_dict_key_4; PyObject *tmp_dict_value_4; tmp_called_name_13 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[195]); if (unlikely(tmp_called_name_13 == NULL)) { tmp_called_name_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[195]); } if (tmp_called_name_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 592; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } tmp_dict_key_4 = mod_consts[196]; CHECK_OBJECT(var_hidden_states); tmp_dict_value_4 = var_hidden_states; tmp_kwargs_name_5 = _PyDict_NewPresized( 4 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_5, tmp_dict_key_4, tmp_dict_value_4); assert(!(tmp_res != 0)); tmp_dict_key_4 = mod_consts[188]; CHECK_OBJECT(var_next_cache); tmp_dict_value_4 = var_next_cache; tmp_res = PyDict_SetItem(tmp_kwargs_name_5, tmp_dict_key_4, tmp_dict_value_4); assert(!(tmp_res != 0)); tmp_dict_key_4 = mod_consts[44]; if (var_all_hidden_states == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[187]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 595; type_description_1 = "oooooooocoooooooooooooooooo"; goto dict_build_exception_3; } tmp_dict_value_4 = var_all_hidden_states; tmp_res = PyDict_SetItem(tmp_kwargs_name_5, tmp_dict_key_4, tmp_dict_value_4); assert(!(tmp_res != 0)); tmp_dict_key_4 = mod_consts[197]; if (var_all_self_attns == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[194]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 596; type_description_1 = "oooooooocoooooooooooooooooo"; goto dict_build_exception_3; } tmp_dict_value_4 = var_all_self_attns; tmp_res = PyDict_SetItem(tmp_kwargs_name_5, tmp_dict_key_4, tmp_dict_value_4); assert(!(tmp_res != 0)); goto dict_build_noexception_3; // Exception handling pass through code for dict_build: dict_build_exception_3:; Py_DECREF(tmp_kwargs_name_5); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_3:; frame_f85cccd268d3146046e93cf36289e67a->m_frame.f_lineno = 592; tmp_return_value = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_13, tmp_kwargs_name_5); Py_DECREF(tmp_kwargs_name_5); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 592; type_description_1 = "oooooooocoooooooooooooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_f85cccd268d3146046e93cf36289e67a); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_f85cccd268d3146046e93cf36289e67a); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_f85cccd268d3146046e93cf36289e67a); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_f85cccd268d3146046e93cf36289e67a, exception_lineno); } else if (exception_tb->tb_frame != &frame_f85cccd268d3146046e93cf36289e67a->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_f85cccd268d3146046e93cf36289e67a, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_f85cccd268d3146046e93cf36289e67a, type_description_1, par_self, par_input_ids, par_attention_mask, par_position_ids, par_past_key_values, par_inputs_embeds, par_query_embeds, par_use_cache, par_output_attentions, par_output_hidden_states, par_return_dict, var_batch_size, var_seq_length, var__, var_seq_length_with_past, var_past_key_values_length, var_device, var_hidden_states, var_all_hidden_states, var_all_self_attns, var_next_decoder_cache, var_idx, var_decoder_layer, var_past_key_value, var_create_custom_forward, var_layer_outputs, var_next_cache ); // Release cached frame if used for exception. if (frame_f85cccd268d3146046e93cf36289e67a == cache_frame_f85cccd268d3146046e93cf36289e67a) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_f85cccd268d3146046e93cf36289e67a); cache_frame_f85cccd268d3146046e93cf36289e67a = NULL; } assertFrameObject(frame_f85cccd268d3146046e93cf36289e67a); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_input_ids); par_input_ids = NULL; Py_XDECREF(par_attention_mask); par_attention_mask = NULL; Py_XDECREF(par_position_ids); par_position_ids = NULL; Py_XDECREF(par_past_key_values); par_past_key_values = NULL; Py_XDECREF(par_inputs_embeds); par_inputs_embeds = NULL; Py_XDECREF(par_query_embeds); par_query_embeds = NULL; Py_XDECREF(par_use_cache); par_use_cache = NULL; CHECK_OBJECT(par_output_attentions); Py_DECREF(par_output_attentions); par_output_attentions = NULL; Py_XDECREF(par_output_hidden_states); par_output_hidden_states = NULL; CHECK_OBJECT(par_return_dict); Py_DECREF(par_return_dict); par_return_dict = NULL; Py_XDECREF(var_batch_size); var_batch_size = NULL; Py_XDECREF(var_seq_length); var_seq_length = NULL; Py_XDECREF(var__); var__ = NULL; Py_XDECREF(var_seq_length_with_past); var_seq_length_with_past = NULL; Py_XDECREF(var_past_key_values_length); var_past_key_values_length = NULL; Py_XDECREF(var_device); var_device = NULL; Py_XDECREF(var_hidden_states); var_hidden_states = NULL; Py_XDECREF(var_all_hidden_states); var_all_hidden_states = NULL; Py_XDECREF(var_all_self_attns); var_all_self_attns = NULL; Py_XDECREF(var_next_decoder_cache); var_next_decoder_cache = NULL; Py_XDECREF(var_idx); var_idx = NULL; Py_XDECREF(var_decoder_layer); var_decoder_layer = NULL; Py_XDECREF(var_past_key_value); var_past_key_value = NULL; Py_XDECREF(var_create_custom_forward); var_create_custom_forward = NULL; Py_XDECREF(var_layer_outputs); var_layer_outputs = NULL; Py_XDECREF(var_next_cache); var_next_cache = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_10 = exception_type; exception_keeper_value_10 = exception_value; exception_keeper_tb_10 = exception_tb; exception_keeper_lineno_10 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_input_ids); par_input_ids = NULL; Py_XDECREF(par_attention_mask); par_attention_mask = NULL; Py_XDECREF(par_position_ids); par_position_ids = NULL; Py_XDECREF(par_past_key_values); par_past_key_values = NULL; Py_XDECREF(par_inputs_embeds); par_inputs_embeds = NULL; Py_XDECREF(par_query_embeds); par_query_embeds = NULL; Py_XDECREF(par_use_cache); par_use_cache = NULL; CHECK_OBJECT(par_output_attentions); Py_DECREF(par_output_attentions); par_output_attentions = NULL; Py_XDECREF(par_output_hidden_states); par_output_hidden_states = NULL; CHECK_OBJECT(par_return_dict); Py_DECREF(par_return_dict); par_return_dict = NULL; Py_XDECREF(var_batch_size); var_batch_size = NULL; Py_XDECREF(var_seq_length); var_seq_length = NULL; Py_XDECREF(var__); var__ = NULL; Py_XDECREF(var_seq_length_with_past); var_seq_length_with_past = NULL; Py_XDECREF(var_past_key_values_length); var_past_key_values_length = NULL; Py_XDECREF(var_device); var_device = NULL; Py_XDECREF(var_hidden_states); var_hidden_states = NULL; Py_XDECREF(var_all_hidden_states); var_all_hidden_states = NULL; Py_XDECREF(var_all_self_attns); var_all_self_attns = NULL; Py_XDECREF(var_next_decoder_cache); var_next_decoder_cache = NULL; Py_XDECREF(var_idx); var_idx = NULL; Py_XDECREF(var_decoder_layer); var_decoder_layer = NULL; Py_XDECREF(var_past_key_value); var_past_key_value = NULL; Py_XDECREF(var_create_custom_forward); var_create_custom_forward = NULL; Py_XDECREF(var_layer_outputs); var_layer_outputs = NULL; Py_XDECREF(var_next_cache); var_next_cache = NULL; // Re-raise. exception_type = exception_keeper_type_10; exception_value = exception_keeper_value_10; exception_tb = exception_keeper_tb_10; exception_lineno = exception_keeper_lineno_10; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__22_forward$$$function__1_create_custom_forward(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. struct Nuitka_CellObject *par_module = Nuitka_Cell_New1(python_pars[0]); PyObject *var_custom_forward = NULL; PyObject *tmp_return_value = NULL; // Actual function body. { PyObject *tmp_assign_source_1; struct Nuitka_CellObject *tmp_closure_1[2]; tmp_closure_1[0] = par_module; Py_INCREF(tmp_closure_1[0]); tmp_closure_1[1] = self->m_closure[0]; Py_INCREF(tmp_closure_1[1]); tmp_assign_source_1 = MAKE_FUNCTION_models$modeling_llama$$$function__22_forward$$$function__1_create_custom_forward$$$function__1_custom_forward(tmp_closure_1); assert(var_custom_forward == NULL); var_custom_forward = tmp_assign_source_1; } // Tried code: CHECK_OBJECT(var_custom_forward); tmp_return_value = var_custom_forward; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_module); Py_DECREF(par_module); par_module = NULL; CHECK_OBJECT(var_custom_forward); Py_DECREF(var_custom_forward); var_custom_forward = NULL; goto function_return_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__22_forward$$$function__1_create_custom_forward$$$function__1_custom_forward(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_inputs = python_pars[0]; struct Nuitka_FrameObject *frame_b4f214bd3cde2ab1b0be661bbce2cf57; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_b4f214bd3cde2ab1b0be661bbce2cf57 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_b4f214bd3cde2ab1b0be661bbce2cf57)) { Py_XDECREF(cache_frame_b4f214bd3cde2ab1b0be661bbce2cf57); #if _DEBUG_REFCOUNTS if (cache_frame_b4f214bd3cde2ab1b0be661bbce2cf57 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_b4f214bd3cde2ab1b0be661bbce2cf57 = MAKE_FUNCTION_FRAME(codeobj_b4f214bd3cde2ab1b0be661bbce2cf57, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_b4f214bd3cde2ab1b0be661bbce2cf57->m_type_description == NULL); frame_b4f214bd3cde2ab1b0be661bbce2cf57 = cache_frame_b4f214bd3cde2ab1b0be661bbce2cf57; // Push the new frame as the currently active one. pushFrameStack(frame_b4f214bd3cde2ab1b0be661bbce2cf57); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_b4f214bd3cde2ab1b0be661bbce2cf57) == 2); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_dircall_arg1_2; PyObject *tmp_tuple_element_1; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[150]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 554; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_dircall_arg1_1 = Nuitka_Cell_GET(self->m_closure[0]); CHECK_OBJECT(par_inputs); tmp_tuple_element_1 = par_inputs; tmp_dircall_arg1_2 = PyTuple_New(3); { PyObject *tmp_tuple_element_2; PyTuple_SET_ITEM0(tmp_dircall_arg1_2, 0, tmp_tuple_element_1); if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[141]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 554; type_description_1 = "occ"; goto tuple_build_exception_1; } tmp_tuple_element_2 = Nuitka_Cell_GET(self->m_closure[1]); tmp_tuple_element_1 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_tuple_element_1, 0, tmp_tuple_element_2); PyTuple_SET_ITEM(tmp_dircall_arg1_2, 1, tmp_tuple_element_1); tmp_tuple_element_1 = mod_consts[200]; PyTuple_SET_ITEM0(tmp_dircall_arg1_2, 2, tmp_tuple_element_1); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_dircall_arg1_2); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; { PyObject *dir_call_args[] = {tmp_dircall_arg1_2}; tmp_dircall_arg2_1 = impl_models$$$function__4__unpack_list(dir_call_args); } if (tmp_dircall_arg2_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 554; type_description_1 = "occ"; goto frame_exception_exit_1; } Py_INCREF(tmp_dircall_arg1_1); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1}; tmp_return_value = impl_models$$$function__2_complex_call_helper_star_list(dir_call_args); } if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 554; type_description_1 = "occ"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_b4f214bd3cde2ab1b0be661bbce2cf57); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_b4f214bd3cde2ab1b0be661bbce2cf57); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_b4f214bd3cde2ab1b0be661bbce2cf57); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_b4f214bd3cde2ab1b0be661bbce2cf57, exception_lineno); } else if (exception_tb->tb_frame != &frame_b4f214bd3cde2ab1b0be661bbce2cf57->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_b4f214bd3cde2ab1b0be661bbce2cf57, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_b4f214bd3cde2ab1b0be661bbce2cf57, type_description_1, par_inputs, self->m_closure[0], self->m_closure[1] ); // Release cached frame if used for exception. if (frame_b4f214bd3cde2ab1b0be661bbce2cf57 == cache_frame_b4f214bd3cde2ab1b0be661bbce2cf57) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_b4f214bd3cde2ab1b0be661bbce2cf57); cache_frame_b4f214bd3cde2ab1b0be661bbce2cf57 = NULL; } assertFrameObject(frame_b4f214bd3cde2ab1b0be661bbce2cf57); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_inputs); Py_DECREF(par_inputs); par_inputs = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_inputs); Py_DECREF(par_inputs); par_inputs = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } struct models$modeling_llama$$$function__22_forward$$$genexpr__1_genexpr_locals { PyObject *var_v; PyObject *tmp_iter_value_0; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; int exception_keeper_lineno_2; }; static PyObject *models$modeling_llama$$$function__22_forward$$$genexpr__1_genexpr_context(struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value) { CHECK_OBJECT(generator); assert(Nuitka_Generator_Check((PyObject *)generator)); CHECK_OBJECT_X(yield_return_value); // Heap access if used. struct models$modeling_llama$$$function__22_forward$$$genexpr__1_genexpr_locals *generator_heap = (struct models$modeling_llama$$$function__22_forward$$$genexpr__1_genexpr_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { case 1: goto yield_return_1; } // Local variable initialization NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; static struct Nuitka_FrameObject *cache_m_frame = NULL; generator_heap->var_v = NULL; generator_heap->tmp_iter_value_0 = NULL; generator_heap->type_description_1 = NULL; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; // Actual generator function body. // Tried code: if (isFrameUnusable(cache_m_frame)) { Py_XDECREF(cache_m_frame); #if _DEBUG_REFCOUNTS if (cache_m_frame == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_043489d57f895ee9a5149b547d2710e3, module_models$modeling_llama, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } generator->m_frame = cache_m_frame; // Mark the frame object as in use, ref count 1 will be up for reuse. Py_INCREF(generator->m_frame); assert(Py_REFCNT(generator->m_frame) == 2); // Frame stack #if PYTHON_VERSION >= 0x340 generator->m_frame->m_frame.f_gen = (PyObject *)generator; #endif assert(generator->m_frame->m_frame.f_back == NULL); Py_CLEAR(generator->m_frame->m_frame.f_back); generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame; Py_INCREF(generator->m_frame->m_frame.f_back); PyThreadState_GET()->frame = &generator->m_frame->m_frame; Py_INCREF(generator->m_frame); Nuitka_Frame_MarkAsExecuting(generator->m_frame); #if PYTHON_VERSION >= 0x300 // Accept currently existing exception as the one to publish again when we // yield or yield from. { PyThreadState *thread_state = PyThreadState_GET(); EXC_TYPE_F(generator) = EXC_TYPE(thread_state); if (EXC_TYPE_F(generator) == Py_None) EXC_TYPE_F(generator) = NULL; Py_XINCREF(EXC_TYPE_F(generator)); EXC_VALUE_F(generator) = EXC_VALUE(thread_state); Py_XINCREF(EXC_VALUE_F(generator)); EXC_TRACEBACK_F(generator) = EXC_TRACEBACK(thread_state); Py_XINCREF(EXC_TRACEBACK_F(generator)); } #endif // Framed code: // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_1; CHECK_OBJECT(Nuitka_Cell_GET(generator->m_closure[0])); tmp_next_source_1 = Nuitka_Cell_GET(generator->m_closure[0]); tmp_assign_source_1 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_1 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->type_description_1 = "No"; generator_heap->exception_lineno = 591; goto try_except_handler_2; } } { PyObject *old = generator_heap->tmp_iter_value_0; generator_heap->tmp_iter_value_0 = tmp_assign_source_1; Py_XDECREF(old); } } { PyObject *tmp_assign_source_2; CHECK_OBJECT(generator_heap->tmp_iter_value_0); tmp_assign_source_2 = generator_heap->tmp_iter_value_0; { PyObject *old = generator_heap->var_v; generator_heap->var_v = tmp_assign_source_2; Py_INCREF(generator_heap->var_v); Py_XDECREF(old); } } { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT(generator_heap->var_v); tmp_compexpr_left_1 = generator_heap->var_v; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_expression_name_1; NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1; CHECK_OBJECT(generator_heap->var_v); tmp_expression_name_1 = generator_heap->var_v; Py_INCREF(tmp_expression_name_1); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: if (yield_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 591; generator_heap->type_description_1 = "No"; goto try_except_handler_2; } tmp_yield_result_1 = yield_return_value; } branch_no_1:; if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 591; generator_heap->type_description_1 = "No"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; goto try_end_1; // Exception handler code: try_except_handler_2:; generator_heap->exception_keeper_type_1 = generator_heap->exception_type; generator_heap->exception_keeper_value_1 = generator_heap->exception_value; generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; Py_XDECREF(generator_heap->tmp_iter_value_0); generator_heap->tmp_iter_value_0 = NULL; // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_1; generator_heap->exception_value = generator_heap->exception_keeper_value_1; generator_heap->exception_tb = generator_heap->exception_keeper_tb_1; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1; goto frame_exception_exit_1; // End of try: try_end_1:; Nuitka_Frame_MarkAsNotExecuting(generator->m_frame); #if PYTHON_VERSION >= 0x300 Py_CLEAR(EXC_TYPE_F(generator)); Py_CLEAR(EXC_VALUE_F(generator)); Py_CLEAR(EXC_TRACEBACK_F(generator)); #endif // Allow re-use of the frame again. Py_DECREF(generator->m_frame); goto frame_no_exception_1; frame_exception_exit_1:; // If it's not an exit exception, consider and create a traceback for it. if (!EXCEPTION_MATCH_GENERATOR(generator_heap->exception_type)) { if (generator_heap->exception_tb == NULL) { generator_heap->exception_tb = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_lineno); } else if (generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame) { generator_heap->exception_tb = ADD_TRACEBACK(generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno); } Nuitka_Frame_AttachLocals( generator->m_frame, generator_heap->type_description_1, NULL, generator_heap->var_v ); // Release cached frame if used for exception. if (generator->m_frame == cache_m_frame) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_m_frame); cache_m_frame = NULL; } assertFrameObject(generator->m_frame); } #if PYTHON_VERSION >= 0x300 Py_CLEAR(EXC_TYPE_F(generator)); Py_CLEAR(EXC_VALUE_F(generator)); Py_CLEAR(EXC_TRACEBACK_F(generator)); #endif Py_DECREF(generator->m_frame); // Return the error. goto try_except_handler_1; frame_no_exception_1:; goto try_end_2; // Exception handler code: try_except_handler_1:; generator_heap->exception_keeper_type_2 = generator_heap->exception_type; generator_heap->exception_keeper_value_2 = generator_heap->exception_value; generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; Py_XDECREF(generator_heap->var_v); generator_heap->var_v = NULL; // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_2; generator_heap->exception_value = generator_heap->exception_keeper_value_2; generator_heap->exception_tb = generator_heap->exception_keeper_tb_2; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2; goto function_exception_exit; // End of try: try_end_2:; Py_XDECREF(generator_heap->tmp_iter_value_0); generator_heap->tmp_iter_value_0 = NULL; Py_XDECREF(generator_heap->var_v); generator_heap->var_v = NULL; return NULL; function_exception_exit: assert(generator_heap->exception_type); RESTORE_ERROR_OCCURRED(generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb); return NULL; } static PyObject *MAKE_GENERATOR_models$modeling_llama$$$function__22_forward$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) { return Nuitka_Generator_New( models$modeling_llama$$$function__22_forward$$$genexpr__1_genexpr_context, module_models$modeling_llama, mod_consts[201], #if PYTHON_VERSION >= 0x350 mod_consts[202], #endif codeobj_043489d57f895ee9a5149b547d2710e3, closure, 1, sizeof(struct models$modeling_llama$$$function__22_forward$$$genexpr__1_genexpr_locals) ); } static PyObject *impl_models$modeling_llama$$$function__23___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_config = python_pars[1]; struct Nuitka_FrameObject *frame_af13abb0cc2351b5f5b393e2acc0b056; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_af13abb0cc2351b5f5b393e2acc0b056 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_af13abb0cc2351b5f5b393e2acc0b056)) { Py_XDECREF(cache_frame_af13abb0cc2351b5f5b393e2acc0b056); #if _DEBUG_REFCOUNTS if (cache_frame_af13abb0cc2351b5f5b393e2acc0b056 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_af13abb0cc2351b5f5b393e2acc0b056 = MAKE_FUNCTION_FRAME(codeobj_af13abb0cc2351b5f5b393e2acc0b056, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_af13abb0cc2351b5f5b393e2acc0b056->m_type_description == NULL); frame_af13abb0cc2351b5f5b393e2acc0b056 = cache_frame_af13abb0cc2351b5f5b393e2acc0b056; // Push the new frame as the currently active one. pushFrameStack(frame_af13abb0cc2351b5f5b393e2acc0b056); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_af13abb0cc2351b5f5b393e2acc0b056) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_1; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[31]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 602; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_type_arg_name_1 = Nuitka_Cell_GET(self->m_closure[0]); CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER0(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 602; type_description_1 = "ooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_config); tmp_args_element_name_1 = par_config; frame_af13abb0cc2351b5f5b393e2acc0b056->m_frame.f_lineno = 602; tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[32], tmp_args_element_name_1); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 602; type_description_1 = "ooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assattr_name_1; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_assattr_target_1; tmp_called_name_1 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[155]); if (unlikely(tmp_called_name_1 == NULL)) { tmp_called_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[155]); } if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 603; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_config == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 603; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_config; frame_af13abb0cc2351b5f5b393e2acc0b056->m_frame.f_lineno = 603; tmp_assattr_name_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_2); if (tmp_assattr_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 603; type_description_1 = "ooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[203], tmp_assattr_name_1); Py_DECREF(tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 603; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_1; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_expression_name_2; PyObject *tmp_kwargs_name_1; PyObject *tmp_assattr_target_2; tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[33]); if (unlikely(tmp_expression_name_1 == NULL)) { tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]); } if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 605; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[76]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 605; type_description_1 = "ooc"; goto frame_exception_exit_1; } if (par_config == NULL) { Py_DECREF(tmp_called_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 605; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_expression_name_2 = par_config; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[80]); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 605; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_args_name_1 = PyTuple_New(2); { PyObject *tmp_expression_name_3; PyTuple_SET_ITEM(tmp_args_name_1, 0, tmp_tuple_element_1); if (par_config == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 605; type_description_1 = "ooc"; goto tuple_build_exception_1; } tmp_expression_name_3 = par_config; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[158]); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 605; type_description_1 = "ooc"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_args_name_1, 1, tmp_tuple_element_1); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_name_1); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_kwargs_name_1 = PyDict_Copy(mod_consts[77]); frame_af13abb0cc2351b5f5b393e2acc0b056->m_frame.f_lineno = 605; tmp_assattr_name_2 = CALL_FUNCTION(tmp_called_name_2, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assattr_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 605; type_description_1 = "ooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[204], tmp_assattr_name_2); Py_DECREF(tmp_assattr_name_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 605; type_description_1 = "ooc"; goto frame_exception_exit_1; } } { PyObject *tmp_called_instance_2; PyObject *tmp_call_result_2; CHECK_OBJECT(par_self); tmp_called_instance_2 = par_self; frame_af13abb0cc2351b5f5b393e2acc0b056->m_frame.f_lineno = 608; tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[165]); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 608; type_description_1 = "ooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_2); } #if 0 RESTORE_FRAME_EXCEPTION(frame_af13abb0cc2351b5f5b393e2acc0b056); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_af13abb0cc2351b5f5b393e2acc0b056); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_af13abb0cc2351b5f5b393e2acc0b056, exception_lineno); } else if (exception_tb->tb_frame != &frame_af13abb0cc2351b5f5b393e2acc0b056->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_af13abb0cc2351b5f5b393e2acc0b056, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_af13abb0cc2351b5f5b393e2acc0b056, type_description_1, par_self, par_config, self->m_closure[0] ); // Release cached frame if used for exception. if (frame_af13abb0cc2351b5f5b393e2acc0b056 == cache_frame_af13abb0cc2351b5f5b393e2acc0b056) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_af13abb0cc2351b5f5b393e2acc0b056); cache_frame_af13abb0cc2351b5f5b393e2acc0b056 = NULL; } assertFrameObject(frame_af13abb0cc2351b5f5b393e2acc0b056); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_config); par_config = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_config); par_config = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__24_get_input_embeddings(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; struct Nuitka_FrameObject *frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b)) { Py_XDECREF(cache_frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b); #if _DEBUG_REFCOUNTS if (cache_frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b = MAKE_FUNCTION_FRAME(codeobj_6f07a55f43d8fc2b2b6c0d3fdef34b4b, module_models$modeling_llama, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b->m_type_description == NULL); frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b = cache_frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b; // Push the new frame as the currently active one. pushFrameStack(frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b) == 2); // Frame stack // Framed code: { PyObject *tmp_expression_name_1; PyObject *tmp_expression_name_2; CHECK_OBJECT(par_self); tmp_expression_name_2 = par_self; tmp_expression_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[203]); if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 611; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[159]); Py_DECREF(tmp_expression_name_1); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 611; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b, exception_lineno); } else if (exception_tb->tb_frame != &frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b, type_description_1, par_self ); // Release cached frame if used for exception. if (frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b == cache_frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b); cache_frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b = NULL; } assertFrameObject(frame_6f07a55f43d8fc2b2b6c0d3fdef34b4b); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__25_set_input_embeddings(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_value = python_pars[1]; struct Nuitka_FrameObject *frame_d651ab60ba265483702bf3c01175dea8; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_d651ab60ba265483702bf3c01175dea8 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_d651ab60ba265483702bf3c01175dea8)) { Py_XDECREF(cache_frame_d651ab60ba265483702bf3c01175dea8); #if _DEBUG_REFCOUNTS if (cache_frame_d651ab60ba265483702bf3c01175dea8 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_d651ab60ba265483702bf3c01175dea8 = MAKE_FUNCTION_FRAME(codeobj_d651ab60ba265483702bf3c01175dea8, module_models$modeling_llama, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_d651ab60ba265483702bf3c01175dea8->m_type_description == NULL); frame_d651ab60ba265483702bf3c01175dea8 = cache_frame_d651ab60ba265483702bf3c01175dea8; // Push the new frame as the currently active one. pushFrameStack(frame_d651ab60ba265483702bf3c01175dea8); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_d651ab60ba265483702bf3c01175dea8) == 2); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; PyObject *tmp_expression_name_1; CHECK_OBJECT(par_value); tmp_assattr_name_1 = par_value; CHECK_OBJECT(par_self); tmp_expression_name_1 = par_self; tmp_assattr_target_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[203]); if (tmp_assattr_target_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 614; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[159], tmp_assattr_name_1); Py_DECREF(tmp_assattr_target_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 614; type_description_1 = "oo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_d651ab60ba265483702bf3c01175dea8); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_d651ab60ba265483702bf3c01175dea8); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_d651ab60ba265483702bf3c01175dea8, exception_lineno); } else if (exception_tb->tb_frame != &frame_d651ab60ba265483702bf3c01175dea8->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_d651ab60ba265483702bf3c01175dea8, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_d651ab60ba265483702bf3c01175dea8, type_description_1, par_self, par_value ); // Release cached frame if used for exception. if (frame_d651ab60ba265483702bf3c01175dea8 == cache_frame_d651ab60ba265483702bf3c01175dea8) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_d651ab60ba265483702bf3c01175dea8); cache_frame_d651ab60ba265483702bf3c01175dea8 = NULL; } assertFrameObject(frame_d651ab60ba265483702bf3c01175dea8); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; CHECK_OBJECT(par_value); Py_DECREF(par_value); par_value = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; CHECK_OBJECT(par_value); Py_DECREF(par_value); par_value = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__26_get_output_embeddings(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; struct Nuitka_FrameObject *frame_e5f8594c1ee7511e7c927efb6686b6c4; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_e5f8594c1ee7511e7c927efb6686b6c4 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_e5f8594c1ee7511e7c927efb6686b6c4)) { Py_XDECREF(cache_frame_e5f8594c1ee7511e7c927efb6686b6c4); #if _DEBUG_REFCOUNTS if (cache_frame_e5f8594c1ee7511e7c927efb6686b6c4 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_e5f8594c1ee7511e7c927efb6686b6c4 = MAKE_FUNCTION_FRAME(codeobj_e5f8594c1ee7511e7c927efb6686b6c4, module_models$modeling_llama, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_e5f8594c1ee7511e7c927efb6686b6c4->m_type_description == NULL); frame_e5f8594c1ee7511e7c927efb6686b6c4 = cache_frame_e5f8594c1ee7511e7c927efb6686b6c4; // Push the new frame as the currently active one. pushFrameStack(frame_e5f8594c1ee7511e7c927efb6686b6c4); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_e5f8594c1ee7511e7c927efb6686b6c4) == 2); // Frame stack // Framed code: { PyObject *tmp_expression_name_1; CHECK_OBJECT(par_self); tmp_expression_name_1 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[204]); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 617; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_e5f8594c1ee7511e7c927efb6686b6c4); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_e5f8594c1ee7511e7c927efb6686b6c4); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_e5f8594c1ee7511e7c927efb6686b6c4); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_e5f8594c1ee7511e7c927efb6686b6c4, exception_lineno); } else if (exception_tb->tb_frame != &frame_e5f8594c1ee7511e7c927efb6686b6c4->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_e5f8594c1ee7511e7c927efb6686b6c4, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_e5f8594c1ee7511e7c927efb6686b6c4, type_description_1, par_self ); // Release cached frame if used for exception. if (frame_e5f8594c1ee7511e7c927efb6686b6c4 == cache_frame_e5f8594c1ee7511e7c927efb6686b6c4) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_e5f8594c1ee7511e7c927efb6686b6c4); cache_frame_e5f8594c1ee7511e7c927efb6686b6c4 = NULL; } assertFrameObject(frame_e5f8594c1ee7511e7c927efb6686b6c4); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__27_set_output_embeddings(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_new_embeddings = python_pars[1]; struct Nuitka_FrameObject *frame_4aaa4b40029a15584899573348c54723; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; bool tmp_result; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_4aaa4b40029a15584899573348c54723 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_4aaa4b40029a15584899573348c54723)) { Py_XDECREF(cache_frame_4aaa4b40029a15584899573348c54723); #if _DEBUG_REFCOUNTS if (cache_frame_4aaa4b40029a15584899573348c54723 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_4aaa4b40029a15584899573348c54723 = MAKE_FUNCTION_FRAME(codeobj_4aaa4b40029a15584899573348c54723, module_models$modeling_llama, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_4aaa4b40029a15584899573348c54723->m_type_description == NULL); frame_4aaa4b40029a15584899573348c54723 = cache_frame_4aaa4b40029a15584899573348c54723; // Push the new frame as the currently active one. pushFrameStack(frame_4aaa4b40029a15584899573348c54723); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_4aaa4b40029a15584899573348c54723) == 2); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT(par_new_embeddings); tmp_assattr_name_1 = par_new_embeddings; CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[204], tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 620; type_description_1 = "oo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_4aaa4b40029a15584899573348c54723); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_4aaa4b40029a15584899573348c54723); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_4aaa4b40029a15584899573348c54723, exception_lineno); } else if (exception_tb->tb_frame != &frame_4aaa4b40029a15584899573348c54723->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_4aaa4b40029a15584899573348c54723, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_4aaa4b40029a15584899573348c54723, type_description_1, par_self, par_new_embeddings ); // Release cached frame if used for exception. if (frame_4aaa4b40029a15584899573348c54723 == cache_frame_4aaa4b40029a15584899573348c54723) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_4aaa4b40029a15584899573348c54723); cache_frame_4aaa4b40029a15584899573348c54723 = NULL; } assertFrameObject(frame_4aaa4b40029a15584899573348c54723); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_new_embeddings); Py_DECREF(par_new_embeddings); par_new_embeddings = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_new_embeddings); Py_DECREF(par_new_embeddings); par_new_embeddings = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__28_set_decoder(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_decoder = python_pars[1]; struct Nuitka_FrameObject *frame_5e5d312b178487ab3f5527465551d2d4; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; bool tmp_result; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_5e5d312b178487ab3f5527465551d2d4 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_5e5d312b178487ab3f5527465551d2d4)) { Py_XDECREF(cache_frame_5e5d312b178487ab3f5527465551d2d4); #if _DEBUG_REFCOUNTS if (cache_frame_5e5d312b178487ab3f5527465551d2d4 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_5e5d312b178487ab3f5527465551d2d4 = MAKE_FUNCTION_FRAME(codeobj_5e5d312b178487ab3f5527465551d2d4, module_models$modeling_llama, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_5e5d312b178487ab3f5527465551d2d4->m_type_description == NULL); frame_5e5d312b178487ab3f5527465551d2d4 = cache_frame_5e5d312b178487ab3f5527465551d2d4; // Push the new frame as the currently active one. pushFrameStack(frame_5e5d312b178487ab3f5527465551d2d4); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_5e5d312b178487ab3f5527465551d2d4) == 2); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT(par_decoder); tmp_assattr_name_1 = par_decoder; CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[203], tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 623; type_description_1 = "oo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_5e5d312b178487ab3f5527465551d2d4); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_5e5d312b178487ab3f5527465551d2d4); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_5e5d312b178487ab3f5527465551d2d4, exception_lineno); } else if (exception_tb->tb_frame != &frame_5e5d312b178487ab3f5527465551d2d4->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_5e5d312b178487ab3f5527465551d2d4, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_5e5d312b178487ab3f5527465551d2d4, type_description_1, par_self, par_decoder ); // Release cached frame if used for exception. if (frame_5e5d312b178487ab3f5527465551d2d4 == cache_frame_5e5d312b178487ab3f5527465551d2d4) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_5e5d312b178487ab3f5527465551d2d4); cache_frame_5e5d312b178487ab3f5527465551d2d4 = NULL; } assertFrameObject(frame_5e5d312b178487ab3f5527465551d2d4); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_decoder); Py_DECREF(par_decoder); par_decoder = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_decoder); Py_DECREF(par_decoder); par_decoder = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__29_get_decoder(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; struct Nuitka_FrameObject *frame_56724c513f939913a896f3556a51c73f; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_56724c513f939913a896f3556a51c73f = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_56724c513f939913a896f3556a51c73f)) { Py_XDECREF(cache_frame_56724c513f939913a896f3556a51c73f); #if _DEBUG_REFCOUNTS if (cache_frame_56724c513f939913a896f3556a51c73f == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_56724c513f939913a896f3556a51c73f = MAKE_FUNCTION_FRAME(codeobj_56724c513f939913a896f3556a51c73f, module_models$modeling_llama, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_56724c513f939913a896f3556a51c73f->m_type_description == NULL); frame_56724c513f939913a896f3556a51c73f = cache_frame_56724c513f939913a896f3556a51c73f; // Push the new frame as the currently active one. pushFrameStack(frame_56724c513f939913a896f3556a51c73f); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_56724c513f939913a896f3556a51c73f) == 2); // Frame stack // Framed code: { PyObject *tmp_expression_name_1; CHECK_OBJECT(par_self); tmp_expression_name_1 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[203]); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 626; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_56724c513f939913a896f3556a51c73f); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_56724c513f939913a896f3556a51c73f); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_56724c513f939913a896f3556a51c73f); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_56724c513f939913a896f3556a51c73f, exception_lineno); } else if (exception_tb->tb_frame != &frame_56724c513f939913a896f3556a51c73f->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_56724c513f939913a896f3556a51c73f, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_56724c513f939913a896f3556a51c73f, type_description_1, par_self ); // Release cached frame if used for exception. if (frame_56724c513f939913a896f3556a51c73f == cache_frame_56724c513f939913a896f3556a51c73f) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_56724c513f939913a896f3556a51c73f); cache_frame_56724c513f939913a896f3556a51c73f = NULL; } assertFrameObject(frame_56724c513f939913a896f3556a51c73f); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__30_forward(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_input_ids = python_pars[1]; PyObject *par_attention_mask = python_pars[2]; PyObject *par_position_ids = python_pars[3]; PyObject *par_past_key_values = python_pars[4]; PyObject *par_inputs_embeds = python_pars[5]; PyObject *par_query_embeds = python_pars[6]; PyObject *par_labels = python_pars[7]; PyObject *par_use_cache = python_pars[8]; PyObject *par_output_attentions = python_pars[9]; PyObject *par_output_hidden_states = python_pars[10]; PyObject *par_return_dict = python_pars[11]; PyObject *var_outputs = NULL; PyObject *var_hidden_states = NULL; PyObject *var_logits = NULL; PyObject *var_loss = NULL; PyObject *var_shift_logits = NULL; PyObject *var_shift_labels = NULL; PyObject *var_loss_fct = NULL; PyObject *var_output = NULL; struct Nuitka_FrameObject *frame_dd2059866c881e3f95a83278e7c7e817; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_dd2059866c881e3f95a83278e7c7e817 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_dd2059866c881e3f95a83278e7c7e817)) { Py_XDECREF(cache_frame_dd2059866c881e3f95a83278e7c7e817); #if _DEBUG_REFCOUNTS if (cache_frame_dd2059866c881e3f95a83278e7c7e817 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_dd2059866c881e3f95a83278e7c7e817 = MAKE_FUNCTION_FRAME(codeobj_dd2059866c881e3f95a83278e7c7e817, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_dd2059866c881e3f95a83278e7c7e817->m_type_description == NULL); frame_dd2059866c881e3f95a83278e7c7e817 = cache_frame_dd2059866c881e3f95a83278e7c7e817; // Push the new frame as the currently active one. pushFrameStack(frame_dd2059866c881e3f95a83278e7c7e817); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_dd2059866c881e3f95a83278e7c7e817) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_name_1; PyObject *tmp_expression_name_2; CHECK_OBJECT(par_output_attentions); tmp_compexpr_left_1 = par_output_attentions; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? true : false; if (tmp_condition_result_1 != false) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; CHECK_OBJECT(par_output_attentions); tmp_assign_source_1 = par_output_attentions; Py_INCREF(tmp_assign_source_1); goto condexpr_end_1; condexpr_false_1:; CHECK_OBJECT(par_self); tmp_expression_name_2 = par_self; tmp_expression_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[85]); if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 670; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[141]); Py_DECREF(tmp_expression_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 670; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } condexpr_end_1:; { PyObject *old = par_output_attentions; assert(old != NULL); par_output_attentions = tmp_assign_source_1; Py_DECREF(old); } } { PyObject *tmp_assign_source_2; bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_expression_name_3; PyObject *tmp_expression_name_4; CHECK_OBJECT(par_output_hidden_states); tmp_compexpr_left_2 = par_output_hidden_states; tmp_compexpr_right_2 = Py_None; tmp_condition_result_2 = (tmp_compexpr_left_2 != tmp_compexpr_right_2) ? true : false; if (tmp_condition_result_2 != false) { goto condexpr_true_2; } else { goto condexpr_false_2; } condexpr_true_2:; CHECK_OBJECT(par_output_hidden_states); tmp_assign_source_2 = par_output_hidden_states; Py_INCREF(tmp_assign_source_2); goto condexpr_end_2; condexpr_false_2:; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 672; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_4 = par_self; tmp_expression_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[85]); if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 672; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[170]); Py_DECREF(tmp_expression_name_3); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 672; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } condexpr_end_2:; { PyObject *old = par_output_hidden_states; assert(old != NULL); par_output_hidden_states = tmp_assign_source_2; Py_DECREF(old); } } { PyObject *tmp_assign_source_3; bool tmp_condition_result_3; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_expression_name_5; PyObject *tmp_expression_name_6; CHECK_OBJECT(par_return_dict); tmp_compexpr_left_3 = par_return_dict; tmp_compexpr_right_3 = Py_None; tmp_condition_result_3 = (tmp_compexpr_left_3 != tmp_compexpr_right_3) ? true : false; if (tmp_condition_result_3 != false) { goto condexpr_true_3; } else { goto condexpr_false_3; } condexpr_true_3:; CHECK_OBJECT(par_return_dict); tmp_assign_source_3 = par_return_dict; Py_INCREF(tmp_assign_source_3); goto condexpr_end_3; condexpr_false_3:; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 674; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_6 = par_self; tmp_expression_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[85]); if (tmp_expression_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 674; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[171]); Py_DECREF(tmp_expression_name_5); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 674; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } condexpr_end_3:; { PyObject *old = par_return_dict; assert(old != NULL); par_return_dict = tmp_assign_source_3; Py_DECREF(old); } } { PyObject *tmp_assign_source_4; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_7; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 677; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_7 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[203]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 677; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_dict_key_1 = mod_consts[174]; CHECK_OBJECT(par_input_ids); tmp_dict_value_1 = par_input_ids; tmp_kwargs_name_1 = _PyDict_NewPresized( 10 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[121]; CHECK_OBJECT(par_attention_mask); tmp_dict_value_1 = par_attention_mask; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[139]; CHECK_OBJECT(par_position_ids); tmp_dict_value_1 = par_position_ids; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[188]; CHECK_OBJECT(par_past_key_values); tmp_dict_value_1 = par_past_key_values; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[167]; CHECK_OBJECT(par_inputs_embeds); tmp_dict_value_1 = par_inputs_embeds; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[205]; CHECK_OBJECT(par_query_embeds); tmp_dict_value_1 = par_query_embeds; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[142]; CHECK_OBJECT(par_use_cache); tmp_dict_value_1 = par_use_cache; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[141]; CHECK_OBJECT(par_output_attentions); tmp_dict_value_1 = par_output_attentions; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[170]; CHECK_OBJECT(par_output_hidden_states); tmp_dict_value_1 = par_output_hidden_states; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[206]; CHECK_OBJECT(par_return_dict); tmp_dict_value_1 = par_return_dict; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); frame_dd2059866c881e3f95a83278e7c7e817->m_frame.f_lineno = 677; tmp_assign_source_4 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 677; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_outputs == NULL); var_outputs = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; PyObject *tmp_expression_name_8; PyObject *tmp_subscript_name_1; CHECK_OBJECT(var_outputs); tmp_expression_name_8 = var_outputs; tmp_subscript_name_1 = mod_consts[14]; tmp_assign_source_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_8, tmp_subscript_name_1, 0); if (tmp_assign_source_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 690; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_hidden_states == NULL); var_hidden_states = tmp_assign_source_5; } { PyObject *tmp_assign_source_6; PyObject *tmp_called_instance_1; PyObject *tmp_args_element_name_1; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 691; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_self; CHECK_OBJECT(var_hidden_states); tmp_args_element_name_1 = var_hidden_states; frame_dd2059866c881e3f95a83278e7c7e817->m_frame.f_lineno = 691; tmp_assign_source_6 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[204], tmp_args_element_name_1); if (tmp_assign_source_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 691; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_logits == NULL); var_logits = tmp_assign_source_6; } { PyObject *tmp_assign_source_7; tmp_assign_source_7 = Py_None; assert(var_loss == NULL); Py_INCREF(tmp_assign_source_7); var_loss = tmp_assign_source_7; } { bool tmp_condition_result_4; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; CHECK_OBJECT(par_labels); tmp_compexpr_left_4 = par_labels; tmp_compexpr_right_4 = Py_None; tmp_condition_result_4 = (tmp_compexpr_left_4 != tmp_compexpr_right_4) ? true : false; if (tmp_condition_result_4 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assign_source_8; PyObject *tmp_called_instance_2; PyObject *tmp_expression_name_9; PyObject *tmp_subscript_name_2; CHECK_OBJECT(var_logits); tmp_expression_name_9 = var_logits; tmp_subscript_name_2 = mod_consts[207]; tmp_called_instance_2 = LOOKUP_SUBSCRIPT(tmp_expression_name_9, tmp_subscript_name_2); if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 696; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } frame_dd2059866c881e3f95a83278e7c7e817->m_frame.f_lineno = 696; tmp_assign_source_8 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[102]); Py_DECREF(tmp_called_instance_2); if (tmp_assign_source_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 696; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_shift_logits == NULL); var_shift_logits = tmp_assign_source_8; } { PyObject *tmp_assign_source_9; PyObject *tmp_called_instance_3; PyObject *tmp_expression_name_10; PyObject *tmp_subscript_name_3; CHECK_OBJECT(par_labels); tmp_expression_name_10 = par_labels; tmp_subscript_name_3 = mod_consts[208]; tmp_called_instance_3 = LOOKUP_SUBSCRIPT(tmp_expression_name_10, tmp_subscript_name_3); if (tmp_called_instance_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 697; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } frame_dd2059866c881e3f95a83278e7c7e817->m_frame.f_lineno = 697; tmp_assign_source_9 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[102]); Py_DECREF(tmp_called_instance_3); if (tmp_assign_source_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 697; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_shift_labels == NULL); var_shift_labels = tmp_assign_source_9; } { PyObject *tmp_assign_source_10; PyObject *tmp_called_name_2; tmp_called_name_2 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[209]); if (unlikely(tmp_called_name_2 == NULL)) { tmp_called_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[209]); } if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 699; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } frame_dd2059866c881e3f95a83278e7c7e817->m_frame.f_lineno = 699; tmp_assign_source_10 = CALL_FUNCTION_NO_ARGS(tmp_called_name_2); if (tmp_assign_source_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 699; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_loss_fct == NULL); var_loss_fct = tmp_assign_source_10; } { PyObject *tmp_assign_source_11; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_11; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_expression_name_12; PyObject *tmp_expression_name_13; CHECK_OBJECT(var_shift_logits); tmp_expression_name_11 = var_shift_logits; tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[13]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 700; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = mod_consts[66]; if (par_self == NULL) { Py_DECREF(tmp_called_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[46]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 700; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_13 = par_self; tmp_expression_name_12 = LOOKUP_ATTRIBUTE(tmp_expression_name_13, mod_consts[85]); if (tmp_expression_name_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 700; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[158]); Py_DECREF(tmp_expression_name_12); if (tmp_args_element_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 700; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } frame_dd2059866c881e3f95a83278e7c7e817->m_frame.f_lineno = 700; { PyObject *call_args[] = {tmp_args_element_name_2, tmp_args_element_name_3}; tmp_assign_source_11 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_3, call_args); } Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_element_name_3); if (tmp_assign_source_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 700; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_shift_logits; var_shift_logits = tmp_assign_source_11; Py_XDECREF(old); } } { PyObject *tmp_assign_source_12; PyObject *tmp_called_instance_4; CHECK_OBJECT(var_shift_labels); tmp_called_instance_4 = var_shift_labels; frame_dd2059866c881e3f95a83278e7c7e817->m_frame.f_lineno = 701; tmp_assign_source_12 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_4, mod_consts[13], &PyTuple_GET_ITEM(mod_consts[9], 0) ); if (tmp_assign_source_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 701; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_shift_labels; var_shift_labels = tmp_assign_source_12; Py_XDECREF(old); } } { PyObject *tmp_assign_source_13; PyObject *tmp_called_name_4; PyObject *tmp_expression_name_14; PyObject *tmp_args_element_name_4; PyObject *tmp_expression_name_15; CHECK_OBJECT(var_shift_labels); tmp_expression_name_14 = var_shift_labels; tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_14, mod_consts[15]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 703; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_shift_logits); tmp_expression_name_15 = var_shift_logits; tmp_args_element_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_15, mod_consts[6]); if (tmp_args_element_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 703; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } frame_dd2059866c881e3f95a83278e7c7e817->m_frame.f_lineno = 703; tmp_assign_source_13 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_4, tmp_args_element_name_4); Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_element_name_4); if (tmp_assign_source_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 703; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_shift_labels; var_shift_labels = tmp_assign_source_13; Py_XDECREF(old); } } { PyObject *tmp_assign_source_14; PyObject *tmp_called_name_5; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; CHECK_OBJECT(var_loss_fct); tmp_called_name_5 = var_loss_fct; if (var_shift_logits == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 704; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = var_shift_logits; CHECK_OBJECT(var_shift_labels); tmp_args_element_name_6 = var_shift_labels; frame_dd2059866c881e3f95a83278e7c7e817->m_frame.f_lineno = 704; { PyObject *call_args[] = {tmp_args_element_name_5, tmp_args_element_name_6}; tmp_assign_source_14 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_5, call_args); } if (tmp_assign_source_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 704; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_loss; assert(old != NULL); var_loss = tmp_assign_source_14; Py_DECREF(old); } } branch_no_1:; { nuitka_bool tmp_condition_result_5; PyObject *tmp_operand_name_1; if (par_return_dict == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[206]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 706; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = par_return_dict; tmp_res = CHECK_IF_TRUE(tmp_operand_name_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 706; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_5 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_assign_source_15; PyObject *tmp_left_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_right_name_1; PyObject *tmp_expression_name_16; PyObject *tmp_subscript_name_4; CHECK_OBJECT(var_logits); tmp_tuple_element_1 = var_logits; tmp_left_name_1 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_left_name_1, 0, tmp_tuple_element_1); CHECK_OBJECT(var_outputs); tmp_expression_name_16 = var_outputs; tmp_subscript_name_4 = mod_consts[211]; tmp_right_name_1 = LOOKUP_SUBSCRIPT(tmp_expression_name_16, tmp_subscript_name_4); if (tmp_right_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_1); exception_lineno = 707; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_15 = BINARY_OPERATION_ADD_OBJECT_TUPLE_OBJECT(tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_left_name_1); Py_DECREF(tmp_right_name_1); if (tmp_assign_source_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 707; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_output == NULL); var_output = tmp_assign_source_15; } { bool tmp_condition_result_6; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; PyObject *tmp_left_name_2; PyObject *tmp_tuple_element_2; PyObject *tmp_right_name_2; CHECK_OBJECT(var_loss); tmp_compexpr_left_5 = var_loss; tmp_compexpr_right_5 = Py_None; tmp_condition_result_6 = (tmp_compexpr_left_5 != tmp_compexpr_right_5) ? true : false; if (tmp_condition_result_6 != false) { goto condexpr_true_4; } else { goto condexpr_false_4; } condexpr_true_4:; CHECK_OBJECT(var_loss); tmp_tuple_element_2 = var_loss; tmp_left_name_2 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_left_name_2, 0, tmp_tuple_element_2); CHECK_OBJECT(var_output); tmp_right_name_2 = var_output; tmp_return_value = BINARY_OPERATION_ADD_OBJECT_TUPLE_OBJECT(tmp_left_name_2, tmp_right_name_2); Py_DECREF(tmp_left_name_2); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 708; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } goto condexpr_end_4; condexpr_false_4:; CHECK_OBJECT(var_output); tmp_return_value = var_output; Py_INCREF(tmp_return_value); condexpr_end_4:; goto frame_return_exit_1; } branch_no_2:; { PyObject *tmp_called_name_6; PyObject *tmp_kwargs_name_2; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; tmp_called_name_6 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[212]); if (unlikely(tmp_called_name_6 == NULL)) { tmp_called_name_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[212]); } if (tmp_called_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 710; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_dict_key_2 = mod_consts[213]; CHECK_OBJECT(var_loss); tmp_dict_value_2 = var_loss; tmp_kwargs_name_2 = _PyDict_NewPresized( 5 ); { PyObject *tmp_expression_name_17; PyObject *tmp_expression_name_18; PyObject *tmp_expression_name_19; tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); assert(!(tmp_res != 0)); tmp_dict_key_2 = mod_consts[214]; CHECK_OBJECT(var_logits); tmp_dict_value_2 = var_logits; tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); assert(!(tmp_res != 0)); tmp_dict_key_2 = mod_consts[188]; CHECK_OBJECT(var_outputs); tmp_expression_name_17 = var_outputs; tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_17, mod_consts[188]); if (tmp_dict_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 713; type_description_1 = "oooooooooooooooooooo"; goto dict_build_exception_1; } tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); Py_DECREF(tmp_dict_value_2); assert(!(tmp_res != 0)); tmp_dict_key_2 = mod_consts[44]; if (var_outputs == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[143]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 714; type_description_1 = "oooooooooooooooooooo"; goto dict_build_exception_1; } tmp_expression_name_18 = var_outputs; tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_18, mod_consts[44]); if (tmp_dict_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 714; type_description_1 = "oooooooooooooooooooo"; goto dict_build_exception_1; } tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); Py_DECREF(tmp_dict_value_2); assert(!(tmp_res != 0)); tmp_dict_key_2 = mod_consts[197]; if (var_outputs == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[143]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 715; type_description_1 = "oooooooooooooooooooo"; goto dict_build_exception_1; } tmp_expression_name_19 = var_outputs; tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_19, mod_consts[197]); if (tmp_dict_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 715; type_description_1 = "oooooooooooooooooooo"; goto dict_build_exception_1; } tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); Py_DECREF(tmp_dict_value_2); assert(!(tmp_res != 0)); } goto dict_build_noexception_1; // Exception handling pass through code for dict_build: dict_build_exception_1:; Py_DECREF(tmp_kwargs_name_2); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_1:; frame_dd2059866c881e3f95a83278e7c7e817->m_frame.f_lineno = 710; tmp_return_value = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_6, tmp_kwargs_name_2); Py_DECREF(tmp_kwargs_name_2); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 710; type_description_1 = "oooooooooooooooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_dd2059866c881e3f95a83278e7c7e817); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_dd2059866c881e3f95a83278e7c7e817); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_dd2059866c881e3f95a83278e7c7e817); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_dd2059866c881e3f95a83278e7c7e817, exception_lineno); } else if (exception_tb->tb_frame != &frame_dd2059866c881e3f95a83278e7c7e817->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_dd2059866c881e3f95a83278e7c7e817, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_dd2059866c881e3f95a83278e7c7e817, type_description_1, par_self, par_input_ids, par_attention_mask, par_position_ids, par_past_key_values, par_inputs_embeds, par_query_embeds, par_labels, par_use_cache, par_output_attentions, par_output_hidden_states, par_return_dict, var_outputs, var_hidden_states, var_logits, var_loss, var_shift_logits, var_shift_labels, var_loss_fct, var_output ); // Release cached frame if used for exception. if (frame_dd2059866c881e3f95a83278e7c7e817 == cache_frame_dd2059866c881e3f95a83278e7c7e817) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_dd2059866c881e3f95a83278e7c7e817); cache_frame_dd2059866c881e3f95a83278e7c7e817 = NULL; } assertFrameObject(frame_dd2059866c881e3f95a83278e7c7e817); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_input_ids); par_input_ids = NULL; Py_XDECREF(par_attention_mask); par_attention_mask = NULL; Py_XDECREF(par_position_ids); par_position_ids = NULL; Py_XDECREF(par_past_key_values); par_past_key_values = NULL; Py_XDECREF(par_inputs_embeds); par_inputs_embeds = NULL; Py_XDECREF(par_query_embeds); par_query_embeds = NULL; CHECK_OBJECT(par_labels); Py_DECREF(par_labels); par_labels = NULL; Py_XDECREF(par_use_cache); par_use_cache = NULL; Py_XDECREF(par_output_attentions); par_output_attentions = NULL; Py_XDECREF(par_output_hidden_states); par_output_hidden_states = NULL; Py_XDECREF(par_return_dict); par_return_dict = NULL; Py_XDECREF(var_outputs); var_outputs = NULL; Py_XDECREF(var_hidden_states); var_hidden_states = NULL; CHECK_OBJECT(var_logits); Py_DECREF(var_logits); var_logits = NULL; CHECK_OBJECT(var_loss); Py_DECREF(var_loss); var_loss = NULL; Py_XDECREF(var_shift_logits); var_shift_logits = NULL; Py_XDECREF(var_shift_labels); var_shift_labels = NULL; Py_XDECREF(var_loss_fct); var_loss_fct = NULL; Py_XDECREF(var_output); var_output = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_input_ids); par_input_ids = NULL; Py_XDECREF(par_attention_mask); par_attention_mask = NULL; Py_XDECREF(par_position_ids); par_position_ids = NULL; Py_XDECREF(par_past_key_values); par_past_key_values = NULL; Py_XDECREF(par_inputs_embeds); par_inputs_embeds = NULL; Py_XDECREF(par_query_embeds); par_query_embeds = NULL; CHECK_OBJECT(par_labels); Py_DECREF(par_labels); par_labels = NULL; Py_XDECREF(par_use_cache); par_use_cache = NULL; Py_XDECREF(par_output_attentions); par_output_attentions = NULL; Py_XDECREF(par_output_hidden_states); par_output_hidden_states = NULL; Py_XDECREF(par_return_dict); par_return_dict = NULL; Py_XDECREF(var_outputs); var_outputs = NULL; Py_XDECREF(var_hidden_states); var_hidden_states = NULL; Py_XDECREF(var_logits); var_logits = NULL; Py_XDECREF(var_loss); var_loss = NULL; Py_XDECREF(var_shift_logits); var_shift_logits = NULL; Py_XDECREF(var_shift_labels); var_shift_labels = NULL; Py_XDECREF(var_loss_fct); var_loss_fct = NULL; Py_XDECREF(var_output); var_output = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__31_prepare_inputs_for_generation(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_input_ids = python_pars[1]; PyObject *par_query_embeds = python_pars[2]; PyObject *par_past_key_values = python_pars[3]; PyObject *par_attention_mask = python_pars[4]; PyObject *par_inputs_embeds = python_pars[5]; PyObject *par_kwargs = python_pars[6]; PyObject *var_position_ids = NULL; PyObject *var_model_inputs = NULL; struct Nuitka_FrameObject *frame_57bd173b2570561cb4e3a121dd7fa21d; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; int tmp_res; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_57bd173b2570561cb4e3a121dd7fa21d = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_57bd173b2570561cb4e3a121dd7fa21d)) { Py_XDECREF(cache_frame_57bd173b2570561cb4e3a121dd7fa21d); #if _DEBUG_REFCOUNTS if (cache_frame_57bd173b2570561cb4e3a121dd7fa21d == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_57bd173b2570561cb4e3a121dd7fa21d = MAKE_FUNCTION_FRAME(codeobj_57bd173b2570561cb4e3a121dd7fa21d, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_57bd173b2570561cb4e3a121dd7fa21d->m_type_description == NULL); frame_57bd173b2570561cb4e3a121dd7fa21d = cache_frame_57bd173b2570561cb4e3a121dd7fa21d; // Push the new frame as the currently active one. pushFrameStack(frame_57bd173b2570561cb4e3a121dd7fa21d); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_57bd173b2570561cb4e3a121dd7fa21d) == 2); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; int tmp_truth_name_1; CHECK_OBJECT(par_past_key_values); tmp_truth_name_1 = CHECK_IF_TRUE(par_past_key_values); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 721; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_expression_name_1; PyObject *tmp_subscript_name_1; CHECK_OBJECT(par_input_ids); tmp_expression_name_1 = par_input_ids; tmp_subscript_name_1 = mod_consts[216]; tmp_assign_source_1 = LOOKUP_SUBSCRIPT(tmp_expression_name_1, tmp_subscript_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 722; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_input_ids; assert(old != NULL); par_input_ids = tmp_assign_source_1; Py_DECREF(old); } } branch_no_1:; { PyObject *tmp_assign_source_2; PyObject *tmp_called_instance_1; CHECK_OBJECT(par_kwargs); tmp_called_instance_1 = par_kwargs; frame_57bd173b2570561cb4e3a121dd7fa21d->m_frame.f_lineno = 724; tmp_assign_source_2 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, mod_consts[217], &PyTuple_GET_ITEM(mod_consts[218], 0) ); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 724; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert(var_position_ids == NULL); var_position_ids = tmp_assign_source_2; } { bool tmp_condition_result_2; int tmp_and_left_truth_1; bool tmp_and_left_value_1; bool tmp_and_right_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT(par_attention_mask); tmp_compexpr_left_1 = par_attention_mask; tmp_compexpr_right_1 = Py_None; tmp_and_left_value_1 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? true : false; tmp_and_left_truth_1 = tmp_and_left_value_1 != false ? 1 : 0; if (tmp_and_left_truth_1 == 1) { goto and_right_1; } else { goto and_left_1; } and_right_1:; CHECK_OBJECT(var_position_ids); tmp_compexpr_left_2 = var_position_ids; tmp_compexpr_right_2 = Py_None; tmp_and_right_value_1 = (tmp_compexpr_left_2 == tmp_compexpr_right_2) ? true : false; tmp_condition_result_2 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_2 = tmp_and_left_value_1; and_end_1:; if (tmp_condition_result_2 != false) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_assign_source_3; PyObject *tmp_left_name_1; PyObject *tmp_called_instance_2; PyObject *tmp_called_instance_3; PyObject *tmp_right_name_1; CHECK_OBJECT(par_attention_mask); tmp_called_instance_3 = par_attention_mask; frame_57bd173b2570561cb4e3a121dd7fa21d->m_frame.f_lineno = 727; tmp_called_instance_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[177]); if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 727; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } frame_57bd173b2570561cb4e3a121dd7fa21d->m_frame.f_lineno = 727; tmp_left_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, mod_consts[219], &PyTuple_GET_ITEM(mod_consts[9], 0) ); Py_DECREF(tmp_called_instance_2); if (tmp_left_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 727; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_right_name_1 = mod_consts[12]; tmp_assign_source_3 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_left_name_1); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 727; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_position_ids; assert(old != NULL); var_position_ids = tmp_assign_source_3; Py_DECREF(old); } } { PyObject *tmp_called_name_1; PyObject *tmp_expression_name_2; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_1; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_args_element_name_2; CHECK_OBJECT(var_position_ids); tmp_expression_name_2 = var_position_ids; tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[11]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 728; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } if (par_attention_mask == NULL) { Py_DECREF(tmp_called_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[121]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 728; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_3 = par_attention_mask; tmp_compexpr_right_3 = mod_consts[14]; tmp_args_element_name_1 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_3, tmp_compexpr_right_3); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 728; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = mod_consts[12]; frame_57bd173b2570561cb4e3a121dd7fa21d->m_frame.f_lineno = 728; { PyObject *call_args[] = {tmp_args_element_name_1, tmp_args_element_name_2}; tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_1, call_args); } Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 728; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { nuitka_bool tmp_condition_result_3; int tmp_truth_name_2; CHECK_OBJECT(par_past_key_values); tmp_truth_name_2 = CHECK_IF_TRUE(par_past_key_values); if (tmp_truth_name_2 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 729; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; { PyObject *tmp_assign_source_4; PyObject *tmp_called_instance_4; PyObject *tmp_expression_name_3; PyObject *tmp_subscript_name_2; if (var_position_ids == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[139]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 730; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_3 = var_position_ids; tmp_subscript_name_2 = mod_consts[220]; tmp_called_instance_4 = LOOKUP_SUBSCRIPT(tmp_expression_name_3, tmp_subscript_name_2); if (tmp_called_instance_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 730; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } frame_57bd173b2570561cb4e3a121dd7fa21d->m_frame.f_lineno = 730; tmp_assign_source_4 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_4, mod_consts[178], &PyTuple_GET_ITEM(mod_consts[9], 0) ); Py_DECREF(tmp_called_instance_4); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 730; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_position_ids; var_position_ids = tmp_assign_source_4; Py_XDECREF(old); } } { PyObject *tmp_assign_source_5; tmp_assign_source_5 = Py_None; { PyObject *old = par_query_embeds; assert(old != NULL); par_query_embeds = tmp_assign_source_5; Py_INCREF(par_query_embeds); Py_DECREF(old); } } branch_no_3:; branch_no_2:; { bool tmp_condition_result_4; int tmp_and_left_truth_2; bool tmp_and_left_value_2; bool tmp_and_right_value_2; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; CHECK_OBJECT(par_inputs_embeds); tmp_compexpr_left_4 = par_inputs_embeds; tmp_compexpr_right_4 = Py_None; tmp_and_left_value_2 = (tmp_compexpr_left_4 != tmp_compexpr_right_4) ? true : false; tmp_and_left_truth_2 = tmp_and_left_value_2 != false ? 1 : 0; if (tmp_and_left_truth_2 == 1) { goto and_right_2; } else { goto and_left_2; } and_right_2:; CHECK_OBJECT(par_past_key_values); tmp_compexpr_left_5 = par_past_key_values; tmp_compexpr_right_5 = Py_None; tmp_and_right_value_2 = (tmp_compexpr_left_5 == tmp_compexpr_right_5) ? true : false; tmp_condition_result_4 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_condition_result_4 = tmp_and_left_value_2; and_end_2:; if (tmp_condition_result_4 != false) { goto branch_yes_4; } else { goto branch_no_4; } } branch_yes_4:; { PyObject *tmp_assign_source_6; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; tmp_dict_key_1 = mod_consts[167]; CHECK_OBJECT(par_inputs_embeds); tmp_dict_value_1 = par_inputs_embeds; tmp_assign_source_6 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_assign_source_6, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); assert(var_model_inputs == NULL); var_model_inputs = tmp_assign_source_6; } goto branch_end_4; branch_no_4:; { PyObject *tmp_assign_source_7; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; tmp_dict_key_2 = mod_consts[174]; CHECK_OBJECT(par_input_ids); tmp_dict_value_2 = par_input_ids; tmp_assign_source_7 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_assign_source_7, tmp_dict_key_2, tmp_dict_value_2); assert(!(tmp_res != 0)); assert(var_model_inputs == NULL); var_model_inputs = tmp_assign_source_7; } branch_end_4:; { PyObject *tmp_called_name_2; PyObject *tmp_expression_name_4; PyObject *tmp_call_result_2; PyObject *tmp_args_element_name_3; PyObject *tmp_dict_key_3; PyObject *tmp_dict_value_3; CHECK_OBJECT(var_model_inputs); tmp_expression_name_4 = var_model_inputs; tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[221]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 739; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_dict_key_3 = mod_consts[139]; if (var_position_ids == NULL) { Py_DECREF(tmp_called_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[139]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 741; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_dict_value_3 = var_position_ids; tmp_args_element_name_3 = _PyDict_NewPresized( 5 ); { PyObject *tmp_called_instance_5; tmp_res = PyDict_SetItem(tmp_args_element_name_3, tmp_dict_key_3, tmp_dict_value_3); assert(!(tmp_res != 0)); tmp_dict_key_3 = mod_consts[205]; if (par_query_embeds == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[205]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 742; type_description_1 = "ooooooooo"; goto dict_build_exception_1; } tmp_dict_value_3 = par_query_embeds; tmp_res = PyDict_SetItem(tmp_args_element_name_3, tmp_dict_key_3, tmp_dict_value_3); assert(!(tmp_res != 0)); tmp_dict_key_3 = mod_consts[188]; CHECK_OBJECT(par_past_key_values); tmp_dict_value_3 = par_past_key_values; tmp_res = PyDict_SetItem(tmp_args_element_name_3, tmp_dict_key_3, tmp_dict_value_3); assert(!(tmp_res != 0)); tmp_dict_key_3 = mod_consts[142]; if (par_kwargs == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[222]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 744; type_description_1 = "ooooooooo"; goto dict_build_exception_1; } tmp_called_instance_5 = par_kwargs; frame_57bd173b2570561cb4e3a121dd7fa21d->m_frame.f_lineno = 744; tmp_dict_value_3 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_5, mod_consts[217], &PyTuple_GET_ITEM(mod_consts[223], 0) ); if (tmp_dict_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 744; type_description_1 = "ooooooooo"; goto dict_build_exception_1; } tmp_res = PyDict_SetItem(tmp_args_element_name_3, tmp_dict_key_3, tmp_dict_value_3); Py_DECREF(tmp_dict_value_3); assert(!(tmp_res != 0)); tmp_dict_key_3 = mod_consts[121]; if (par_attention_mask == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[121]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 745; type_description_1 = "ooooooooo"; goto dict_build_exception_1; } tmp_dict_value_3 = par_attention_mask; tmp_res = PyDict_SetItem(tmp_args_element_name_3, tmp_dict_key_3, tmp_dict_value_3); assert(!(tmp_res != 0)); } goto dict_build_noexception_1; // Exception handling pass through code for dict_build: dict_build_exception_1:; Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_3); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_1:; frame_57bd173b2570561cb4e3a121dd7fa21d->m_frame.f_lineno = 739; tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, tmp_args_element_name_3); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_3); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 739; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_2); } if (var_model_inputs == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[224]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 748; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_model_inputs; Py_INCREF(tmp_return_value); goto frame_return_exit_1; #if 0 RESTORE_FRAME_EXCEPTION(frame_57bd173b2570561cb4e3a121dd7fa21d); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_57bd173b2570561cb4e3a121dd7fa21d); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_57bd173b2570561cb4e3a121dd7fa21d); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_57bd173b2570561cb4e3a121dd7fa21d, exception_lineno); } else if (exception_tb->tb_frame != &frame_57bd173b2570561cb4e3a121dd7fa21d->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_57bd173b2570561cb4e3a121dd7fa21d, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_57bd173b2570561cb4e3a121dd7fa21d, type_description_1, par_self, par_input_ids, par_query_embeds, par_past_key_values, par_attention_mask, par_inputs_embeds, par_kwargs, var_position_ids, var_model_inputs ); // Release cached frame if used for exception. if (frame_57bd173b2570561cb4e3a121dd7fa21d == cache_frame_57bd173b2570561cb4e3a121dd7fa21d) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_57bd173b2570561cb4e3a121dd7fa21d); cache_frame_57bd173b2570561cb4e3a121dd7fa21d = NULL; } assertFrameObject(frame_57bd173b2570561cb4e3a121dd7fa21d); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_input_ids); Py_DECREF(par_input_ids); par_input_ids = NULL; Py_XDECREF(par_query_embeds); par_query_embeds = NULL; Py_XDECREF(par_past_key_values); par_past_key_values = NULL; Py_XDECREF(par_attention_mask); par_attention_mask = NULL; CHECK_OBJECT(par_inputs_embeds); Py_DECREF(par_inputs_embeds); par_inputs_embeds = NULL; Py_XDECREF(par_kwargs); par_kwargs = NULL; Py_XDECREF(var_position_ids); var_position_ids = NULL; Py_XDECREF(var_model_inputs); var_model_inputs = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_input_ids); par_input_ids = NULL; Py_XDECREF(par_query_embeds); par_query_embeds = NULL; Py_XDECREF(par_past_key_values); par_past_key_values = NULL; Py_XDECREF(par_attention_mask); par_attention_mask = NULL; CHECK_OBJECT(par_inputs_embeds); Py_DECREF(par_inputs_embeds); par_inputs_embeds = NULL; Py_XDECREF(par_kwargs); par_kwargs = NULL; Py_XDECREF(var_position_ids); var_position_ids = NULL; Py_XDECREF(var_model_inputs); var_model_inputs = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$modeling_llama$$$function__32__reorder_cache(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_past_key_values = python_pars[0]; struct Nuitka_CellObject *par_beam_idx = Nuitka_Cell_New1(python_pars[1]); PyObject *var_reordered_past = NULL; PyObject *var_layer_past = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_genexpr_1__$0 = NULL; struct Nuitka_FrameObject *frame_a7c0483b9d65c83ba388d353ba9481db; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_a7c0483b9d65c83ba388d353ba9481db = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; // Actual function body. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = mod_consts[186]; assert(var_reordered_past == NULL); Py_INCREF(tmp_assign_source_1); var_reordered_past = tmp_assign_source_1; } // Tried code: if (isFrameUnusable(cache_frame_a7c0483b9d65c83ba388d353ba9481db)) { Py_XDECREF(cache_frame_a7c0483b9d65c83ba388d353ba9481db); #if _DEBUG_REFCOUNTS if (cache_frame_a7c0483b9d65c83ba388d353ba9481db == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_a7c0483b9d65c83ba388d353ba9481db = MAKE_FUNCTION_FRAME(codeobj_a7c0483b9d65c83ba388d353ba9481db, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_a7c0483b9d65c83ba388d353ba9481db->m_type_description == NULL); frame_a7c0483b9d65c83ba388d353ba9481db = cache_frame_a7c0483b9d65c83ba388d353ba9481db; // Push the new frame as the currently active one. pushFrameStack(frame_a7c0483b9d65c83ba388d353ba9481db); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_a7c0483b9d65c83ba388d353ba9481db) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; CHECK_OBJECT(par_past_key_values); tmp_iter_arg_1 = par_past_key_values; tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 753; type_description_1 = "ocoo"; goto frame_exception_exit_1; } assert(tmp_for_loop_1__for_iterator == NULL); tmp_for_loop_1__for_iterator = tmp_assign_source_2; } // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_3; CHECK_OBJECT(tmp_for_loop_1__for_iterator); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_3 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "ocoo"; exception_lineno = 753; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_3; Py_XDECREF(old); } } { PyObject *tmp_assign_source_4; CHECK_OBJECT(tmp_for_loop_1__iter_value); tmp_assign_source_4 = tmp_for_loop_1__iter_value; { PyObject *old = var_layer_past; var_layer_past = tmp_assign_source_4; Py_INCREF(var_layer_past); Py_XDECREF(old); } } { PyObject *tmp_assign_source_5; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_tuple_arg_1; if (var_reordered_past == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[225]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 754; type_description_1 = "ocoo"; goto try_except_handler_2; } tmp_left_name_1 = var_reordered_past; { PyObject *tmp_assign_source_6; PyObject *tmp_iter_arg_2; CHECK_OBJECT(var_layer_past); tmp_iter_arg_2 = var_layer_past; tmp_assign_source_6 = MAKE_ITERATOR(tmp_iter_arg_2); if (tmp_assign_source_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 754; type_description_1 = "ocoo"; goto try_except_handler_2; } { PyObject *old = tmp_genexpr_1__$0; tmp_genexpr_1__$0 = tmp_assign_source_6; Py_XDECREF(old); } } // Tried code: { struct Nuitka_CellObject *tmp_closure_1[2]; tmp_closure_1[0] = par_beam_idx; Py_INCREF(tmp_closure_1[0]); tmp_closure_1[1] = Nuitka_Cell_New0(tmp_genexpr_1__$0); tmp_tuple_arg_1 = MAKE_GENERATOR_models$modeling_llama$$$function__32__reorder_cache$$$genexpr__1_genexpr(tmp_closure_1); goto try_return_handler_3; } NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_3:; CHECK_OBJECT(tmp_genexpr_1__$0); Py_DECREF(tmp_genexpr_1__$0); tmp_genexpr_1__$0 = NULL; goto outline_result_1; // End of try: CHECK_OBJECT(tmp_genexpr_1__$0); Py_DECREF(tmp_genexpr_1__$0); tmp_genexpr_1__$0 = NULL; NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_result_1:; tmp_tuple_element_1 = PySequence_Tuple(tmp_tuple_arg_1); Py_DECREF(tmp_tuple_arg_1); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 754; type_description_1 = "ocoo"; goto try_except_handler_2; } tmp_right_name_1 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_right_name_1, 0, tmp_tuple_element_1); tmp_result = BINARY_OPERATION_ADD_TUPLE_TUPLE_INPLACE(&tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_right_name_1); assert(!(tmp_result == false)); tmp_assign_source_5 = tmp_left_name_1; var_reordered_past = tmp_assign_source_5; } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 753; type_description_1 = "ocoo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; goto try_end_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; Py_XDECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; // End of try: try_end_1:; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; Py_XDECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; if (var_reordered_past == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[225]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 755; type_description_1 = "ocoo"; goto frame_exception_exit_1; } tmp_return_value = var_reordered_past; Py_INCREF(tmp_return_value); goto frame_return_exit_1; #if 0 RESTORE_FRAME_EXCEPTION(frame_a7c0483b9d65c83ba388d353ba9481db); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_a7c0483b9d65c83ba388d353ba9481db); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_a7c0483b9d65c83ba388d353ba9481db); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_a7c0483b9d65c83ba388d353ba9481db, exception_lineno); } else if (exception_tb->tb_frame != &frame_a7c0483b9d65c83ba388d353ba9481db->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_a7c0483b9d65c83ba388d353ba9481db, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_a7c0483b9d65c83ba388d353ba9481db, type_description_1, par_past_key_values, par_beam_idx, var_reordered_past, var_layer_past ); // Release cached frame if used for exception. if (frame_a7c0483b9d65c83ba388d353ba9481db == cache_frame_a7c0483b9d65c83ba388d353ba9481db) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_a7c0483b9d65c83ba388d353ba9481db); cache_frame_a7c0483b9d65c83ba388d353ba9481db = NULL; } assertFrameObject(frame_a7c0483b9d65c83ba388d353ba9481db); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_past_key_values); par_past_key_values = NULL; CHECK_OBJECT(par_beam_idx); Py_DECREF(par_beam_idx); par_beam_idx = NULL; Py_XDECREF(var_reordered_past); var_reordered_past = NULL; Py_XDECREF(var_layer_past); var_layer_past = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_past_key_values); par_past_key_values = NULL; CHECK_OBJECT(par_beam_idx); Py_DECREF(par_beam_idx); par_beam_idx = NULL; Py_XDECREF(var_reordered_past); var_reordered_past = NULL; Py_XDECREF(var_layer_past); var_layer_past = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } struct models$modeling_llama$$$function__32__reorder_cache$$$genexpr__1_genexpr_locals { PyObject *var_past_state; PyObject *tmp_iter_value_0; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; char yield_tmps[1024]; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; int exception_keeper_lineno_2; }; static PyObject *models$modeling_llama$$$function__32__reorder_cache$$$genexpr__1_genexpr_context(struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value) { CHECK_OBJECT(generator); assert(Nuitka_Generator_Check((PyObject *)generator)); CHECK_OBJECT_X(yield_return_value); // Heap access if used. struct models$modeling_llama$$$function__32__reorder_cache$$$genexpr__1_genexpr_locals *generator_heap = (struct models$modeling_llama$$$function__32__reorder_cache$$$genexpr__1_genexpr_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { case 1: goto yield_return_1; } // Local variable initialization NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; static struct Nuitka_FrameObject *cache_m_frame = NULL; generator_heap->var_past_state = NULL; generator_heap->tmp_iter_value_0 = NULL; generator_heap->type_description_1 = NULL; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; // Actual generator function body. // Tried code: if (isFrameUnusable(cache_m_frame)) { Py_XDECREF(cache_m_frame); #if _DEBUG_REFCOUNTS if (cache_m_frame == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_0bf645264150dca3bf6477b51a7f2003, module_models$modeling_llama, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } generator->m_frame = cache_m_frame; // Mark the frame object as in use, ref count 1 will be up for reuse. Py_INCREF(generator->m_frame); assert(Py_REFCNT(generator->m_frame) == 2); // Frame stack #if PYTHON_VERSION >= 0x340 generator->m_frame->m_frame.f_gen = (PyObject *)generator; #endif assert(generator->m_frame->m_frame.f_back == NULL); Py_CLEAR(generator->m_frame->m_frame.f_back); generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame; Py_INCREF(generator->m_frame->m_frame.f_back); PyThreadState_GET()->frame = &generator->m_frame->m_frame; Py_INCREF(generator->m_frame); Nuitka_Frame_MarkAsExecuting(generator->m_frame); #if PYTHON_VERSION >= 0x300 // Accept currently existing exception as the one to publish again when we // yield or yield from. { PyThreadState *thread_state = PyThreadState_GET(); EXC_TYPE_F(generator) = EXC_TYPE(thread_state); if (EXC_TYPE_F(generator) == Py_None) EXC_TYPE_F(generator) = NULL; Py_XINCREF(EXC_TYPE_F(generator)); EXC_VALUE_F(generator) = EXC_VALUE(thread_state); Py_XINCREF(EXC_VALUE_F(generator)); EXC_TRACEBACK_F(generator) = EXC_TRACEBACK(thread_state); Py_XINCREF(EXC_TRACEBACK_F(generator)); } #endif // Framed code: // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_1; CHECK_OBJECT(Nuitka_Cell_GET(generator->m_closure[1])); tmp_next_source_1 = Nuitka_Cell_GET(generator->m_closure[1]); tmp_assign_source_1 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_1 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->type_description_1 = "Noc"; generator_heap->exception_lineno = 754; goto try_except_handler_2; } } { PyObject *old = generator_heap->tmp_iter_value_0; generator_heap->tmp_iter_value_0 = tmp_assign_source_1; Py_XDECREF(old); } } { PyObject *tmp_assign_source_2; CHECK_OBJECT(generator_heap->tmp_iter_value_0); tmp_assign_source_2 = generator_heap->tmp_iter_value_0; { PyObject *old = generator_heap->var_past_state; generator_heap->var_past_state = tmp_assign_source_2; Py_INCREF(generator_heap->var_past_state); Py_XDECREF(old); } } { PyObject *tmp_expression_name_1; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1; CHECK_OBJECT(generator_heap->var_past_state); tmp_expression_name_2 = generator_heap->var_past_state; tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[226]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 754; generator_heap->type_description_1 = "Noc"; goto try_except_handler_2; } tmp_args_element_name_1 = mod_consts[14]; if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) { Py_DECREF(tmp_called_name_1); FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[227]); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); CHAIN_EXCEPTION(generator_heap->exception_value); generator_heap->exception_lineno = 754; generator_heap->type_description_1 = "Noc"; goto try_except_handler_2; } tmp_args_element_name_2 = Nuitka_Cell_GET(generator->m_closure[0]); generator->m_frame->m_frame.f_lineno = 754; { PyObject *call_args[] = {tmp_args_element_name_1, tmp_args_element_name_2}; tmp_expression_name_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_1, call_args); } Py_DECREF(tmp_called_name_1); if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 754; generator_heap->type_description_1 = "Noc"; goto try_except_handler_2; } Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_called_name_1, sizeof(PyObject *), &tmp_expression_name_2, sizeof(PyObject *), &tmp_args_element_name_1, sizeof(PyObject *), &tmp_args_element_name_2, sizeof(PyObject *), NULL); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_called_name_1, sizeof(PyObject *), &tmp_expression_name_2, sizeof(PyObject *), &tmp_args_element_name_1, sizeof(PyObject *), &tmp_args_element_name_2, sizeof(PyObject *), NULL); if (yield_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 754; generator_heap->type_description_1 = "Noc"; goto try_except_handler_2; } tmp_yield_result_1 = yield_return_value; } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); generator_heap->exception_lineno = 754; generator_heap->type_description_1 = "Noc"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; goto try_end_1; // Exception handler code: try_except_handler_2:; generator_heap->exception_keeper_type_1 = generator_heap->exception_type; generator_heap->exception_keeper_value_1 = generator_heap->exception_value; generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; Py_XDECREF(generator_heap->tmp_iter_value_0); generator_heap->tmp_iter_value_0 = NULL; // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_1; generator_heap->exception_value = generator_heap->exception_keeper_value_1; generator_heap->exception_tb = generator_heap->exception_keeper_tb_1; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1; goto frame_exception_exit_1; // End of try: try_end_1:; Nuitka_Frame_MarkAsNotExecuting(generator->m_frame); #if PYTHON_VERSION >= 0x300 Py_CLEAR(EXC_TYPE_F(generator)); Py_CLEAR(EXC_VALUE_F(generator)); Py_CLEAR(EXC_TRACEBACK_F(generator)); #endif // Allow re-use of the frame again. Py_DECREF(generator->m_frame); goto frame_no_exception_1; frame_exception_exit_1:; // If it's not an exit exception, consider and create a traceback for it. if (!EXCEPTION_MATCH_GENERATOR(generator_heap->exception_type)) { if (generator_heap->exception_tb == NULL) { generator_heap->exception_tb = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_lineno); } else if (generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame) { generator_heap->exception_tb = ADD_TRACEBACK(generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno); } Nuitka_Frame_AttachLocals( generator->m_frame, generator_heap->type_description_1, NULL, generator_heap->var_past_state, generator->m_closure[0] ); // Release cached frame if used for exception. if (generator->m_frame == cache_m_frame) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_m_frame); cache_m_frame = NULL; } assertFrameObject(generator->m_frame); } #if PYTHON_VERSION >= 0x300 Py_CLEAR(EXC_TYPE_F(generator)); Py_CLEAR(EXC_VALUE_F(generator)); Py_CLEAR(EXC_TRACEBACK_F(generator)); #endif Py_DECREF(generator->m_frame); // Return the error. goto try_except_handler_1; frame_no_exception_1:; goto try_end_2; // Exception handler code: try_except_handler_1:; generator_heap->exception_keeper_type_2 = generator_heap->exception_type; generator_heap->exception_keeper_value_2 = generator_heap->exception_value; generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; Py_XDECREF(generator_heap->var_past_state); generator_heap->var_past_state = NULL; // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_2; generator_heap->exception_value = generator_heap->exception_keeper_value_2; generator_heap->exception_tb = generator_heap->exception_keeper_tb_2; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2; goto function_exception_exit; // End of try: try_end_2:; Py_XDECREF(generator_heap->tmp_iter_value_0); generator_heap->tmp_iter_value_0 = NULL; Py_XDECREF(generator_heap->var_past_state); generator_heap->var_past_state = NULL; return NULL; function_exception_exit: assert(generator_heap->exception_type); RESTORE_ERROR_OCCURRED(generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb); return NULL; } static PyObject *MAKE_GENERATOR_models$modeling_llama$$$function__32__reorder_cache$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) { return Nuitka_Generator_New( models$modeling_llama$$$function__32__reorder_cache$$$genexpr__1_genexpr_context, module_models$modeling_llama, mod_consts[201], #if PYTHON_VERSION >= 0x350 mod_consts[228], #endif codeobj_0bf645264150dca3bf6477b51a7f2003, closure, 2, sizeof(struct models$modeling_llama$$$function__32__reorder_cache$$$genexpr__1_genexpr_locals) ); } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__10_forward() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__10_forward, mod_consts[282], #if PYTHON_VERSION >= 0x300 mod_consts[291], #endif codeobj_62a79f1c410f5a7722a1410b65e3d18a, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__11___init__(PyObject *annotations, struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__11___init__, mod_consts[32], #if PYTHON_VERSION >= 0x300 mod_consts[293], #endif codeobj_0ad3c42e181292178c7936502c2f7430, NULL, #if PYTHON_VERSION >= 0x300 NULL, annotations, #endif module_models$modeling_llama, NULL, closure, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__12__shape(PyObject *annotations) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__12__shape, mod_consts[294], #if PYTHON_VERSION >= 0x300 mod_consts[295], #endif codeobj_f31112a82b6d451edce0ceec3d4f5560, NULL, #if PYTHON_VERSION >= 0x300 NULL, annotations, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__13_forward(PyObject *defaults, PyObject *annotations) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__13_forward, mod_consts[282], #if PYTHON_VERSION >= 0x300 mod_consts[299], #endif codeobj_946cee16beaa54a0e81a9daa8677f97e, defaults, #if PYTHON_VERSION >= 0x300 NULL, annotations, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__14___init__(PyObject *annotations, struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__14___init__, mod_consts[32], #if PYTHON_VERSION >= 0x300 mod_consts[300], #endif codeobj_1ad920172ce0ce172659e0f425a48750, NULL, #if PYTHON_VERSION >= 0x300 NULL, annotations, #endif module_models$modeling_llama, NULL, closure, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__15_forward(PyObject *defaults, PyObject *annotations) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__15_forward, mod_consts[282], #if PYTHON_VERSION >= 0x300 mod_consts[302], #endif codeobj_70854e41c56fe5eee0f0a9936eb360bf, defaults, #if PYTHON_VERSION >= 0x300 NULL, annotations, #endif module_models$modeling_llama, mod_consts[144], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__16__init_weights() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__16__init_weights, mod_consts[314], #if PYTHON_VERSION >= 0x300 mod_consts[315], #endif codeobj_09a61b81c452dbc8a34df4d6a59c7c55, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__17__set_gradient_checkpointing(PyObject *defaults) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__17__set_gradient_checkpointing, mod_consts[317], #if PYTHON_VERSION >= 0x300 mod_consts[318], #endif codeobj_f437efa8710cbbb70af30b9d54241009, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__18___init__(PyObject *annotations, struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__18___init__, mod_consts[32], #if PYTHON_VERSION >= 0x300 mod_consts[322], #endif codeobj_45248b6ce1a7d57704c8c737dc971859, NULL, #if PYTHON_VERSION >= 0x300 NULL, annotations, #endif module_models$modeling_llama, NULL, closure, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__19_get_input_embeddings() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__19_get_input_embeddings, mod_consts[323], #if PYTHON_VERSION >= 0x300 mod_consts[324], #endif codeobj_6c282c8d6b8bf19a45998db55bce5931, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__1__make_causal_mask(PyObject *defaults, PyObject *annotations) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__1__make_causal_mask, mod_consts[166], #if PYTHON_VERSION >= 0x300 NULL, #endif codeobj_afac492b3bc88f3584403f9b1d4fc0ca, defaults, #if PYTHON_VERSION >= 0x300 NULL, annotations, #endif module_models$modeling_llama, mod_consts[24], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__20_set_input_embeddings() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__20_set_input_embeddings, mod_consts[325], #if PYTHON_VERSION >= 0x300 mod_consts[326], #endif codeobj_665c3f1cec895ee4f51349c0fd396d92, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__21__prepare_decoder_attention_mask() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__21__prepare_decoder_attention_mask, mod_consts[181], #if PYTHON_VERSION >= 0x300 mod_consts[327], #endif codeobj_7ec521dc71dd8971217328f7e27574e8, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__22_forward(PyObject *defaults, PyObject *annotations) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__22_forward, mod_consts[282], #if PYTHON_VERSION >= 0x300 mod_consts[329], #endif codeobj_f85cccd268d3146046e93cf36289e67a, defaults, #if PYTHON_VERSION >= 0x300 NULL, annotations, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__22_forward$$$function__1_create_custom_forward(struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__22_forward$$$function__1_create_custom_forward, mod_consts[189], #if PYTHON_VERSION >= 0x300 mod_consts[190], #endif codeobj_2ce127e57fc75426d2a6e2805b8b374d, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, closure, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__22_forward$$$function__1_create_custom_forward$$$function__1_custom_forward(struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__22_forward$$$function__1_create_custom_forward$$$function__1_custom_forward, mod_consts[198], #if PYTHON_VERSION >= 0x300 mod_consts[199], #endif codeobj_b4f214bd3cde2ab1b0be661bbce2cf57, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, closure, 2 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__23___init__(struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__23___init__, mod_consts[32], #if PYTHON_VERSION >= 0x300 mod_consts[331], #endif codeobj_af13abb0cc2351b5f5b393e2acc0b056, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, closure, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__24_get_input_embeddings() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__24_get_input_embeddings, mod_consts[323], #if PYTHON_VERSION >= 0x300 mod_consts[332], #endif codeobj_6f07a55f43d8fc2b2b6c0d3fdef34b4b, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__25_set_input_embeddings() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__25_set_input_embeddings, mod_consts[325], #if PYTHON_VERSION >= 0x300 mod_consts[333], #endif codeobj_d651ab60ba265483702bf3c01175dea8, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__26_get_output_embeddings() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__26_get_output_embeddings, mod_consts[334], #if PYTHON_VERSION >= 0x300 mod_consts[335], #endif codeobj_e5f8594c1ee7511e7c927efb6686b6c4, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__27_set_output_embeddings() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__27_set_output_embeddings, mod_consts[336], #if PYTHON_VERSION >= 0x300 mod_consts[337], #endif codeobj_4aaa4b40029a15584899573348c54723, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__28_set_decoder() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__28_set_decoder, mod_consts[338], #if PYTHON_VERSION >= 0x300 mod_consts[339], #endif codeobj_5e5d312b178487ab3f5527465551d2d4, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__29_get_decoder() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__29_get_decoder, mod_consts[340], #if PYTHON_VERSION >= 0x300 mod_consts[341], #endif codeobj_56724c513f939913a896f3556a51c73f, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__2__expand_mask(PyObject *defaults, PyObject *annotations) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__2__expand_mask, mod_consts[168], #if PYTHON_VERSION >= 0x300 NULL, #endif codeobj_abb5b7acfd901868aef4d2366bcf6565, defaults, #if PYTHON_VERSION >= 0x300 NULL, annotations, #endif module_models$modeling_llama, mod_consts[30], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__30_forward(PyObject *defaults, PyObject *annotations) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__30_forward, mod_consts[282], #if PYTHON_VERSION >= 0x300 mod_consts[345], #endif codeobj_dd2059866c881e3f95a83278e7c7e817, defaults, #if PYTHON_VERSION >= 0x300 NULL, annotations, #endif module_models$modeling_llama, mod_consts[215], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__31_prepare_inputs_for_generation(PyObject *defaults) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__31_prepare_inputs_for_generation, mod_consts[347], #if PYTHON_VERSION >= 0x300 mod_consts[348], #endif codeobj_57bd173b2570561cb4e3a121dd7fa21d, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__32__reorder_cache() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__32__reorder_cache, mod_consts[350], #if PYTHON_VERSION >= 0x300 mod_consts[351], #endif codeobj_a7c0483b9d65c83ba388d353ba9481db, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__3___init__(PyObject *defaults, struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__3___init__, mod_consts[32], #if PYTHON_VERSION >= 0x300 mod_consts[281], #endif codeobj_0bb23957f71874ab212d48ec53f578f9, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, mod_consts[38], closure, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__4_forward() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__4_forward, mod_consts[282], #if PYTHON_VERSION >= 0x300 mod_consts[283], #endif codeobj_9778e8bbcc730a14db1505b1bf09e315, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__5___init__(PyObject *defaults, struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__5___init__, mod_consts[32], #if PYTHON_VERSION >= 0x300 mod_consts[286], #endif codeobj_78e3711e3cafeb58cf29e8b25617a9e0, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, closure, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__6_forward(PyObject *defaults) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__6_forward, mod_consts[282], #if PYTHON_VERSION >= 0x300 mod_consts[287], #endif codeobj_03daddd79d79be6b65f276d9f318ba49, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__7_rotate_half() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__7_rotate_half, mod_consts[73], #if PYTHON_VERSION >= 0x300 NULL, #endif codeobj_9e040397e2554ecbd4bfb2870d7f13bd, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, mod_consts[67], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__8_apply_rotary_pos_emb() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__8_apply_rotary_pos_emb, mod_consts[108], #if PYTHON_VERSION >= 0x300 NULL, #endif codeobj_175cc427deba3e5032b050ced786acda, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$modeling_llama, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$modeling_llama$$$function__9___init__(PyObject *annotations, struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$modeling_llama$$$function__9___init__, mod_consts[32], #if PYTHON_VERSION >= 0x300 mod_consts[290], #endif codeobj_c812a220ca24815dfca385c9b756a3e4, NULL, #if PYTHON_VERSION >= 0x300 NULL, annotations, #endif module_models$modeling_llama, NULL, closure, 1 ); return (PyObject *)result; } extern void _initCompiledCellType(); extern void _initCompiledGeneratorType(); extern void _initCompiledFunctionType(); extern void _initCompiledMethodType(); extern void _initCompiledFrameType(); extern PyTypeObject Nuitka_Loader_Type; #ifdef _NUITKA_PLUGIN_DILL_ENABLED // Provide a way to create find a function via its C code and create it back // in another process, useful for multiprocessing extensions like dill extern void registerDillPluginTables(char const *module_name, PyMethodDef *reduce_compiled_function, PyMethodDef *create_compiled_function); function_impl_code functable_models$modeling_llama[] = { impl_models$modeling_llama$$$function__22_forward$$$function__1_create_custom_forward, impl_models$modeling_llama$$$function__22_forward$$$function__1_create_custom_forward$$$function__1_custom_forward, impl_models$modeling_llama$$$function__1__make_causal_mask, impl_models$modeling_llama$$$function__2__expand_mask, impl_models$modeling_llama$$$function__3___init__, impl_models$modeling_llama$$$function__4_forward, impl_models$modeling_llama$$$function__5___init__, impl_models$modeling_llama$$$function__6_forward, impl_models$modeling_llama$$$function__7_rotate_half, impl_models$modeling_llama$$$function__8_apply_rotary_pos_emb, impl_models$modeling_llama$$$function__9___init__, impl_models$modeling_llama$$$function__10_forward, impl_models$modeling_llama$$$function__11___init__, impl_models$modeling_llama$$$function__12__shape, impl_models$modeling_llama$$$function__13_forward, impl_models$modeling_llama$$$function__14___init__, impl_models$modeling_llama$$$function__15_forward, impl_models$modeling_llama$$$function__16__init_weights, impl_models$modeling_llama$$$function__17__set_gradient_checkpointing, impl_models$modeling_llama$$$function__18___init__, impl_models$modeling_llama$$$function__19_get_input_embeddings, impl_models$modeling_llama$$$function__20_set_input_embeddings, impl_models$modeling_llama$$$function__21__prepare_decoder_attention_mask, impl_models$modeling_llama$$$function__22_forward, impl_models$modeling_llama$$$function__23___init__, impl_models$modeling_llama$$$function__24_get_input_embeddings, impl_models$modeling_llama$$$function__25_set_input_embeddings, impl_models$modeling_llama$$$function__26_get_output_embeddings, impl_models$modeling_llama$$$function__27_set_output_embeddings, impl_models$modeling_llama$$$function__28_set_decoder, impl_models$modeling_llama$$$function__29_get_decoder, impl_models$modeling_llama$$$function__30_forward, impl_models$modeling_llama$$$function__31_prepare_inputs_for_generation, impl_models$modeling_llama$$$function__32__reorder_cache, NULL }; static char const *_reduce_compiled_function_argnames[] = { "func", NULL }; static PyObject *_reduce_compiled_function(PyObject *self, PyObject *args, PyObject *kwds) { PyObject *func; if (!PyArg_ParseTupleAndKeywords(args, kwds, "O:reduce_compiled_function", (char **)_reduce_compiled_function_argnames, &func, NULL)) { return NULL; } if (Nuitka_Function_Check(func) == false) { SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "not a compiled function"); return NULL; } struct Nuitka_FunctionObject *function = (struct Nuitka_FunctionObject *)func; function_impl_code *current = functable_models$modeling_llama; int offset = 0; while (*current != NULL) { if (*current == function->m_c_code) { break; } current += 1; offset += 1; } if (*current == NULL) { SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "Cannot find compiled function in module."); return NULL; } PyObject *code_object_desc = PyTuple_New(6); PyTuple_SET_ITEM0(code_object_desc, 0, function->m_code_object->co_filename); PyTuple_SET_ITEM0(code_object_desc, 1, function->m_code_object->co_name); PyTuple_SET_ITEM(code_object_desc, 2, PyLong_FromLong(function->m_code_object->co_firstlineno)); PyTuple_SET_ITEM0(code_object_desc, 3, function->m_code_object->co_varnames); PyTuple_SET_ITEM(code_object_desc, 4, PyLong_FromLong(function->m_code_object->co_argcount)); PyTuple_SET_ITEM(code_object_desc, 5, PyLong_FromLong(function->m_code_object->co_flags)); CHECK_OBJECT_DEEP(code_object_desc); PyObject *result = PyTuple_New(4); PyTuple_SET_ITEM(result, 0, PyLong_FromLong(offset)); PyTuple_SET_ITEM(result, 1, code_object_desc); PyTuple_SET_ITEM0(result, 2, function->m_defaults); PyTuple_SET_ITEM0(result, 3, function->m_doc != NULL ? function->m_doc : Py_None); CHECK_OBJECT_DEEP(result); return result; } static PyMethodDef _method_def_reduce_compiled_function = {"reduce_compiled_function", (PyCFunction)_reduce_compiled_function, METH_VARARGS | METH_KEYWORDS, NULL}; static char const *_create_compiled_function_argnames[] = { "func", "code_object_desc", "defaults", "doc", NULL }; static PyObject *_create_compiled_function(PyObject *self, PyObject *args, PyObject *kwds) { CHECK_OBJECT_DEEP(args); PyObject *func; PyObject *code_object_desc; PyObject *defaults; PyObject *doc; if (!PyArg_ParseTupleAndKeywords(args, kwds, "OOOO:create_compiled_function", (char **)_create_compiled_function_argnames, &func, &code_object_desc, &defaults, &doc, NULL)) { return NULL; } int offset = PyLong_AsLong(func); if (offset == -1 && ERROR_OCCURRED()) { return NULL; } if (offset > sizeof(functable_models$modeling_llama) || offset < 0) { SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "Wrong offset for compiled function."); return NULL; } PyObject *filename = PyTuple_GET_ITEM(code_object_desc, 0); PyObject *function_name = PyTuple_GET_ITEM(code_object_desc, 1); PyObject *line = PyTuple_GET_ITEM(code_object_desc, 2); int line_int = PyLong_AsLong(line); assert(!ERROR_OCCURRED()); PyObject *argnames = PyTuple_GET_ITEM(code_object_desc, 3); PyObject *arg_count = PyTuple_GET_ITEM(code_object_desc, 4); int arg_count_int = PyLong_AsLong(arg_count); assert(!ERROR_OCCURRED()); PyObject *flags = PyTuple_GET_ITEM(code_object_desc, 5); int flags_int = PyLong_AsLong(flags); assert(!ERROR_OCCURRED()); PyCodeObject *code_object = MAKE_CODEOBJECT( filename, line_int, flags_int, function_name, argnames, NULL, // freevars arg_count_int, 0, // TODO: Missing kw_only_count 0 // TODO: Missing pos_only_count ); struct Nuitka_FunctionObject *result = Nuitka_Function_New( functable_models$modeling_llama[offset], code_object->co_name, #if PYTHON_VERSION >= 0x300 NULL, // TODO: Not transferring qualname yet #endif code_object, defaults, #if PYTHON_VERSION >= 0x300 NULL, // kwdefaults are done on the outside currently NULL, // TODO: Not transferring annotations #endif module_models$modeling_llama, doc, NULL, 0 ); return (PyObject *)result; } static PyMethodDef _method_def_create_compiled_function = { "create_compiled_function", (PyCFunction)_create_compiled_function, METH_VARARGS | METH_KEYWORDS, NULL }; #endif // Internal entry point for module code. PyObject *modulecode_models$modeling_llama(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *module_entry) { module_models$modeling_llama = module; #ifdef _NUITKA_MODULE // In case of a stand alone extension module, need to call initialization // the init here because that's the first and only time we are going to get // called here. // Initialize the constant values used. _initBuiltinModule(); createGlobalConstants(); /* Initialize the compiled types of Nuitka. */ _initCompiledCellType(); _initCompiledGeneratorType(); _initCompiledFunctionType(); _initCompiledMethodType(); _initCompiledFrameType(); #if PYTHON_VERSION < 0x300 _initSlotCompare(); #endif #if PYTHON_VERSION >= 0x270 _initSlotIternext(); #endif patchBuiltinModule(); patchTypeComparison(); // Enable meta path based loader if not already done. #ifdef _NUITKA_TRACE PRINT_STRING("models.modeling_llama: Calling setupMetaPathBasedLoader().\n"); #endif setupMetaPathBasedLoader(); #if PYTHON_VERSION >= 0x300 patchInspectModule(); #endif #endif /* The constants only used by this module are created now. */ #ifdef _NUITKA_TRACE PRINT_STRING("models.modeling_llama: Calling createModuleConstants().\n"); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE PRINT_STRING("models.modeling_llama: Calling createModuleCodeObjects().\n"); #endif createModuleCodeObjects(); // PRINT_STRING("in initmodels$modeling_llama\n"); // Create the module object first. There are no methods initially, all are // added dynamically in actual code only. Also no "__doc__" is initially // set at this time, as it could not contain NUL characters this way, they // are instead set in early module code. No "self" for modules, we have no // use for it. moduledict_models$modeling_llama = MODULE_DICT(module_models$modeling_llama); #ifdef _NUITKA_PLUGIN_DILL_ENABLED registerDillPluginTables(module_entry->name, &_method_def_reduce_compiled_function, &_method_def_create_compiled_function); #endif // Set "__compiled__" to what version information we have. UPDATE_STRING_DICT0( moduledict_models$modeling_llama, (Nuitka_StringObject *)const_str_plain___compiled__, Nuitka_dunder_compiled_value ); // Update "__package__" value to what it ought to be. { #if 0 UPDATE_STRING_DICT0( moduledict_models$modeling_llama, (Nuitka_StringObject *)const_str_plain___package__, const_str_empty ); #elif 0 PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)const_str_plain___name__); UPDATE_STRING_DICT0( moduledict_models$modeling_llama, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 0x300 PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)const_str_plain___name__); char const *module_name_cstr = PyString_AS_STRING(module_name); char const *last_dot = strrchr(module_name_cstr, '.'); if (last_dot != NULL) { UPDATE_STRING_DICT1( moduledict_models$modeling_llama, (Nuitka_StringObject *)const_str_plain___package__, PyString_FromStringAndSize(module_name_cstr, last_dot - module_name_cstr) ); } #else PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)const_str_plain___name__); Py_ssize_t dot_index = PyUnicode_Find(module_name, const_str_dot, 0, PyUnicode_GetLength(module_name), -1); if (dot_index != -1) { UPDATE_STRING_DICT1( moduledict_models$modeling_llama, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring(module_name, 0, dot_index) ); } #endif #endif } CHECK_OBJECT(module_models$modeling_llama); // For deep importing of a module we need to have "__builtins__", so we set // it ourselves in the same way than CPython does. Note: This must be done // before the frame object is allocated, or else it may fail. if (GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)const_str_plain___builtins__) == NULL) { PyObject *value = (PyObject *)builtin_module; // Check if main module, not a dict then but the module itself. #if !defined(_NUITKA_EXE) || !0 value = PyModule_GetDict(value); #endif UPDATE_STRING_DICT0(moduledict_models$modeling_llama, (Nuitka_StringObject *)const_str_plain___builtins__, value); } #if PYTHON_VERSION >= 0x300 UPDATE_STRING_DICT0(moduledict_models$modeling_llama, (Nuitka_StringObject *)const_str_plain___loader__, (PyObject *)&Nuitka_Loader_Type); #endif #if PYTHON_VERSION >= 0x340 // Set the "__spec__" value #if 0 // Main modules just get "None" as spec. UPDATE_STRING_DICT0(moduledict_models$modeling_llama, (Nuitka_StringObject *)const_str_plain___spec__, Py_None); #else // Other modules get a "ModuleSpec" from the standard mechanism. { PyObject *bootstrap_module = getImportLibBootstrapModule(); CHECK_OBJECT(bootstrap_module); PyObject *_spec_from_module = PyObject_GetAttrString(bootstrap_module, "_spec_from_module"); CHECK_OBJECT(_spec_from_module); PyObject *spec_value = CALL_FUNCTION_WITH_SINGLE_ARG(_spec_from_module, module_models$modeling_llama); Py_DECREF(_spec_from_module); // We can assume this to never fail, or else we are in trouble anyway. // CHECK_OBJECT(spec_value); if (spec_value == NULL) { PyErr_PrintEx(0); abort(); } // Mark the execution in the "__spec__" value. SET_ATTRIBUTE(spec_value, const_str_plain__initializing, Py_True); UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)const_str_plain___spec__, spec_value); } #endif #endif // Temp variables if any struct Nuitka_CellObject *outline_0_var___class__ = Nuitka_Cell_Empty(); struct Nuitka_CellObject *outline_1_var___class__ = Nuitka_Cell_Empty(); struct Nuitka_CellObject *outline_2_var___class__ = Nuitka_Cell_Empty(); struct Nuitka_CellObject *outline_3_var___class__ = Nuitka_Cell_Empty(); struct Nuitka_CellObject *outline_4_var___class__ = Nuitka_Cell_Empty(); PyObject *outline_5_var___class__ = NULL; struct Nuitka_CellObject *outline_6_var___class__ = Nuitka_Cell_Empty(); struct Nuitka_CellObject *outline_7_var___class__ = Nuitka_Cell_Empty(); PyObject *tmp_class_creation_1__bases = NULL; PyObject *tmp_class_creation_1__bases_orig = NULL; PyObject *tmp_class_creation_1__class_decl_dict = NULL; PyObject *tmp_class_creation_1__metaclass = NULL; PyObject *tmp_class_creation_1__prepared = NULL; PyObject *tmp_class_creation_2__bases = NULL; PyObject *tmp_class_creation_2__bases_orig = NULL; PyObject *tmp_class_creation_2__class_decl_dict = NULL; PyObject *tmp_class_creation_2__metaclass = NULL; PyObject *tmp_class_creation_2__prepared = NULL; PyObject *tmp_class_creation_3__bases = NULL; PyObject *tmp_class_creation_3__bases_orig = NULL; PyObject *tmp_class_creation_3__class_decl_dict = NULL; PyObject *tmp_class_creation_3__metaclass = NULL; PyObject *tmp_class_creation_3__prepared = NULL; PyObject *tmp_class_creation_4__bases = NULL; PyObject *tmp_class_creation_4__bases_orig = NULL; PyObject *tmp_class_creation_4__class_decl_dict = NULL; PyObject *tmp_class_creation_4__metaclass = NULL; PyObject *tmp_class_creation_4__prepared = NULL; PyObject *tmp_class_creation_5__bases = NULL; PyObject *tmp_class_creation_5__bases_orig = NULL; PyObject *tmp_class_creation_5__class_decl_dict = NULL; PyObject *tmp_class_creation_5__metaclass = NULL; PyObject *tmp_class_creation_5__prepared = NULL; PyObject *tmp_class_creation_6__bases = NULL; PyObject *tmp_class_creation_6__bases_orig = NULL; PyObject *tmp_class_creation_6__class_decl_dict = NULL; PyObject *tmp_class_creation_6__metaclass = NULL; PyObject *tmp_class_creation_6__prepared = NULL; PyObject *tmp_class_creation_7__bases = NULL; PyObject *tmp_class_creation_7__bases_orig = NULL; PyObject *tmp_class_creation_7__class_decl_dict = NULL; PyObject *tmp_class_creation_7__metaclass = NULL; PyObject *tmp_class_creation_7__prepared = NULL; PyObject *tmp_class_creation_8__bases = NULL; PyObject *tmp_class_creation_8__bases_orig = NULL; PyObject *tmp_class_creation_8__class_decl_dict = NULL; PyObject *tmp_class_creation_8__metaclass = NULL; PyObject *tmp_class_creation_8__prepared = NULL; PyObject *tmp_import_from_1__module = NULL; PyObject *tmp_import_from_2__module = NULL; PyObject *tmp_import_from_3__module = NULL; PyObject *tmp_import_from_4__module = NULL; struct Nuitka_FrameObject *frame_b47d89b49d102399398e0765f596b180; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; bool tmp_result; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; int tmp_res; PyObject *tmp_dictdel_dict; PyObject *tmp_dictdel_key; PyObject *locals_models$modeling_llama$$$class__1_LlamaRMSNorm_58 = NULL; PyObject *tmp_dictset_value; struct Nuitka_FrameObject *frame_8d9c85872767131fcb53711a96f1cb64_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; static struct Nuitka_FrameObject *cache_frame_8d9c85872767131fcb53711a96f1cb64_2 = NULL; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; PyObject *locals_models$modeling_llama$$$class__2_LlamaRotaryEmbedding_78 = NULL; struct Nuitka_FrameObject *frame_1cc896795a78acf396f78e2df5833914_3; NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL; static struct Nuitka_FrameObject *cache_frame_1cc896795a78acf396f78e2df5833914_3 = NULL; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; PyObject *exception_keeper_type_9; PyObject *exception_keeper_value_9; PyTracebackObject *exception_keeper_tb_9; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; PyObject *exception_keeper_type_10; PyObject *exception_keeper_value_10; PyTracebackObject *exception_keeper_tb_10; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10; PyObject *locals_models$modeling_llama$$$class__3_LlamaMLP_127 = NULL; struct Nuitka_FrameObject *frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4; NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL; static struct Nuitka_FrameObject *cache_frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4 = NULL; PyObject *exception_keeper_type_11; PyObject *exception_keeper_value_11; PyTracebackObject *exception_keeper_tb_11; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11; PyObject *exception_keeper_type_12; PyObject *exception_keeper_value_12; PyTracebackObject *exception_keeper_tb_12; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; PyObject *exception_keeper_type_13; PyObject *exception_keeper_value_13; PyTracebackObject *exception_keeper_tb_13; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13; PyObject *locals_models$modeling_llama$$$class__4_LlamaAttention_144 = NULL; struct Nuitka_FrameObject *frame_aca01221fccc10a735da06b3d695c25b_5; NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL; static struct Nuitka_FrameObject *cache_frame_aca01221fccc10a735da06b3d695c25b_5 = NULL; PyObject *exception_keeper_type_14; PyObject *exception_keeper_value_14; PyTracebackObject *exception_keeper_tb_14; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14; PyObject *exception_keeper_type_15; PyObject *exception_keeper_value_15; PyTracebackObject *exception_keeper_tb_15; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15; PyObject *exception_keeper_type_16; PyObject *exception_keeper_value_16; PyTracebackObject *exception_keeper_tb_16; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16; PyObject *locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235 = NULL; struct Nuitka_FrameObject *frame_a5de3027f055170f0bf431b824d52d88_6; NUITKA_MAY_BE_UNUSED char const *type_description_6 = NULL; static struct Nuitka_FrameObject *cache_frame_a5de3027f055170f0bf431b824d52d88_6 = NULL; PyObject *exception_keeper_type_17; PyObject *exception_keeper_value_17; PyTracebackObject *exception_keeper_tb_17; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17; PyObject *exception_keeper_type_18; PyObject *exception_keeper_value_18; PyTracebackObject *exception_keeper_tb_18; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_18; PyObject *exception_keeper_type_19; PyObject *exception_keeper_value_19; PyTracebackObject *exception_keeper_tb_19; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_19; PyObject *locals_models$modeling_llama$$$class__6_LlamaPreTrainedModel_324 = NULL; struct Nuitka_FrameObject *frame_9171f0378e83efc52a6d63ba30cfd90a_7; NUITKA_MAY_BE_UNUSED char const *type_description_7 = NULL; static struct Nuitka_FrameObject *cache_frame_9171f0378e83efc52a6d63ba30cfd90a_7 = NULL; PyObject *exception_keeper_type_20; PyObject *exception_keeper_value_20; PyTracebackObject *exception_keeper_tb_20; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_20; PyObject *exception_keeper_type_21; PyObject *exception_keeper_value_21; PyTracebackObject *exception_keeper_tb_21; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_21; PyObject *exception_keeper_type_22; PyObject *exception_keeper_value_22; PyTracebackObject *exception_keeper_tb_22; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_22; PyObject *locals_models$modeling_llama$$$class__7_LlamaModel_415 = NULL; struct Nuitka_FrameObject *frame_8c53a3442347f49427162dbefea4c48e_8; NUITKA_MAY_BE_UNUSED char const *type_description_8 = NULL; static struct Nuitka_FrameObject *cache_frame_8c53a3442347f49427162dbefea4c48e_8 = NULL; PyObject *exception_keeper_type_23; PyObject *exception_keeper_value_23; PyTracebackObject *exception_keeper_tb_23; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_23; PyObject *exception_keeper_type_24; PyObject *exception_keeper_value_24; PyTracebackObject *exception_keeper_tb_24; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_24; PyObject *exception_keeper_type_25; PyObject *exception_keeper_value_25; PyTracebackObject *exception_keeper_tb_25; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_25; PyObject *locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600 = NULL; struct Nuitka_FrameObject *frame_d7f5c0252258d40dc97c13fce1ad00df_9; NUITKA_MAY_BE_UNUSED char const *type_description_9 = NULL; static struct Nuitka_FrameObject *cache_frame_d7f5c0252258d40dc97c13fce1ad00df_9 = NULL; PyObject *exception_keeper_type_26; PyObject *exception_keeper_value_26; PyTracebackObject *exception_keeper_tb_26; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_26; PyObject *exception_keeper_type_27; PyObject *exception_keeper_value_27; PyTracebackObject *exception_keeper_tb_27; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_27; PyObject *exception_keeper_type_28; PyObject *exception_keeper_value_28; PyTracebackObject *exception_keeper_tb_28; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_28; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = mod_consts[229]; UPDATE_STRING_DICT0(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[230], tmp_assign_source_1); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = module_filename_obj; UPDATE_STRING_DICT0(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[231], tmp_assign_source_2); } // Frame without reuse. frame_b47d89b49d102399398e0765f596b180 = MAKE_MODULE_FRAME(codeobj_b47d89b49d102399398e0765f596b180, module_models$modeling_llama); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack(frame_b47d89b49d102399398e0765f596b180); assert(Py_REFCNT(frame_b47d89b49d102399398e0765f596b180) == 2); // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; tmp_assattr_name_1 = module_filename_obj; tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[232]); if (unlikely(tmp_assattr_target_1 == NULL)) { tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[232]); } assert(!(tmp_assattr_target_1 == NULL)); tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[233], tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; tmp_assattr_name_2 = Py_True; tmp_assattr_target_2 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[232]); if (unlikely(tmp_assattr_target_2 == NULL)) { tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[232]); } assert(!(tmp_assattr_target_2 == NULL)); tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[234], tmp_assattr_name_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_3; tmp_assign_source_3 = Py_None; UPDATE_STRING_DICT0(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[235], tmp_assign_source_3); } { PyObject *tmp_assign_source_4; PyObject *tmp_name_name_1; PyObject *tmp_globals_arg_name_1; PyObject *tmp_locals_arg_name_1; PyObject *tmp_fromlist_name_1; PyObject *tmp_level_name_1; tmp_name_name_1 = mod_consts[114]; tmp_globals_arg_name_1 = (PyObject *)moduledict_models$modeling_llama; tmp_locals_arg_name_1 = Py_None; tmp_fromlist_name_1 = Py_None; tmp_level_name_1 = mod_consts[14]; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 4; tmp_assign_source_4 = IMPORT_MODULE5(tmp_name_name_1, tmp_globals_arg_name_1, tmp_locals_arg_name_1, tmp_fromlist_name_1, tmp_level_name_1); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 4; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[114], tmp_assign_source_4); } { PyObject *tmp_assign_source_5; PyObject *tmp_name_name_2; PyObject *tmp_globals_arg_name_2; PyObject *tmp_locals_arg_name_2; PyObject *tmp_fromlist_name_2; PyObject *tmp_level_name_2; tmp_name_name_2 = mod_consts[236]; tmp_globals_arg_name_2 = (PyObject *)moduledict_models$modeling_llama; tmp_locals_arg_name_2 = Py_None; tmp_fromlist_name_2 = mod_consts[237]; tmp_level_name_2 = mod_consts[14]; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 5; tmp_assign_source_5 = IMPORT_MODULE5(tmp_name_name_2, tmp_globals_arg_name_2, tmp_locals_arg_name_2, tmp_fromlist_name_2, tmp_level_name_2); if (tmp_assign_source_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 5; goto frame_exception_exit_1; } assert(tmp_import_from_1__module == NULL); tmp_import_from_1__module = tmp_assign_source_5; } // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_import_name_from_1; CHECK_OBJECT(tmp_import_from_1__module); tmp_import_name_from_1 = tmp_import_from_1__module; if (PyModule_Check(tmp_import_name_from_1)) { tmp_assign_source_6 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_1, (PyObject *)moduledict_models$modeling_llama, mod_consts[238], mod_consts[14] ); } else { tmp_assign_source_6 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[238]); } if (tmp_assign_source_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 5; goto try_except_handler_1; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[238], tmp_assign_source_6); } { PyObject *tmp_assign_source_7; PyObject *tmp_import_name_from_2; CHECK_OBJECT(tmp_import_from_1__module); tmp_import_name_from_2 = tmp_import_from_1__module; if (PyModule_Check(tmp_import_name_from_2)) { tmp_assign_source_7 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_2, (PyObject *)moduledict_models$modeling_llama, mod_consts[239], mod_consts[14] ); } else { tmp_assign_source_7 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[239]); } if (tmp_assign_source_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 5; goto try_except_handler_1; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239], tmp_assign_source_7); } { PyObject *tmp_assign_source_8; PyObject *tmp_import_name_from_3; CHECK_OBJECT(tmp_import_from_1__module); tmp_import_name_from_3 = tmp_import_from_1__module; if (PyModule_Check(tmp_import_name_from_3)) { tmp_assign_source_8 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_3, (PyObject *)moduledict_models$modeling_llama, mod_consts[240], mod_consts[14] ); } else { tmp_assign_source_8 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[240]); } if (tmp_assign_source_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 5; goto try_except_handler_1; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[240], tmp_assign_source_8); } { PyObject *tmp_assign_source_9; PyObject *tmp_import_name_from_4; CHECK_OBJECT(tmp_import_from_1__module); tmp_import_name_from_4 = tmp_import_from_1__module; if (PyModule_Check(tmp_import_name_from_4)) { tmp_assign_source_9 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_4, (PyObject *)moduledict_models$modeling_llama, mod_consts[241], mod_consts[14] ); } else { tmp_assign_source_9 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[241]); } if (tmp_assign_source_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 5; goto try_except_handler_1; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[241], tmp_assign_source_9); } goto try_end_1; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_import_from_1__module); Py_DECREF(tmp_import_from_1__module); tmp_import_from_1__module = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; // End of try: try_end_1:; CHECK_OBJECT(tmp_import_from_1__module); Py_DECREF(tmp_import_from_1__module); tmp_import_from_1__module = NULL; { PyObject *tmp_assign_source_10; PyObject *tmp_name_name_3; PyObject *tmp_globals_arg_name_3; PyObject *tmp_locals_arg_name_3; PyObject *tmp_fromlist_name_3; PyObject *tmp_level_name_3; tmp_name_name_3 = mod_consts[1]; tmp_globals_arg_name_3 = (PyObject *)moduledict_models$modeling_llama; tmp_locals_arg_name_3 = Py_None; tmp_fromlist_name_3 = Py_None; tmp_level_name_3 = mod_consts[14]; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 7; tmp_assign_source_10 = IMPORT_MODULE5(tmp_name_name_3, tmp_globals_arg_name_3, tmp_locals_arg_name_3, tmp_fromlist_name_3, tmp_level_name_3); if (tmp_assign_source_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 7; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1], tmp_assign_source_10); } { PyObject *tmp_assign_source_11; PyObject *tmp_name_name_4; PyObject *tmp_globals_arg_name_4; PyObject *tmp_locals_arg_name_4; PyObject *tmp_fromlist_name_4; PyObject *tmp_level_name_4; tmp_name_name_4 = mod_consts[242]; tmp_globals_arg_name_4 = (PyObject *)moduledict_models$modeling_llama; tmp_locals_arg_name_4 = Py_None; tmp_fromlist_name_4 = Py_None; tmp_level_name_4 = mod_consts[14]; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 8; tmp_assign_source_11 = IMPORT_MODULE5(tmp_name_name_4, tmp_globals_arg_name_4, tmp_locals_arg_name_4, tmp_fromlist_name_4, tmp_level_name_4); if (tmp_assign_source_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 8; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1], tmp_assign_source_11); } { PyObject *tmp_assign_source_12; PyObject *tmp_import_name_from_5; PyObject *tmp_name_name_5; PyObject *tmp_globals_arg_name_5; PyObject *tmp_locals_arg_name_5; PyObject *tmp_fromlist_name_5; PyObject *tmp_level_name_5; tmp_name_name_5 = mod_consts[1]; tmp_globals_arg_name_5 = (PyObject *)moduledict_models$modeling_llama; tmp_locals_arg_name_5 = Py_None; tmp_fromlist_name_5 = mod_consts[243]; tmp_level_name_5 = mod_consts[14]; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 9; tmp_import_name_from_5 = IMPORT_MODULE5(tmp_name_name_5, tmp_globals_arg_name_5, tmp_locals_arg_name_5, tmp_fromlist_name_5, tmp_level_name_5); if (tmp_import_name_from_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_5)) { tmp_assign_source_12 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_5, (PyObject *)moduledict_models$modeling_llama, mod_consts[33], mod_consts[14] ); } else { tmp_assign_source_12 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[33]); } Py_DECREF(tmp_import_name_from_5); if (tmp_assign_source_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[33], tmp_assign_source_12); } { PyObject *tmp_assign_source_13; PyObject *tmp_name_name_6; PyObject *tmp_globals_arg_name_6; PyObject *tmp_locals_arg_name_6; PyObject *tmp_fromlist_name_6; PyObject *tmp_level_name_6; tmp_name_name_6 = mod_consts[244]; tmp_globals_arg_name_6 = (PyObject *)moduledict_models$modeling_llama; tmp_locals_arg_name_6 = Py_None; tmp_fromlist_name_6 = mod_consts[245]; tmp_level_name_6 = mod_consts[14]; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 10; tmp_assign_source_13 = IMPORT_MODULE5(tmp_name_name_6, tmp_globals_arg_name_6, tmp_locals_arg_name_6, tmp_fromlist_name_6, tmp_level_name_6); if (tmp_assign_source_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 10; goto frame_exception_exit_1; } assert(tmp_import_from_2__module == NULL); tmp_import_from_2__module = tmp_assign_source_13; } // Tried code: { PyObject *tmp_assign_source_14; PyObject *tmp_import_name_from_6; CHECK_OBJECT(tmp_import_from_2__module); tmp_import_name_from_6 = tmp_import_from_2__module; if (PyModule_Check(tmp_import_name_from_6)) { tmp_assign_source_14 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_6, (PyObject *)moduledict_models$modeling_llama, mod_consts[246], mod_consts[14] ); } else { tmp_assign_source_14 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[246]); } if (tmp_assign_source_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 10; goto try_except_handler_2; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[246], tmp_assign_source_14); } { PyObject *tmp_assign_source_15; PyObject *tmp_import_name_from_7; CHECK_OBJECT(tmp_import_from_2__module); tmp_import_name_from_7 = tmp_import_from_2__module; if (PyModule_Check(tmp_import_name_from_7)) { tmp_assign_source_15 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_7, (PyObject *)moduledict_models$modeling_llama, mod_consts[209], mod_consts[14] ); } else { tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[209]); } if (tmp_assign_source_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 10; goto try_except_handler_2; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[209], tmp_assign_source_15); } { PyObject *tmp_assign_source_16; PyObject *tmp_import_name_from_8; CHECK_OBJECT(tmp_import_from_2__module); tmp_import_name_from_8 = tmp_import_from_2__module; if (PyModule_Check(tmp_import_name_from_8)) { tmp_assign_source_16 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_8, (PyObject *)moduledict_models$modeling_llama, mod_consts[247], mod_consts[14] ); } else { tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[247]); } if (tmp_assign_source_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 10; goto try_except_handler_2; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[247], tmp_assign_source_16); } goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_import_from_2__module); Py_DECREF(tmp_import_from_2__module); tmp_import_from_2__module = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; CHECK_OBJECT(tmp_import_from_2__module); Py_DECREF(tmp_import_from_2__module); tmp_import_from_2__module = NULL; { PyObject *tmp_assign_source_17; PyObject *tmp_import_name_from_9; PyObject *tmp_name_name_7; PyObject *tmp_globals_arg_name_7; PyObject *tmp_locals_arg_name_7; PyObject *tmp_fromlist_name_7; PyObject *tmp_level_name_7; tmp_name_name_7 = mod_consts[248]; tmp_globals_arg_name_7 = (PyObject *)moduledict_models$modeling_llama; tmp_locals_arg_name_7 = Py_None; tmp_fromlist_name_7 = mod_consts[249]; tmp_level_name_7 = mod_consts[14]; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 12; tmp_import_name_from_9 = IMPORT_MODULE5(tmp_name_name_7, tmp_globals_arg_name_7, tmp_locals_arg_name_7, tmp_fromlist_name_7, tmp_level_name_7); if (tmp_import_name_from_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 12; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_9)) { tmp_assign_source_17 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_9, (PyObject *)moduledict_models$modeling_llama, mod_consts[83], mod_consts[14] ); } else { tmp_assign_source_17 = IMPORT_NAME(tmp_import_name_from_9, mod_consts[83]); } Py_DECREF(tmp_import_name_from_9); if (tmp_assign_source_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 12; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[83], tmp_assign_source_17); } { PyObject *tmp_assign_source_18; PyObject *tmp_name_name_8; PyObject *tmp_globals_arg_name_8; PyObject *tmp_locals_arg_name_8; PyObject *tmp_fromlist_name_8; PyObject *tmp_level_name_8; tmp_name_name_8 = mod_consts[250]; tmp_globals_arg_name_8 = (PyObject *)moduledict_models$modeling_llama; tmp_locals_arg_name_8 = Py_None; tmp_fromlist_name_8 = mod_consts[251]; tmp_level_name_8 = mod_consts[14]; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 13; tmp_assign_source_18 = IMPORT_MODULE5(tmp_name_name_8, tmp_globals_arg_name_8, tmp_locals_arg_name_8, tmp_fromlist_name_8, tmp_level_name_8); if (tmp_assign_source_18 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 13; goto frame_exception_exit_1; } assert(tmp_import_from_3__module == NULL); tmp_import_from_3__module = tmp_assign_source_18; } // Tried code: { PyObject *tmp_assign_source_19; PyObject *tmp_import_name_from_10; CHECK_OBJECT(tmp_import_from_3__module); tmp_import_name_from_10 = tmp_import_from_3__module; if (PyModule_Check(tmp_import_name_from_10)) { tmp_assign_source_19 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_10, (PyObject *)moduledict_models$modeling_llama, mod_consts[195], mod_consts[14] ); } else { tmp_assign_source_19 = IMPORT_NAME(tmp_import_name_from_10, mod_consts[195]); } if (tmp_assign_source_19 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 13; goto try_except_handler_3; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[195], tmp_assign_source_19); } { PyObject *tmp_assign_source_20; PyObject *tmp_import_name_from_11; CHECK_OBJECT(tmp_import_from_3__module); tmp_import_name_from_11 = tmp_import_from_3__module; if (PyModule_Check(tmp_import_name_from_11)) { tmp_assign_source_20 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_11, (PyObject *)moduledict_models$modeling_llama, mod_consts[212], mod_consts[14] ); } else { tmp_assign_source_20 = IMPORT_NAME(tmp_import_name_from_11, mod_consts[212]); } if (tmp_assign_source_20 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 13; goto try_except_handler_3; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[212], tmp_assign_source_20); } { PyObject *tmp_assign_source_21; PyObject *tmp_import_name_from_12; CHECK_OBJECT(tmp_import_from_3__module); tmp_import_name_from_12 = tmp_import_from_3__module; if (PyModule_Check(tmp_import_name_from_12)) { tmp_assign_source_21 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_12, (PyObject *)moduledict_models$modeling_llama, mod_consts[252], mod_consts[14] ); } else { tmp_assign_source_21 = IMPORT_NAME(tmp_import_name_from_12, mod_consts[252]); } if (tmp_assign_source_21 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 13; goto try_except_handler_3; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[252], tmp_assign_source_21); } goto try_end_3; // Exception handler code: try_except_handler_3:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_import_from_3__module); Py_DECREF(tmp_import_from_3__module); tmp_import_from_3__module = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; // End of try: try_end_3:; CHECK_OBJECT(tmp_import_from_3__module); Py_DECREF(tmp_import_from_3__module); tmp_import_from_3__module = NULL; { PyObject *tmp_assign_source_22; PyObject *tmp_import_name_from_13; PyObject *tmp_name_name_9; PyObject *tmp_globals_arg_name_9; PyObject *tmp_locals_arg_name_9; PyObject *tmp_fromlist_name_9; PyObject *tmp_level_name_9; tmp_name_name_9 = mod_consts[253]; tmp_globals_arg_name_9 = (PyObject *)moduledict_models$modeling_llama; tmp_locals_arg_name_9 = Py_None; tmp_fromlist_name_9 = mod_consts[254]; tmp_level_name_9 = mod_consts[14]; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 14; tmp_import_name_from_13 = IMPORT_MODULE5(tmp_name_name_9, tmp_globals_arg_name_9, tmp_locals_arg_name_9, tmp_fromlist_name_9, tmp_level_name_9); if (tmp_import_name_from_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 14; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_13)) { tmp_assign_source_22 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_13, (PyObject *)moduledict_models$modeling_llama, mod_consts[255], mod_consts[14] ); } else { tmp_assign_source_22 = IMPORT_NAME(tmp_import_name_from_13, mod_consts[255]); } Py_DECREF(tmp_import_name_from_13); if (tmp_assign_source_22 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 14; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[255], tmp_assign_source_22); } { PyObject *tmp_assign_source_23; PyObject *tmp_name_name_10; PyObject *tmp_globals_arg_name_10; PyObject *tmp_locals_arg_name_10; PyObject *tmp_fromlist_name_10; PyObject *tmp_level_name_10; tmp_name_name_10 = mod_consts[256]; tmp_globals_arg_name_10 = (PyObject *)moduledict_models$modeling_llama; tmp_locals_arg_name_10 = Py_None; tmp_fromlist_name_10 = mod_consts[257]; tmp_level_name_10 = mod_consts[14]; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 15; tmp_assign_source_23 = IMPORT_MODULE5(tmp_name_name_10, tmp_globals_arg_name_10, tmp_locals_arg_name_10, tmp_fromlist_name_10, tmp_level_name_10); if (tmp_assign_source_23 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 15; goto frame_exception_exit_1; } assert(tmp_import_from_4__module == NULL); tmp_import_from_4__module = tmp_assign_source_23; } // Tried code: { PyObject *tmp_assign_source_24; PyObject *tmp_import_name_from_14; CHECK_OBJECT(tmp_import_from_4__module); tmp_import_name_from_14 = tmp_import_from_4__module; if (PyModule_Check(tmp_import_name_from_14)) { tmp_assign_source_24 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_14, (PyObject *)moduledict_models$modeling_llama, mod_consts[258], mod_consts[14] ); } else { tmp_assign_source_24 = IMPORT_NAME(tmp_import_name_from_14, mod_consts[258]); } if (tmp_assign_source_24 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 15; goto try_except_handler_4; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[258], tmp_assign_source_24); } { PyObject *tmp_assign_source_25; PyObject *tmp_import_name_from_15; CHECK_OBJECT(tmp_import_from_4__module); tmp_import_name_from_15 = tmp_import_from_4__module; if (PyModule_Check(tmp_import_name_from_15)) { tmp_assign_source_25 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_15, (PyObject *)moduledict_models$modeling_llama, mod_consts[259], mod_consts[14] ); } else { tmp_assign_source_25 = IMPORT_NAME(tmp_import_name_from_15, mod_consts[259]); } if (tmp_assign_source_25 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 15; goto try_except_handler_4; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[259], tmp_assign_source_25); } { PyObject *tmp_assign_source_26; PyObject *tmp_import_name_from_16; CHECK_OBJECT(tmp_import_from_4__module); tmp_import_name_from_16 = tmp_import_from_4__module; if (PyModule_Check(tmp_import_name_from_16)) { tmp_assign_source_26 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_16, (PyObject *)moduledict_models$modeling_llama, mod_consts[260], mod_consts[14] ); } else { tmp_assign_source_26 = IMPORT_NAME(tmp_import_name_from_16, mod_consts[260]); } if (tmp_assign_source_26 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 15; goto try_except_handler_4; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[260], tmp_assign_source_26); } { PyObject *tmp_assign_source_27; PyObject *tmp_import_name_from_17; CHECK_OBJECT(tmp_import_from_4__module); tmp_import_name_from_17 = tmp_import_from_4__module; if (PyModule_Check(tmp_import_name_from_17)) { tmp_assign_source_27 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_17, (PyObject *)moduledict_models$modeling_llama, mod_consts[261], mod_consts[14] ); } else { tmp_assign_source_27 = IMPORT_NAME(tmp_import_name_from_17, mod_consts[261]); } if (tmp_assign_source_27 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 15; goto try_except_handler_4; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[261], tmp_assign_source_27); } goto try_end_4; // Exception handler code: try_except_handler_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_import_from_4__module); Py_DECREF(tmp_import_from_4__module); tmp_import_from_4__module = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; // End of try: try_end_4:; CHECK_OBJECT(tmp_import_from_4__module); Py_DECREF(tmp_import_from_4__module); tmp_import_from_4__module = NULL; { PyObject *tmp_assign_source_28; PyObject *tmp_import_name_from_18; PyObject *tmp_name_name_11; PyObject *tmp_globals_arg_name_11; PyObject *tmp_locals_arg_name_11; PyObject *tmp_fromlist_name_11; PyObject *tmp_level_name_11; tmp_name_name_11 = mod_consts[262]; tmp_globals_arg_name_11 = (PyObject *)moduledict_models$modeling_llama; tmp_locals_arg_name_11 = Py_None; tmp_fromlist_name_11 = mod_consts[263]; tmp_level_name_11 = mod_consts[14]; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 16; tmp_import_name_from_18 = IMPORT_MODULE5(tmp_name_name_11, tmp_globals_arg_name_11, tmp_locals_arg_name_11, tmp_fromlist_name_11, tmp_level_name_11); if (tmp_import_name_from_18 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 16; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_18)) { tmp_assign_source_28 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_18, (PyObject *)moduledict_models$modeling_llama, mod_consts[264], mod_consts[14] ); } else { tmp_assign_source_28 = IMPORT_NAME(tmp_import_name_from_18, mod_consts[264]); } Py_DECREF(tmp_import_name_from_18); if (tmp_assign_source_28 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 16; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[264], tmp_assign_source_28); } { PyObject *tmp_assign_source_29; PyObject *tmp_name_name_12; PyObject *tmp_globals_arg_name_12; PyObject *tmp_locals_arg_name_12; PyObject *tmp_fromlist_name_12; PyObject *tmp_level_name_12; tmp_name_name_12 = mod_consts[265]; tmp_globals_arg_name_12 = (PyObject *)moduledict_models$modeling_llama; tmp_locals_arg_name_12 = Py_None; tmp_fromlist_name_12 = Py_None; tmp_level_name_12 = mod_consts[14]; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 17; tmp_assign_source_29 = IMPORT_MODULE5(tmp_name_name_12, tmp_globals_arg_name_12, tmp_locals_arg_name_12, tmp_fromlist_name_12, tmp_level_name_12); if (tmp_assign_source_29 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 17; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[265], tmp_assign_source_29); } { PyObject *tmp_assign_source_30; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_args_element_name_1; tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[260]); if (unlikely(tmp_expression_name_1 == NULL)) { tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[260]); } if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 20; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[266]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 20; goto frame_exception_exit_1; } tmp_args_element_name_1 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[267]); if (unlikely(tmp_args_element_name_1 == NULL)) { tmp_args_element_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[267]); } assert(!(tmp_args_element_name_1 == NULL)); frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 20; tmp_assign_source_30 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); Py_DECREF(tmp_called_name_1); if (tmp_assign_source_30 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 20; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[183], tmp_assign_source_30); } { PyObject *tmp_assign_source_31; tmp_assign_source_31 = mod_consts[264]; UPDATE_STRING_DICT0(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[268], tmp_assign_source_31); } { PyObject *tmp_assign_source_32; PyObject *tmp_defaults_1; PyObject *tmp_annotations_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_expression_name_2; tmp_defaults_1 = mod_consts[179]; tmp_dict_key_1 = mod_consts[269]; tmp_expression_name_2 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_2 == NULL)) { tmp_expression_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 27; goto frame_exception_exit_1; } tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[270]); if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 27; goto frame_exception_exit_1; } tmp_annotations_1 = _PyDict_NewPresized( 4 ); { PyObject *tmp_expression_name_3; PyObject *tmp_expression_name_4; tmp_res = PyDict_SetItem(tmp_annotations_1, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[16]; tmp_expression_name_3 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_3 == NULL)) { tmp_expression_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 27; goto dict_build_exception_1; } tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[16]); if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 27; goto dict_build_exception_1; } tmp_res = PyDict_SetItem(tmp_annotations_1, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[6]; tmp_expression_name_4 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_4 == NULL)) { tmp_expression_name_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 27; goto dict_build_exception_1; } tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[6]); if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 27; goto dict_build_exception_1; } tmp_res = PyDict_SetItem(tmp_annotations_1, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[23]; tmp_dict_value_1 = (PyObject *)&PyLong_Type; tmp_res = PyDict_SetItem(tmp_annotations_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); } goto dict_build_noexception_1; // Exception handling pass through code for dict_build: dict_build_exception_1:; Py_DECREF(tmp_annotations_1); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_1:; Py_INCREF(tmp_defaults_1); tmp_assign_source_32 = MAKE_FUNCTION_models$modeling_llama$$$function__1__make_causal_mask(tmp_defaults_1, tmp_annotations_1); UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[166], tmp_assign_source_32); } { PyObject *tmp_assign_source_33; PyObject *tmp_defaults_2; PyObject *tmp_annotations_2; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; PyObject *tmp_expression_name_5; tmp_defaults_2 = mod_consts[200]; tmp_dict_key_2 = mod_consts[10]; tmp_expression_name_5 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_5 == NULL)) { tmp_expression_name_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 44; goto frame_exception_exit_1; } tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[271]); if (tmp_dict_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 44; goto frame_exception_exit_1; } tmp_annotations_2 = _PyDict_NewPresized( 3 ); { PyObject *tmp_expression_name_6; PyObject *tmp_expression_name_7; PyObject *tmp_subscript_name_1; tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_2, tmp_dict_value_2); Py_DECREF(tmp_dict_value_2); assert(!(tmp_res != 0)); tmp_dict_key_2 = mod_consts[16]; tmp_expression_name_6 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_6 == NULL)) { tmp_expression_name_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 44; goto dict_build_exception_2; } tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[16]); if (tmp_dict_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 44; goto dict_build_exception_2; } tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_2, tmp_dict_value_2); Py_DECREF(tmp_dict_value_2); assert(!(tmp_res != 0)); tmp_dict_key_2 = mod_consts[19]; tmp_expression_name_7 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_7 == NULL)) { tmp_expression_name_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 44; goto dict_build_exception_2; } tmp_subscript_name_1 = (PyObject *)&PyLong_Type; tmp_dict_value_2 = LOOKUP_SUBSCRIPT(tmp_expression_name_7, tmp_subscript_name_1); if (tmp_dict_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 44; goto dict_build_exception_2; } tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_2, tmp_dict_value_2); Py_DECREF(tmp_dict_value_2); assert(!(tmp_res != 0)); } goto dict_build_noexception_2; // Exception handling pass through code for dict_build: dict_build_exception_2:; Py_DECREF(tmp_annotations_2); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_2:; Py_INCREF(tmp_defaults_2); tmp_assign_source_33 = MAKE_FUNCTION_models$modeling_llama$$$function__2__expand_mask(tmp_defaults_2, tmp_annotations_2); UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[168], tmp_assign_source_33); } // Tried code: { PyObject *tmp_assign_source_34; PyObject *tmp_tuple_element_1; PyObject *tmp_expression_name_8; tmp_expression_name_8 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[33]); if (unlikely(tmp_expression_name_8 == NULL)) { tmp_expression_name_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]); } if (tmp_expression_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto try_except_handler_5; } tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[272]); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto try_except_handler_5; } tmp_assign_source_34 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_assign_source_34, 0, tmp_tuple_element_1); assert(tmp_class_creation_1__bases_orig == NULL); tmp_class_creation_1__bases_orig = tmp_assign_source_34; } { PyObject *tmp_assign_source_35; PyObject *tmp_dircall_arg1_1; CHECK_OBJECT(tmp_class_creation_1__bases_orig); tmp_dircall_arg1_1 = tmp_class_creation_1__bases_orig; Py_INCREF(tmp_dircall_arg1_1); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1}; tmp_assign_source_35 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_35 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto try_except_handler_5; } assert(tmp_class_creation_1__bases == NULL); tmp_class_creation_1__bases = tmp_assign_source_35; } { PyObject *tmp_assign_source_36; tmp_assign_source_36 = PyDict_New(); assert(tmp_class_creation_1__class_decl_dict == NULL); tmp_class_creation_1__class_decl_dict = tmp_assign_source_36; } { PyObject *tmp_assign_source_37; PyObject *tmp_metaclass_name_1; nuitka_bool tmp_condition_result_1; PyObject *tmp_key_name_1; PyObject *tmp_dict_arg_name_1; PyObject *tmp_dict_arg_name_2; PyObject *tmp_key_name_2; nuitka_bool tmp_condition_result_2; int tmp_truth_name_1; PyObject *tmp_type_arg_1; PyObject *tmp_expression_name_9; PyObject *tmp_subscript_name_2; PyObject *tmp_bases_name_1; tmp_key_name_1 = mod_consts[273]; CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_dict_arg_name_1 = tmp_class_creation_1__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_1, tmp_key_name_1); assert(!(tmp_res == -1)); tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_dict_arg_name_2 = tmp_class_creation_1__class_decl_dict; tmp_key_name_2 = mod_consts[273]; tmp_metaclass_name_1 = DICT_GET_ITEM_WITH_ERROR(tmp_dict_arg_name_2, tmp_key_name_2); if (tmp_metaclass_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto try_except_handler_5; } goto condexpr_end_1; condexpr_false_1:; CHECK_OBJECT(tmp_class_creation_1__bases); tmp_truth_name_1 = CHECK_IF_TRUE(tmp_class_creation_1__bases); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto try_except_handler_5; } tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) { goto condexpr_true_2; } else { goto condexpr_false_2; } condexpr_true_2:; CHECK_OBJECT(tmp_class_creation_1__bases); tmp_expression_name_9 = tmp_class_creation_1__bases; tmp_subscript_name_2 = mod_consts[14]; tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_9, tmp_subscript_name_2, 0); if (tmp_type_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto try_except_handler_5; } tmp_metaclass_name_1 = BUILTIN_TYPE1(tmp_type_arg_1); Py_DECREF(tmp_type_arg_1); if (tmp_metaclass_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto try_except_handler_5; } goto condexpr_end_2; condexpr_false_2:; tmp_metaclass_name_1 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_1); condexpr_end_2:; condexpr_end_1:; CHECK_OBJECT(tmp_class_creation_1__bases); tmp_bases_name_1 = tmp_class_creation_1__bases; tmp_assign_source_37 = SELECT_METACLASS(tmp_metaclass_name_1, tmp_bases_name_1); Py_DECREF(tmp_metaclass_name_1); if (tmp_assign_source_37 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto try_except_handler_5; } assert(tmp_class_creation_1__metaclass == NULL); tmp_class_creation_1__metaclass = tmp_assign_source_37; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_key_name_3; PyObject *tmp_dict_arg_name_3; tmp_key_name_3 = mod_consts[273]; CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_dict_arg_name_3 = tmp_class_creation_1__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_3, tmp_key_name_3); assert(!(tmp_res == -1)); tmp_condition_result_3 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict; tmp_dictdel_key = mod_consts[273]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto try_except_handler_5; } branch_no_1:; { nuitka_bool tmp_condition_result_4; PyObject *tmp_expression_name_10; CHECK_OBJECT(tmp_class_creation_1__metaclass); tmp_expression_name_10 = tmp_class_creation_1__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_10, mod_consts[274]); tmp_condition_result_4 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_assign_source_38; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_11; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_2; PyObject *tmp_kwargs_name_1; CHECK_OBJECT(tmp_class_creation_1__metaclass); tmp_expression_name_11 = tmp_class_creation_1__metaclass; tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[274]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto try_except_handler_5; } tmp_tuple_element_2 = mod_consts[134]; tmp_args_name_1 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_2); CHECK_OBJECT(tmp_class_creation_1__bases); tmp_tuple_element_2 = tmp_class_creation_1__bases; PyTuple_SET_ITEM0(tmp_args_name_1, 1, tmp_tuple_element_2); CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_kwargs_name_1 = tmp_class_creation_1__class_decl_dict; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 58; tmp_assign_source_38 = CALL_FUNCTION(tmp_called_name_2, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_name_1); if (tmp_assign_source_38 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto try_except_handler_5; } assert(tmp_class_creation_1__prepared == NULL); tmp_class_creation_1__prepared = tmp_assign_source_38; } { nuitka_bool tmp_condition_result_5; PyObject *tmp_operand_name_1; PyObject *tmp_expression_name_12; CHECK_OBJECT(tmp_class_creation_1__prepared); tmp_expression_name_12 = tmp_class_creation_1__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_12, mod_consts[275]); tmp_operand_name_1 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto try_except_handler_5; } tmp_condition_result_5 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; { PyObject *tmp_raise_type_1; PyObject *tmp_raise_value_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_tuple_element_3; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_default_1; tmp_raise_type_1 = PyExc_TypeError; tmp_left_name_1 = mod_consts[276]; CHECK_OBJECT(tmp_class_creation_1__metaclass); tmp_getattr_target_1 = tmp_class_creation_1__metaclass; tmp_getattr_attr_1 = mod_consts[267]; tmp_getattr_default_1 = mod_consts[277]; tmp_tuple_element_3 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1); if (tmp_tuple_element_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto try_except_handler_5; } tmp_right_name_1 = PyTuple_New(2); { PyObject *tmp_expression_name_13; PyObject *tmp_type_arg_2; PyTuple_SET_ITEM(tmp_right_name_1, 0, tmp_tuple_element_3); CHECK_OBJECT(tmp_class_creation_1__prepared); tmp_type_arg_2 = tmp_class_creation_1__prepared; tmp_expression_name_13 = BUILTIN_TYPE1(tmp_type_arg_2); assert(!(tmp_expression_name_13 == NULL)); tmp_tuple_element_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_13, mod_consts[267]); Py_DECREF(tmp_expression_name_13); if (tmp_tuple_element_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_right_name_1, 1, tmp_tuple_element_3); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_right_name_1); goto try_except_handler_5; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_raise_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_right_name_1); if (tmp_raise_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto try_except_handler_5; } exception_type = tmp_raise_type_1; Py_INCREF(tmp_raise_type_1); exception_value = tmp_raise_value_1; exception_lineno = 58; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_5; } branch_no_3:; goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_39; tmp_assign_source_39 = PyDict_New(); assert(tmp_class_creation_1__prepared == NULL); tmp_class_creation_1__prepared = tmp_assign_source_39; } branch_end_2:; { PyObject *tmp_assign_source_40; { PyObject *tmp_set_locals_1; CHECK_OBJECT(tmp_class_creation_1__prepared); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_models$modeling_llama$$$class__1_LlamaRMSNorm_58 = tmp_set_locals_1; Py_INCREF(tmp_set_locals_1); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[267]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[267]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__1_LlamaRMSNorm_58, mod_consts[278], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto try_except_handler_7; } tmp_dictset_value = mod_consts[134]; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__1_LlamaRMSNorm_58, mod_consts[279], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto try_except_handler_7; } if (isFrameUnusable(cache_frame_8d9c85872767131fcb53711a96f1cb64_2)) { Py_XDECREF(cache_frame_8d9c85872767131fcb53711a96f1cb64_2); #if _DEBUG_REFCOUNTS if (cache_frame_8d9c85872767131fcb53711a96f1cb64_2 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_8d9c85872767131fcb53711a96f1cb64_2 = MAKE_FUNCTION_FRAME(codeobj_8d9c85872767131fcb53711a96f1cb64, module_models$modeling_llama, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_8d9c85872767131fcb53711a96f1cb64_2->m_type_description == NULL); frame_8d9c85872767131fcb53711a96f1cb64_2 = cache_frame_8d9c85872767131fcb53711a96f1cb64_2; // Push the new frame as the currently active one. pushFrameStack(frame_8d9c85872767131fcb53711a96f1cb64_2); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_8d9c85872767131fcb53711a96f1cb64_2) == 2); // Frame stack // Framed code: { PyObject *tmp_defaults_3; struct Nuitka_CellObject *tmp_closure_1[1]; tmp_defaults_3 = mod_consts[280]; Py_INCREF(tmp_defaults_3); tmp_closure_1[0] = outline_0_var___class__; Py_INCREF(tmp_closure_1[0]); tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__3___init__(tmp_defaults_3, tmp_closure_1); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__1_LlamaRMSNorm_58, mod_consts[32], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 59; type_description_2 = "c"; goto frame_exception_exit_2; } } tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__4_forward(); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__1_LlamaRMSNorm_58, mod_consts[282], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 67; type_description_2 = "c"; goto frame_exception_exit_2; } #if 0 RESTORE_FRAME_EXCEPTION(frame_8d9c85872767131fcb53711a96f1cb64_2); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION(frame_8d9c85872767131fcb53711a96f1cb64_2); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_8d9c85872767131fcb53711a96f1cb64_2, exception_lineno); } else if (exception_tb->tb_frame != &frame_8d9c85872767131fcb53711a96f1cb64_2->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_8d9c85872767131fcb53711a96f1cb64_2, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_8d9c85872767131fcb53711a96f1cb64_2, type_description_2, outline_0_var___class__ ); // Release cached frame if used for exception. if (frame_8d9c85872767131fcb53711a96f1cb64_2 == cache_frame_8d9c85872767131fcb53711a96f1cb64_2) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_8d9c85872767131fcb53711a96f1cb64_2); cache_frame_8d9c85872767131fcb53711a96f1cb64_2 = NULL; } assertFrameObject(frame_8d9c85872767131fcb53711a96f1cb64_2); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; goto try_except_handler_7; skip_nested_handling_1:; { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT(tmp_class_creation_1__bases); tmp_compexpr_left_1 = tmp_class_creation_1__bases; CHECK_OBJECT(tmp_class_creation_1__bases_orig); tmp_compexpr_right_1 = tmp_class_creation_1__bases_orig; tmp_condition_result_6 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_1, tmp_compexpr_right_1); if (tmp_condition_result_6 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto try_except_handler_7; } if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) { goto branch_yes_4; } else { goto branch_no_4; } assert(tmp_condition_result_6 != NUITKA_BOOL_UNASSIGNED); } branch_yes_4:; CHECK_OBJECT(tmp_class_creation_1__bases_orig); tmp_dictset_value = tmp_class_creation_1__bases_orig; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__1_LlamaRMSNorm_58, mod_consts[284], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto try_except_handler_7; } branch_no_4:; { PyObject *tmp_assign_source_41; PyObject *tmp_called_name_3; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_4; PyObject *tmp_kwargs_name_2; CHECK_OBJECT(tmp_class_creation_1__metaclass); tmp_called_name_3 = tmp_class_creation_1__metaclass; tmp_tuple_element_4 = mod_consts[134]; tmp_args_name_2 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_name_2, 0, tmp_tuple_element_4); CHECK_OBJECT(tmp_class_creation_1__bases); tmp_tuple_element_4 = tmp_class_creation_1__bases; PyTuple_SET_ITEM0(tmp_args_name_2, 1, tmp_tuple_element_4); tmp_tuple_element_4 = locals_models$modeling_llama$$$class__1_LlamaRMSNorm_58; PyTuple_SET_ITEM0(tmp_args_name_2, 2, tmp_tuple_element_4); CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_kwargs_name_2 = tmp_class_creation_1__class_decl_dict; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 58; tmp_assign_source_41 = CALL_FUNCTION(tmp_called_name_3, tmp_args_name_2, tmp_kwargs_name_2); Py_DECREF(tmp_args_name_2); if (tmp_assign_source_41 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; goto try_except_handler_7; } { PyObject *old = Nuitka_Cell_GET(outline_0_var___class__); PyCell_SET(outline_0_var___class__, tmp_assign_source_41); Py_XDECREF(old); } } CHECK_OBJECT(Nuitka_Cell_GET(outline_0_var___class__)); tmp_assign_source_40 = Nuitka_Cell_GET(outline_0_var___class__); Py_INCREF(tmp_assign_source_40); goto try_return_handler_7; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_7:; Py_DECREF(locals_models$modeling_llama$$$class__1_LlamaRMSNorm_58); locals_models$modeling_llama$$$class__1_LlamaRMSNorm_58 = NULL; goto try_return_handler_6; // Exception handler code: try_except_handler_7:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$modeling_llama$$$class__1_LlamaRMSNorm_58); locals_models$modeling_llama$$$class__1_LlamaRMSNorm_58 = NULL; // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto try_except_handler_6; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_6:; CHECK_OBJECT(outline_0_var___class__); Py_DECREF(outline_0_var___class__); outline_0_var___class__ = NULL; goto outline_result_1; // Exception handler code: try_except_handler_6:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(outline_0_var___class__); Py_DECREF(outline_0_var___class__); outline_0_var___class__ = NULL; // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto outline_exception_1; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_1:; exception_lineno = 58; goto try_except_handler_5; outline_result_1:; UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[134], tmp_assign_source_40); } goto try_end_5; // Exception handler code: try_except_handler_5:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_1__bases_orig); tmp_class_creation_1__bases_orig = NULL; Py_XDECREF(tmp_class_creation_1__bases); tmp_class_creation_1__bases = NULL; Py_XDECREF(tmp_class_creation_1__class_decl_dict); tmp_class_creation_1__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_1__metaclass); tmp_class_creation_1__metaclass = NULL; Py_XDECREF(tmp_class_creation_1__prepared); tmp_class_creation_1__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto frame_exception_exit_1; // End of try: try_end_5:; CHECK_OBJECT(tmp_class_creation_1__bases_orig); Py_DECREF(tmp_class_creation_1__bases_orig); tmp_class_creation_1__bases_orig = NULL; Py_XDECREF(tmp_class_creation_1__bases); tmp_class_creation_1__bases = NULL; Py_XDECREF(tmp_class_creation_1__class_decl_dict); tmp_class_creation_1__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_1__metaclass); tmp_class_creation_1__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_1__prepared); Py_DECREF(tmp_class_creation_1__prepared); tmp_class_creation_1__prepared = NULL; // Tried code: { PyObject *tmp_assign_source_42; PyObject *tmp_tuple_element_5; PyObject *tmp_expression_name_14; PyObject *tmp_expression_name_15; tmp_expression_name_15 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_15 == NULL)) { tmp_expression_name_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_8; } tmp_expression_name_14 = LOOKUP_ATTRIBUTE(tmp_expression_name_15, mod_consts[33]); if (tmp_expression_name_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_8; } tmp_tuple_element_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_14, mod_consts[272]); Py_DECREF(tmp_expression_name_14); if (tmp_tuple_element_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_8; } tmp_assign_source_42 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_assign_source_42, 0, tmp_tuple_element_5); assert(tmp_class_creation_2__bases_orig == NULL); tmp_class_creation_2__bases_orig = tmp_assign_source_42; } { PyObject *tmp_assign_source_43; PyObject *tmp_dircall_arg1_2; CHECK_OBJECT(tmp_class_creation_2__bases_orig); tmp_dircall_arg1_2 = tmp_class_creation_2__bases_orig; Py_INCREF(tmp_dircall_arg1_2); { PyObject *dir_call_args[] = {tmp_dircall_arg1_2}; tmp_assign_source_43 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_43 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_8; } assert(tmp_class_creation_2__bases == NULL); tmp_class_creation_2__bases = tmp_assign_source_43; } { PyObject *tmp_assign_source_44; tmp_assign_source_44 = PyDict_New(); assert(tmp_class_creation_2__class_decl_dict == NULL); tmp_class_creation_2__class_decl_dict = tmp_assign_source_44; } { PyObject *tmp_assign_source_45; PyObject *tmp_metaclass_name_2; nuitka_bool tmp_condition_result_7; PyObject *tmp_key_name_4; PyObject *tmp_dict_arg_name_4; PyObject *tmp_dict_arg_name_5; PyObject *tmp_key_name_5; nuitka_bool tmp_condition_result_8; int tmp_truth_name_2; PyObject *tmp_type_arg_3; PyObject *tmp_expression_name_16; PyObject *tmp_subscript_name_3; PyObject *tmp_bases_name_2; tmp_key_name_4 = mod_consts[273]; CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_dict_arg_name_4 = tmp_class_creation_2__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_4, tmp_key_name_4); assert(!(tmp_res == -1)); tmp_condition_result_7 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) { goto condexpr_true_3; } else { goto condexpr_false_3; } condexpr_true_3:; CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_dict_arg_name_5 = tmp_class_creation_2__class_decl_dict; tmp_key_name_5 = mod_consts[273]; tmp_metaclass_name_2 = DICT_GET_ITEM_WITH_ERROR(tmp_dict_arg_name_5, tmp_key_name_5); if (tmp_metaclass_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_8; } goto condexpr_end_3; condexpr_false_3:; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_truth_name_2 = CHECK_IF_TRUE(tmp_class_creation_2__bases); if (tmp_truth_name_2 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_8; } tmp_condition_result_8 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) { goto condexpr_true_4; } else { goto condexpr_false_4; } condexpr_true_4:; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_expression_name_16 = tmp_class_creation_2__bases; tmp_subscript_name_3 = mod_consts[14]; tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_16, tmp_subscript_name_3, 0); if (tmp_type_arg_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_8; } tmp_metaclass_name_2 = BUILTIN_TYPE1(tmp_type_arg_3); Py_DECREF(tmp_type_arg_3); if (tmp_metaclass_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_8; } goto condexpr_end_4; condexpr_false_4:; tmp_metaclass_name_2 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_2); condexpr_end_4:; condexpr_end_3:; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_bases_name_2 = tmp_class_creation_2__bases; tmp_assign_source_45 = SELECT_METACLASS(tmp_metaclass_name_2, tmp_bases_name_2); Py_DECREF(tmp_metaclass_name_2); if (tmp_assign_source_45 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_8; } assert(tmp_class_creation_2__metaclass == NULL); tmp_class_creation_2__metaclass = tmp_assign_source_45; } { nuitka_bool tmp_condition_result_9; PyObject *tmp_key_name_6; PyObject *tmp_dict_arg_name_6; tmp_key_name_6 = mod_consts[273]; CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_dict_arg_name_6 = tmp_class_creation_2__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_6, tmp_key_name_6); assert(!(tmp_res == -1)); tmp_condition_result_9 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) { goto branch_yes_5; } else { goto branch_no_5; } } branch_yes_5:; CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict; tmp_dictdel_key = mod_consts[273]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_8; } branch_no_5:; { nuitka_bool tmp_condition_result_10; PyObject *tmp_expression_name_17; CHECK_OBJECT(tmp_class_creation_2__metaclass); tmp_expression_name_17 = tmp_class_creation_2__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_17, mod_consts[274]); tmp_condition_result_10 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) { goto branch_yes_6; } else { goto branch_no_6; } } branch_yes_6:; { PyObject *tmp_assign_source_46; PyObject *tmp_called_name_4; PyObject *tmp_expression_name_18; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_6; PyObject *tmp_kwargs_name_3; CHECK_OBJECT(tmp_class_creation_2__metaclass); tmp_expression_name_18 = tmp_class_creation_2__metaclass; tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_18, mod_consts[274]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_8; } tmp_tuple_element_6 = mod_consts[98]; tmp_args_name_3 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_3, 0, tmp_tuple_element_6); CHECK_OBJECT(tmp_class_creation_2__bases); tmp_tuple_element_6 = tmp_class_creation_2__bases; PyTuple_SET_ITEM0(tmp_args_name_3, 1, tmp_tuple_element_6); CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_kwargs_name_3 = tmp_class_creation_2__class_decl_dict; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 78; tmp_assign_source_46 = CALL_FUNCTION(tmp_called_name_4, tmp_args_name_3, tmp_kwargs_name_3); Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_name_3); if (tmp_assign_source_46 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_8; } assert(tmp_class_creation_2__prepared == NULL); tmp_class_creation_2__prepared = tmp_assign_source_46; } { nuitka_bool tmp_condition_result_11; PyObject *tmp_operand_name_2; PyObject *tmp_expression_name_19; CHECK_OBJECT(tmp_class_creation_2__prepared); tmp_expression_name_19 = tmp_class_creation_2__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_19, mod_consts[275]); tmp_operand_name_2 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_2); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_8; } tmp_condition_result_11 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) { goto branch_yes_7; } else { goto branch_no_7; } } branch_yes_7:; { PyObject *tmp_raise_type_2; PyObject *tmp_raise_value_2; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_tuple_element_7; PyObject *tmp_getattr_target_2; PyObject *tmp_getattr_attr_2; PyObject *tmp_getattr_default_2; tmp_raise_type_2 = PyExc_TypeError; tmp_left_name_2 = mod_consts[276]; CHECK_OBJECT(tmp_class_creation_2__metaclass); tmp_getattr_target_2 = tmp_class_creation_2__metaclass; tmp_getattr_attr_2 = mod_consts[267]; tmp_getattr_default_2 = mod_consts[277]; tmp_tuple_element_7 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2); if (tmp_tuple_element_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_8; } tmp_right_name_2 = PyTuple_New(2); { PyObject *tmp_expression_name_20; PyObject *tmp_type_arg_4; PyTuple_SET_ITEM(tmp_right_name_2, 0, tmp_tuple_element_7); CHECK_OBJECT(tmp_class_creation_2__prepared); tmp_type_arg_4 = tmp_class_creation_2__prepared; tmp_expression_name_20 = BUILTIN_TYPE1(tmp_type_arg_4); assert(!(tmp_expression_name_20 == NULL)); tmp_tuple_element_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_20, mod_consts[267]); Py_DECREF(tmp_expression_name_20); if (tmp_tuple_element_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto tuple_build_exception_2; } PyTuple_SET_ITEM(tmp_right_name_2, 1, tmp_tuple_element_7); } goto tuple_build_noexception_2; // Exception handling pass through code for tuple_build: tuple_build_exception_2:; Py_DECREF(tmp_right_name_2); goto try_except_handler_8; // Finished with no exception for tuple_build: tuple_build_noexception_2:; tmp_raise_value_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_2, tmp_right_name_2); Py_DECREF(tmp_right_name_2); if (tmp_raise_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_8; } exception_type = tmp_raise_type_2; Py_INCREF(tmp_raise_type_2); exception_value = tmp_raise_value_2; exception_lineno = 78; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_8; } branch_no_7:; goto branch_end_6; branch_no_6:; { PyObject *tmp_assign_source_47; tmp_assign_source_47 = PyDict_New(); assert(tmp_class_creation_2__prepared == NULL); tmp_class_creation_2__prepared = tmp_assign_source_47; } branch_end_6:; { PyObject *tmp_assign_source_48; { PyObject *tmp_set_locals_2; CHECK_OBJECT(tmp_class_creation_2__prepared); tmp_set_locals_2 = tmp_class_creation_2__prepared; locals_models$modeling_llama$$$class__2_LlamaRotaryEmbedding_78 = tmp_set_locals_2; Py_INCREF(tmp_set_locals_2); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[267]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[267]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__2_LlamaRotaryEmbedding_78, mod_consts[278], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_10; } tmp_dictset_value = mod_consts[98]; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__2_LlamaRotaryEmbedding_78, mod_consts[279], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_10; } if (isFrameUnusable(cache_frame_1cc896795a78acf396f78e2df5833914_3)) { Py_XDECREF(cache_frame_1cc896795a78acf396f78e2df5833914_3); #if _DEBUG_REFCOUNTS if (cache_frame_1cc896795a78acf396f78e2df5833914_3 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_1cc896795a78acf396f78e2df5833914_3 = MAKE_FUNCTION_FRAME(codeobj_1cc896795a78acf396f78e2df5833914, module_models$modeling_llama, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_1cc896795a78acf396f78e2df5833914_3->m_type_description == NULL); frame_1cc896795a78acf396f78e2df5833914_3 = cache_frame_1cc896795a78acf396f78e2df5833914_3; // Push the new frame as the currently active one. pushFrameStack(frame_1cc896795a78acf396f78e2df5833914_3); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_1cc896795a78acf396f78e2df5833914_3) == 2); // Frame stack // Framed code: { PyObject *tmp_defaults_4; struct Nuitka_CellObject *tmp_closure_2[1]; tmp_defaults_4 = mod_consts[285]; Py_INCREF(tmp_defaults_4); tmp_closure_2[0] = outline_1_var___class__; Py_INCREF(tmp_closure_2[0]); tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__5___init__(tmp_defaults_4, tmp_closure_2); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__2_LlamaRotaryEmbedding_78, mod_consts[32], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 79; type_description_2 = "c"; goto frame_exception_exit_3; } } { PyObject *tmp_defaults_5; tmp_defaults_5 = mod_consts[200]; Py_INCREF(tmp_defaults_5); tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__6_forward(tmp_defaults_5); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__2_LlamaRotaryEmbedding_78, mod_consts[282], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 93; type_description_2 = "c"; goto frame_exception_exit_3; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_1cc896795a78acf396f78e2df5833914_3); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_exception_exit_3:; #if 0 RESTORE_FRAME_EXCEPTION(frame_1cc896795a78acf396f78e2df5833914_3); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_1cc896795a78acf396f78e2df5833914_3, exception_lineno); } else if (exception_tb->tb_frame != &frame_1cc896795a78acf396f78e2df5833914_3->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_1cc896795a78acf396f78e2df5833914_3, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_1cc896795a78acf396f78e2df5833914_3, type_description_2, outline_1_var___class__ ); // Release cached frame if used for exception. if (frame_1cc896795a78acf396f78e2df5833914_3 == cache_frame_1cc896795a78acf396f78e2df5833914_3) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_1cc896795a78acf396f78e2df5833914_3); cache_frame_1cc896795a78acf396f78e2df5833914_3 = NULL; } assertFrameObject(frame_1cc896795a78acf396f78e2df5833914_3); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_2; frame_no_exception_2:; goto skip_nested_handling_2; nested_frame_exit_2:; goto try_except_handler_10; skip_nested_handling_2:; { nuitka_bool tmp_condition_result_12; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_compexpr_left_2 = tmp_class_creation_2__bases; CHECK_OBJECT(tmp_class_creation_2__bases_orig); tmp_compexpr_right_2 = tmp_class_creation_2__bases_orig; tmp_condition_result_12 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_2, tmp_compexpr_right_2); if (tmp_condition_result_12 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_10; } if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) { goto branch_yes_8; } else { goto branch_no_8; } assert(tmp_condition_result_12 != NUITKA_BOOL_UNASSIGNED); } branch_yes_8:; CHECK_OBJECT(tmp_class_creation_2__bases_orig); tmp_dictset_value = tmp_class_creation_2__bases_orig; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__2_LlamaRotaryEmbedding_78, mod_consts[284], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_10; } branch_no_8:; { PyObject *tmp_assign_source_49; PyObject *tmp_called_name_5; PyObject *tmp_args_name_4; PyObject *tmp_tuple_element_8; PyObject *tmp_kwargs_name_4; CHECK_OBJECT(tmp_class_creation_2__metaclass); tmp_called_name_5 = tmp_class_creation_2__metaclass; tmp_tuple_element_8 = mod_consts[98]; tmp_args_name_4 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_name_4, 0, tmp_tuple_element_8); CHECK_OBJECT(tmp_class_creation_2__bases); tmp_tuple_element_8 = tmp_class_creation_2__bases; PyTuple_SET_ITEM0(tmp_args_name_4, 1, tmp_tuple_element_8); tmp_tuple_element_8 = locals_models$modeling_llama$$$class__2_LlamaRotaryEmbedding_78; PyTuple_SET_ITEM0(tmp_args_name_4, 2, tmp_tuple_element_8); CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_kwargs_name_4 = tmp_class_creation_2__class_decl_dict; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 78; tmp_assign_source_49 = CALL_FUNCTION(tmp_called_name_5, tmp_args_name_4, tmp_kwargs_name_4); Py_DECREF(tmp_args_name_4); if (tmp_assign_source_49 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; goto try_except_handler_10; } { PyObject *old = Nuitka_Cell_GET(outline_1_var___class__); PyCell_SET(outline_1_var___class__, tmp_assign_source_49); Py_XDECREF(old); } } CHECK_OBJECT(Nuitka_Cell_GET(outline_1_var___class__)); tmp_assign_source_48 = Nuitka_Cell_GET(outline_1_var___class__); Py_INCREF(tmp_assign_source_48); goto try_return_handler_10; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_10:; Py_DECREF(locals_models$modeling_llama$$$class__2_LlamaRotaryEmbedding_78); locals_models$modeling_llama$$$class__2_LlamaRotaryEmbedding_78 = NULL; goto try_return_handler_9; // Exception handler code: try_except_handler_10:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$modeling_llama$$$class__2_LlamaRotaryEmbedding_78); locals_models$modeling_llama$$$class__2_LlamaRotaryEmbedding_78 = NULL; // Re-raise. exception_type = exception_keeper_type_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto try_except_handler_9; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_9:; CHECK_OBJECT(outline_1_var___class__); Py_DECREF(outline_1_var___class__); outline_1_var___class__ = NULL; goto outline_result_2; // Exception handler code: try_except_handler_9:; exception_keeper_type_9 = exception_type; exception_keeper_value_9 = exception_value; exception_keeper_tb_9 = exception_tb; exception_keeper_lineno_9 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(outline_1_var___class__); Py_DECREF(outline_1_var___class__); outline_1_var___class__ = NULL; // Re-raise. exception_type = exception_keeper_type_9; exception_value = exception_keeper_value_9; exception_tb = exception_keeper_tb_9; exception_lineno = exception_keeper_lineno_9; goto outline_exception_2; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_2:; exception_lineno = 78; goto try_except_handler_8; outline_result_2:; UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[98], tmp_assign_source_48); } goto try_end_6; // Exception handler code: try_except_handler_8:; exception_keeper_type_10 = exception_type; exception_keeper_value_10 = exception_value; exception_keeper_tb_10 = exception_tb; exception_keeper_lineno_10 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_2__bases_orig); tmp_class_creation_2__bases_orig = NULL; Py_XDECREF(tmp_class_creation_2__bases); tmp_class_creation_2__bases = NULL; Py_XDECREF(tmp_class_creation_2__class_decl_dict); tmp_class_creation_2__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_2__metaclass); tmp_class_creation_2__metaclass = NULL; Py_XDECREF(tmp_class_creation_2__prepared); tmp_class_creation_2__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_10; exception_value = exception_keeper_value_10; exception_tb = exception_keeper_tb_10; exception_lineno = exception_keeper_lineno_10; goto frame_exception_exit_1; // End of try: try_end_6:; CHECK_OBJECT(tmp_class_creation_2__bases_orig); Py_DECREF(tmp_class_creation_2__bases_orig); tmp_class_creation_2__bases_orig = NULL; Py_XDECREF(tmp_class_creation_2__bases); tmp_class_creation_2__bases = NULL; Py_XDECREF(tmp_class_creation_2__class_decl_dict); tmp_class_creation_2__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_2__metaclass); tmp_class_creation_2__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_2__prepared); Py_DECREF(tmp_class_creation_2__prepared); tmp_class_creation_2__prepared = NULL; { PyObject *tmp_assign_source_50; tmp_assign_source_50 = MAKE_FUNCTION_models$modeling_llama$$$function__7_rotate_half(); UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[73], tmp_assign_source_50); } { PyObject *tmp_assign_source_51; tmp_assign_source_51 = MAKE_FUNCTION_models$modeling_llama$$$function__8_apply_rotary_pos_emb(); UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[108], tmp_assign_source_51); } // Tried code: { PyObject *tmp_assign_source_52; PyObject *tmp_tuple_element_9; PyObject *tmp_expression_name_21; tmp_expression_name_21 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[33]); if (unlikely(tmp_expression_name_21 == NULL)) { tmp_expression_name_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]); } if (tmp_expression_name_21 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto try_except_handler_11; } tmp_tuple_element_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_21, mod_consts[272]); if (tmp_tuple_element_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto try_except_handler_11; } tmp_assign_source_52 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_assign_source_52, 0, tmp_tuple_element_9); assert(tmp_class_creation_3__bases_orig == NULL); tmp_class_creation_3__bases_orig = tmp_assign_source_52; } { PyObject *tmp_assign_source_53; PyObject *tmp_dircall_arg1_3; CHECK_OBJECT(tmp_class_creation_3__bases_orig); tmp_dircall_arg1_3 = tmp_class_creation_3__bases_orig; Py_INCREF(tmp_dircall_arg1_3); { PyObject *dir_call_args[] = {tmp_dircall_arg1_3}; tmp_assign_source_53 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_53 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto try_except_handler_11; } assert(tmp_class_creation_3__bases == NULL); tmp_class_creation_3__bases = tmp_assign_source_53; } { PyObject *tmp_assign_source_54; tmp_assign_source_54 = PyDict_New(); assert(tmp_class_creation_3__class_decl_dict == NULL); tmp_class_creation_3__class_decl_dict = tmp_assign_source_54; } { PyObject *tmp_assign_source_55; PyObject *tmp_metaclass_name_3; nuitka_bool tmp_condition_result_13; PyObject *tmp_key_name_7; PyObject *tmp_dict_arg_name_7; PyObject *tmp_dict_arg_name_8; PyObject *tmp_key_name_8; nuitka_bool tmp_condition_result_14; int tmp_truth_name_3; PyObject *tmp_type_arg_5; PyObject *tmp_expression_name_22; PyObject *tmp_subscript_name_4; PyObject *tmp_bases_name_3; tmp_key_name_7 = mod_consts[273]; CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_dict_arg_name_7 = tmp_class_creation_3__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_7, tmp_key_name_7); assert(!(tmp_res == -1)); tmp_condition_result_13 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_13 == NUITKA_BOOL_TRUE) { goto condexpr_true_5; } else { goto condexpr_false_5; } condexpr_true_5:; CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_dict_arg_name_8 = tmp_class_creation_3__class_decl_dict; tmp_key_name_8 = mod_consts[273]; tmp_metaclass_name_3 = DICT_GET_ITEM_WITH_ERROR(tmp_dict_arg_name_8, tmp_key_name_8); if (tmp_metaclass_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto try_except_handler_11; } goto condexpr_end_5; condexpr_false_5:; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_truth_name_3 = CHECK_IF_TRUE(tmp_class_creation_3__bases); if (tmp_truth_name_3 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto try_except_handler_11; } tmp_condition_result_14 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_14 == NUITKA_BOOL_TRUE) { goto condexpr_true_6; } else { goto condexpr_false_6; } condexpr_true_6:; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_expression_name_22 = tmp_class_creation_3__bases; tmp_subscript_name_4 = mod_consts[14]; tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_22, tmp_subscript_name_4, 0); if (tmp_type_arg_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto try_except_handler_11; } tmp_metaclass_name_3 = BUILTIN_TYPE1(tmp_type_arg_5); Py_DECREF(tmp_type_arg_5); if (tmp_metaclass_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto try_except_handler_11; } goto condexpr_end_6; condexpr_false_6:; tmp_metaclass_name_3 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_3); condexpr_end_6:; condexpr_end_5:; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_bases_name_3 = tmp_class_creation_3__bases; tmp_assign_source_55 = SELECT_METACLASS(tmp_metaclass_name_3, tmp_bases_name_3); Py_DECREF(tmp_metaclass_name_3); if (tmp_assign_source_55 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto try_except_handler_11; } assert(tmp_class_creation_3__metaclass == NULL); tmp_class_creation_3__metaclass = tmp_assign_source_55; } { nuitka_bool tmp_condition_result_15; PyObject *tmp_key_name_9; PyObject *tmp_dict_arg_name_9; tmp_key_name_9 = mod_consts[273]; CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_dict_arg_name_9 = tmp_class_creation_3__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_9, tmp_key_name_9); assert(!(tmp_res == -1)); tmp_condition_result_15 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_15 == NUITKA_BOOL_TRUE) { goto branch_yes_9; } else { goto branch_no_9; } } branch_yes_9:; CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict; tmp_dictdel_key = mod_consts[273]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto try_except_handler_11; } branch_no_9:; { nuitka_bool tmp_condition_result_16; PyObject *tmp_expression_name_23; CHECK_OBJECT(tmp_class_creation_3__metaclass); tmp_expression_name_23 = tmp_class_creation_3__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_23, mod_consts[274]); tmp_condition_result_16 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_16 == NUITKA_BOOL_TRUE) { goto branch_yes_10; } else { goto branch_no_10; } } branch_yes_10:; { PyObject *tmp_assign_source_56; PyObject *tmp_called_name_6; PyObject *tmp_expression_name_24; PyObject *tmp_args_name_5; PyObject *tmp_tuple_element_10; PyObject *tmp_kwargs_name_5; CHECK_OBJECT(tmp_class_creation_3__metaclass); tmp_expression_name_24 = tmp_class_creation_3__metaclass; tmp_called_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_24, mod_consts[274]); if (tmp_called_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto try_except_handler_11; } tmp_tuple_element_10 = mod_consts[131]; tmp_args_name_5 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_5, 0, tmp_tuple_element_10); CHECK_OBJECT(tmp_class_creation_3__bases); tmp_tuple_element_10 = tmp_class_creation_3__bases; PyTuple_SET_ITEM0(tmp_args_name_5, 1, tmp_tuple_element_10); CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_kwargs_name_5 = tmp_class_creation_3__class_decl_dict; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 127; tmp_assign_source_56 = CALL_FUNCTION(tmp_called_name_6, tmp_args_name_5, tmp_kwargs_name_5); Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_args_name_5); if (tmp_assign_source_56 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto try_except_handler_11; } assert(tmp_class_creation_3__prepared == NULL); tmp_class_creation_3__prepared = tmp_assign_source_56; } { nuitka_bool tmp_condition_result_17; PyObject *tmp_operand_name_3; PyObject *tmp_expression_name_25; CHECK_OBJECT(tmp_class_creation_3__prepared); tmp_expression_name_25 = tmp_class_creation_3__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_25, mod_consts[275]); tmp_operand_name_3 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_3); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto try_except_handler_11; } tmp_condition_result_17 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_17 == NUITKA_BOOL_TRUE) { goto branch_yes_11; } else { goto branch_no_11; } } branch_yes_11:; { PyObject *tmp_raise_type_3; PyObject *tmp_raise_value_3; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_tuple_element_11; PyObject *tmp_getattr_target_3; PyObject *tmp_getattr_attr_3; PyObject *tmp_getattr_default_3; tmp_raise_type_3 = PyExc_TypeError; tmp_left_name_3 = mod_consts[276]; CHECK_OBJECT(tmp_class_creation_3__metaclass); tmp_getattr_target_3 = tmp_class_creation_3__metaclass; tmp_getattr_attr_3 = mod_consts[267]; tmp_getattr_default_3 = mod_consts[277]; tmp_tuple_element_11 = BUILTIN_GETATTR(tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3); if (tmp_tuple_element_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto try_except_handler_11; } tmp_right_name_3 = PyTuple_New(2); { PyObject *tmp_expression_name_26; PyObject *tmp_type_arg_6; PyTuple_SET_ITEM(tmp_right_name_3, 0, tmp_tuple_element_11); CHECK_OBJECT(tmp_class_creation_3__prepared); tmp_type_arg_6 = tmp_class_creation_3__prepared; tmp_expression_name_26 = BUILTIN_TYPE1(tmp_type_arg_6); assert(!(tmp_expression_name_26 == NULL)); tmp_tuple_element_11 = LOOKUP_ATTRIBUTE(tmp_expression_name_26, mod_consts[267]); Py_DECREF(tmp_expression_name_26); if (tmp_tuple_element_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto tuple_build_exception_3; } PyTuple_SET_ITEM(tmp_right_name_3, 1, tmp_tuple_element_11); } goto tuple_build_noexception_3; // Exception handling pass through code for tuple_build: tuple_build_exception_3:; Py_DECREF(tmp_right_name_3); goto try_except_handler_11; // Finished with no exception for tuple_build: tuple_build_noexception_3:; tmp_raise_value_3 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_3, tmp_right_name_3); Py_DECREF(tmp_right_name_3); if (tmp_raise_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto try_except_handler_11; } exception_type = tmp_raise_type_3; Py_INCREF(tmp_raise_type_3); exception_value = tmp_raise_value_3; exception_lineno = 127; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_11; } branch_no_11:; goto branch_end_10; branch_no_10:; { PyObject *tmp_assign_source_57; tmp_assign_source_57 = PyDict_New(); assert(tmp_class_creation_3__prepared == NULL); tmp_class_creation_3__prepared = tmp_assign_source_57; } branch_end_10:; { PyObject *tmp_assign_source_58; { PyObject *tmp_set_locals_3; CHECK_OBJECT(tmp_class_creation_3__prepared); tmp_set_locals_3 = tmp_class_creation_3__prepared; locals_models$modeling_llama$$$class__3_LlamaMLP_127 = tmp_set_locals_3; Py_INCREF(tmp_set_locals_3); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[267]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[267]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__3_LlamaMLP_127, mod_consts[278], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto try_except_handler_13; } tmp_dictset_value = mod_consts[131]; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__3_LlamaMLP_127, mod_consts[279], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto try_except_handler_13; } if (isFrameUnusable(cache_frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4)) { Py_XDECREF(cache_frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4); #if _DEBUG_REFCOUNTS if (cache_frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4 = MAKE_FUNCTION_FRAME(codeobj_d3d850b73f36ab819cbbe4b6b25a3a5e, module_models$modeling_llama, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4->m_type_description == NULL); frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4 = cache_frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4; // Push the new frame as the currently active one. pushFrameStack(frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4) == 2); // Frame stack // Framed code: { PyObject *tmp_annotations_3; PyObject *tmp_dict_key_3; PyObject *tmp_dict_value_3; struct Nuitka_CellObject *tmp_closure_3[1]; tmp_dict_key_3 = mod_consts[80]; tmp_dict_value_3 = PyObject_GetItem(locals_models$modeling_llama$$$class__3_LlamaMLP_127, mod_consts[288]); if (tmp_dict_value_3 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_dict_value_3 = (PyObject *)&PyLong_Type; Py_INCREF(tmp_dict_value_3); } } tmp_annotations_3 = _PyDict_NewPresized( 3 ); tmp_res = PyDict_SetItem(tmp_annotations_3, tmp_dict_key_3, tmp_dict_value_3); Py_DECREF(tmp_dict_value_3); assert(!(tmp_res != 0)); tmp_dict_key_3 = mod_consts[79]; tmp_dict_value_3 = PyObject_GetItem(locals_models$modeling_llama$$$class__3_LlamaMLP_127, mod_consts[288]); if (tmp_dict_value_3 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_dict_value_3 = (PyObject *)&PyLong_Type; Py_INCREF(tmp_dict_value_3); } } tmp_res = PyDict_SetItem(tmp_annotations_3, tmp_dict_key_3, tmp_dict_value_3); Py_DECREF(tmp_dict_value_3); assert(!(tmp_res != 0)); tmp_dict_key_3 = mod_consts[132]; tmp_dict_value_3 = PyObject_GetItem(locals_models$modeling_llama$$$class__3_LlamaMLP_127, mod_consts[289]); if (tmp_dict_value_3 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_dict_value_3 = (PyObject *)&PyUnicode_Type; Py_INCREF(tmp_dict_value_3); } } tmp_res = PyDict_SetItem(tmp_annotations_3, tmp_dict_key_3, tmp_dict_value_3); Py_DECREF(tmp_dict_value_3); assert(!(tmp_res != 0)); tmp_closure_3[0] = outline_2_var___class__; Py_INCREF(tmp_closure_3[0]); tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__9___init__(tmp_annotations_3, tmp_closure_3); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__3_LlamaMLP_127, mod_consts[32], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; type_description_2 = "c"; goto frame_exception_exit_4; } } tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__10_forward(); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__3_LlamaMLP_127, mod_consts[282], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 140; type_description_2 = "c"; goto frame_exception_exit_4; } #if 0 RESTORE_FRAME_EXCEPTION(frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_3; frame_exception_exit_4:; #if 0 RESTORE_FRAME_EXCEPTION(frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4, exception_lineno); } else if (exception_tb->tb_frame != &frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4, type_description_2, outline_2_var___class__ ); // Release cached frame if used for exception. if (frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4 == cache_frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4); cache_frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4 = NULL; } assertFrameObject(frame_d3d850b73f36ab819cbbe4b6b25a3a5e_4); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_3; frame_no_exception_3:; goto skip_nested_handling_3; nested_frame_exit_3:; goto try_except_handler_13; skip_nested_handling_3:; { nuitka_bool tmp_condition_result_18; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_compexpr_left_3 = tmp_class_creation_3__bases; CHECK_OBJECT(tmp_class_creation_3__bases_orig); tmp_compexpr_right_3 = tmp_class_creation_3__bases_orig; tmp_condition_result_18 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_3, tmp_compexpr_right_3); if (tmp_condition_result_18 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto try_except_handler_13; } if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) { goto branch_yes_12; } else { goto branch_no_12; } assert(tmp_condition_result_18 != NUITKA_BOOL_UNASSIGNED); } branch_yes_12:; CHECK_OBJECT(tmp_class_creation_3__bases_orig); tmp_dictset_value = tmp_class_creation_3__bases_orig; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__3_LlamaMLP_127, mod_consts[284], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto try_except_handler_13; } branch_no_12:; { PyObject *tmp_assign_source_59; PyObject *tmp_called_name_7; PyObject *tmp_args_name_6; PyObject *tmp_tuple_element_12; PyObject *tmp_kwargs_name_6; CHECK_OBJECT(tmp_class_creation_3__metaclass); tmp_called_name_7 = tmp_class_creation_3__metaclass; tmp_tuple_element_12 = mod_consts[131]; tmp_args_name_6 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_name_6, 0, tmp_tuple_element_12); CHECK_OBJECT(tmp_class_creation_3__bases); tmp_tuple_element_12 = tmp_class_creation_3__bases; PyTuple_SET_ITEM0(tmp_args_name_6, 1, tmp_tuple_element_12); tmp_tuple_element_12 = locals_models$modeling_llama$$$class__3_LlamaMLP_127; PyTuple_SET_ITEM0(tmp_args_name_6, 2, tmp_tuple_element_12); CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_kwargs_name_6 = tmp_class_creation_3__class_decl_dict; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 127; tmp_assign_source_59 = CALL_FUNCTION(tmp_called_name_7, tmp_args_name_6, tmp_kwargs_name_6); Py_DECREF(tmp_args_name_6); if (tmp_assign_source_59 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; goto try_except_handler_13; } { PyObject *old = Nuitka_Cell_GET(outline_2_var___class__); PyCell_SET(outline_2_var___class__, tmp_assign_source_59); Py_XDECREF(old); } } CHECK_OBJECT(Nuitka_Cell_GET(outline_2_var___class__)); tmp_assign_source_58 = Nuitka_Cell_GET(outline_2_var___class__); Py_INCREF(tmp_assign_source_58); goto try_return_handler_13; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_13:; Py_DECREF(locals_models$modeling_llama$$$class__3_LlamaMLP_127); locals_models$modeling_llama$$$class__3_LlamaMLP_127 = NULL; goto try_return_handler_12; // Exception handler code: try_except_handler_13:; exception_keeper_type_11 = exception_type; exception_keeper_value_11 = exception_value; exception_keeper_tb_11 = exception_tb; exception_keeper_lineno_11 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$modeling_llama$$$class__3_LlamaMLP_127); locals_models$modeling_llama$$$class__3_LlamaMLP_127 = NULL; // Re-raise. exception_type = exception_keeper_type_11; exception_value = exception_keeper_value_11; exception_tb = exception_keeper_tb_11; exception_lineno = exception_keeper_lineno_11; goto try_except_handler_12; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_12:; CHECK_OBJECT(outline_2_var___class__); Py_DECREF(outline_2_var___class__); outline_2_var___class__ = NULL; goto outline_result_3; // Exception handler code: try_except_handler_12:; exception_keeper_type_12 = exception_type; exception_keeper_value_12 = exception_value; exception_keeper_tb_12 = exception_tb; exception_keeper_lineno_12 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(outline_2_var___class__); Py_DECREF(outline_2_var___class__); outline_2_var___class__ = NULL; // Re-raise. exception_type = exception_keeper_type_12; exception_value = exception_keeper_value_12; exception_tb = exception_keeper_tb_12; exception_lineno = exception_keeper_lineno_12; goto outline_exception_3; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_3:; exception_lineno = 127; goto try_except_handler_11; outline_result_3:; UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[131], tmp_assign_source_58); } goto try_end_7; // Exception handler code: try_except_handler_11:; exception_keeper_type_13 = exception_type; exception_keeper_value_13 = exception_value; exception_keeper_tb_13 = exception_tb; exception_keeper_lineno_13 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_3__bases_orig); tmp_class_creation_3__bases_orig = NULL; Py_XDECREF(tmp_class_creation_3__bases); tmp_class_creation_3__bases = NULL; Py_XDECREF(tmp_class_creation_3__class_decl_dict); tmp_class_creation_3__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_3__metaclass); tmp_class_creation_3__metaclass = NULL; Py_XDECREF(tmp_class_creation_3__prepared); tmp_class_creation_3__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_13; exception_value = exception_keeper_value_13; exception_tb = exception_keeper_tb_13; exception_lineno = exception_keeper_lineno_13; goto frame_exception_exit_1; // End of try: try_end_7:; CHECK_OBJECT(tmp_class_creation_3__bases_orig); Py_DECREF(tmp_class_creation_3__bases_orig); tmp_class_creation_3__bases_orig = NULL; Py_XDECREF(tmp_class_creation_3__bases); tmp_class_creation_3__bases = NULL; Py_XDECREF(tmp_class_creation_3__class_decl_dict); tmp_class_creation_3__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_3__metaclass); tmp_class_creation_3__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_3__prepared); Py_DECREF(tmp_class_creation_3__prepared); tmp_class_creation_3__prepared = NULL; // Tried code: { PyObject *tmp_assign_source_60; PyObject *tmp_tuple_element_13; PyObject *tmp_expression_name_27; tmp_expression_name_27 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[33]); if (unlikely(tmp_expression_name_27 == NULL)) { tmp_expression_name_27 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]); } if (tmp_expression_name_27 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_14; } tmp_tuple_element_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_27, mod_consts[272]); if (tmp_tuple_element_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_14; } tmp_assign_source_60 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_assign_source_60, 0, tmp_tuple_element_13); assert(tmp_class_creation_4__bases_orig == NULL); tmp_class_creation_4__bases_orig = tmp_assign_source_60; } { PyObject *tmp_assign_source_61; PyObject *tmp_dircall_arg1_4; CHECK_OBJECT(tmp_class_creation_4__bases_orig); tmp_dircall_arg1_4 = tmp_class_creation_4__bases_orig; Py_INCREF(tmp_dircall_arg1_4); { PyObject *dir_call_args[] = {tmp_dircall_arg1_4}; tmp_assign_source_61 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_61 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_14; } assert(tmp_class_creation_4__bases == NULL); tmp_class_creation_4__bases = tmp_assign_source_61; } { PyObject *tmp_assign_source_62; tmp_assign_source_62 = PyDict_New(); assert(tmp_class_creation_4__class_decl_dict == NULL); tmp_class_creation_4__class_decl_dict = tmp_assign_source_62; } { PyObject *tmp_assign_source_63; PyObject *tmp_metaclass_name_4; nuitka_bool tmp_condition_result_19; PyObject *tmp_key_name_10; PyObject *tmp_dict_arg_name_10; PyObject *tmp_dict_arg_name_11; PyObject *tmp_key_name_11; nuitka_bool tmp_condition_result_20; int tmp_truth_name_4; PyObject *tmp_type_arg_7; PyObject *tmp_expression_name_28; PyObject *tmp_subscript_name_5; PyObject *tmp_bases_name_4; tmp_key_name_10 = mod_consts[273]; CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); tmp_dict_arg_name_10 = tmp_class_creation_4__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_10, tmp_key_name_10); assert(!(tmp_res == -1)); tmp_condition_result_19 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_19 == NUITKA_BOOL_TRUE) { goto condexpr_true_7; } else { goto condexpr_false_7; } condexpr_true_7:; CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); tmp_dict_arg_name_11 = tmp_class_creation_4__class_decl_dict; tmp_key_name_11 = mod_consts[273]; tmp_metaclass_name_4 = DICT_GET_ITEM_WITH_ERROR(tmp_dict_arg_name_11, tmp_key_name_11); if (tmp_metaclass_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_14; } goto condexpr_end_7; condexpr_false_7:; CHECK_OBJECT(tmp_class_creation_4__bases); tmp_truth_name_4 = CHECK_IF_TRUE(tmp_class_creation_4__bases); if (tmp_truth_name_4 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_14; } tmp_condition_result_20 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_20 == NUITKA_BOOL_TRUE) { goto condexpr_true_8; } else { goto condexpr_false_8; } condexpr_true_8:; CHECK_OBJECT(tmp_class_creation_4__bases); tmp_expression_name_28 = tmp_class_creation_4__bases; tmp_subscript_name_5 = mod_consts[14]; tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_28, tmp_subscript_name_5, 0); if (tmp_type_arg_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_14; } tmp_metaclass_name_4 = BUILTIN_TYPE1(tmp_type_arg_7); Py_DECREF(tmp_type_arg_7); if (tmp_metaclass_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_14; } goto condexpr_end_8; condexpr_false_8:; tmp_metaclass_name_4 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_4); condexpr_end_8:; condexpr_end_7:; CHECK_OBJECT(tmp_class_creation_4__bases); tmp_bases_name_4 = tmp_class_creation_4__bases; tmp_assign_source_63 = SELECT_METACLASS(tmp_metaclass_name_4, tmp_bases_name_4); Py_DECREF(tmp_metaclass_name_4); if (tmp_assign_source_63 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_14; } assert(tmp_class_creation_4__metaclass == NULL); tmp_class_creation_4__metaclass = tmp_assign_source_63; } { nuitka_bool tmp_condition_result_21; PyObject *tmp_key_name_12; PyObject *tmp_dict_arg_name_12; tmp_key_name_12 = mod_consts[273]; CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); tmp_dict_arg_name_12 = tmp_class_creation_4__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_12, tmp_key_name_12); assert(!(tmp_res == -1)); tmp_condition_result_21 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_21 == NUITKA_BOOL_TRUE) { goto branch_yes_13; } else { goto branch_no_13; } } branch_yes_13:; CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_4__class_decl_dict; tmp_dictdel_key = mod_consts[273]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_14; } branch_no_13:; { nuitka_bool tmp_condition_result_22; PyObject *tmp_expression_name_29; CHECK_OBJECT(tmp_class_creation_4__metaclass); tmp_expression_name_29 = tmp_class_creation_4__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_29, mod_consts[274]); tmp_condition_result_22 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_22 == NUITKA_BOOL_TRUE) { goto branch_yes_14; } else { goto branch_no_14; } } branch_yes_14:; { PyObject *tmp_assign_source_64; PyObject *tmp_called_name_8; PyObject *tmp_expression_name_30; PyObject *tmp_args_name_7; PyObject *tmp_tuple_element_14; PyObject *tmp_kwargs_name_7; CHECK_OBJECT(tmp_class_creation_4__metaclass); tmp_expression_name_30 = tmp_class_creation_4__metaclass; tmp_called_name_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_30, mod_consts[274]); if (tmp_called_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_14; } tmp_tuple_element_14 = mod_consts[129]; tmp_args_name_7 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_7, 0, tmp_tuple_element_14); CHECK_OBJECT(tmp_class_creation_4__bases); tmp_tuple_element_14 = tmp_class_creation_4__bases; PyTuple_SET_ITEM0(tmp_args_name_7, 1, tmp_tuple_element_14); CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); tmp_kwargs_name_7 = tmp_class_creation_4__class_decl_dict; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 144; tmp_assign_source_64 = CALL_FUNCTION(tmp_called_name_8, tmp_args_name_7, tmp_kwargs_name_7); Py_DECREF(tmp_called_name_8); Py_DECREF(tmp_args_name_7); if (tmp_assign_source_64 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_14; } assert(tmp_class_creation_4__prepared == NULL); tmp_class_creation_4__prepared = tmp_assign_source_64; } { nuitka_bool tmp_condition_result_23; PyObject *tmp_operand_name_4; PyObject *tmp_expression_name_31; CHECK_OBJECT(tmp_class_creation_4__prepared); tmp_expression_name_31 = tmp_class_creation_4__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_31, mod_consts[275]); tmp_operand_name_4 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_4); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_14; } tmp_condition_result_23 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_23 == NUITKA_BOOL_TRUE) { goto branch_yes_15; } else { goto branch_no_15; } } branch_yes_15:; { PyObject *tmp_raise_type_4; PyObject *tmp_raise_value_4; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; PyObject *tmp_tuple_element_15; PyObject *tmp_getattr_target_4; PyObject *tmp_getattr_attr_4; PyObject *tmp_getattr_default_4; tmp_raise_type_4 = PyExc_TypeError; tmp_left_name_4 = mod_consts[276]; CHECK_OBJECT(tmp_class_creation_4__metaclass); tmp_getattr_target_4 = tmp_class_creation_4__metaclass; tmp_getattr_attr_4 = mod_consts[267]; tmp_getattr_default_4 = mod_consts[277]; tmp_tuple_element_15 = BUILTIN_GETATTR(tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4); if (tmp_tuple_element_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_14; } tmp_right_name_4 = PyTuple_New(2); { PyObject *tmp_expression_name_32; PyObject *tmp_type_arg_8; PyTuple_SET_ITEM(tmp_right_name_4, 0, tmp_tuple_element_15); CHECK_OBJECT(tmp_class_creation_4__prepared); tmp_type_arg_8 = tmp_class_creation_4__prepared; tmp_expression_name_32 = BUILTIN_TYPE1(tmp_type_arg_8); assert(!(tmp_expression_name_32 == NULL)); tmp_tuple_element_15 = LOOKUP_ATTRIBUTE(tmp_expression_name_32, mod_consts[267]); Py_DECREF(tmp_expression_name_32); if (tmp_tuple_element_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto tuple_build_exception_4; } PyTuple_SET_ITEM(tmp_right_name_4, 1, tmp_tuple_element_15); } goto tuple_build_noexception_4; // Exception handling pass through code for tuple_build: tuple_build_exception_4:; Py_DECREF(tmp_right_name_4); goto try_except_handler_14; // Finished with no exception for tuple_build: tuple_build_noexception_4:; tmp_raise_value_4 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_4, tmp_right_name_4); Py_DECREF(tmp_right_name_4); if (tmp_raise_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_14; } exception_type = tmp_raise_type_4; Py_INCREF(tmp_raise_type_4); exception_value = tmp_raise_value_4; exception_lineno = 144; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_14; } branch_no_15:; goto branch_end_14; branch_no_14:; { PyObject *tmp_assign_source_65; tmp_assign_source_65 = PyDict_New(); assert(tmp_class_creation_4__prepared == NULL); tmp_class_creation_4__prepared = tmp_assign_source_65; } branch_end_14:; { PyObject *tmp_assign_source_66; { PyObject *tmp_set_locals_4; CHECK_OBJECT(tmp_class_creation_4__prepared); tmp_set_locals_4 = tmp_class_creation_4__prepared; locals_models$modeling_llama$$$class__4_LlamaAttention_144 = tmp_set_locals_4; Py_INCREF(tmp_set_locals_4); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[267]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[267]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[278], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_16; } tmp_dictset_value = mod_consts[292]; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[230], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_16; } tmp_dictset_value = mod_consts[129]; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[279], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_16; } if (isFrameUnusable(cache_frame_aca01221fccc10a735da06b3d695c25b_5)) { Py_XDECREF(cache_frame_aca01221fccc10a735da06b3d695c25b_5); #if _DEBUG_REFCOUNTS if (cache_frame_aca01221fccc10a735da06b3d695c25b_5 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_aca01221fccc10a735da06b3d695c25b_5 = MAKE_FUNCTION_FRAME(codeobj_aca01221fccc10a735da06b3d695c25b, module_models$modeling_llama, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_aca01221fccc10a735da06b3d695c25b_5->m_type_description == NULL); frame_aca01221fccc10a735da06b3d695c25b_5 = cache_frame_aca01221fccc10a735da06b3d695c25b_5; // Push the new frame as the currently active one. pushFrameStack(frame_aca01221fccc10a735da06b3d695c25b_5); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_aca01221fccc10a735da06b3d695c25b_5) == 2); // Frame stack // Framed code: { PyObject *tmp_annotations_4; PyObject *tmp_dict_key_4; PyObject *tmp_dict_value_4; struct Nuitka_CellObject *tmp_closure_4[1]; tmp_dict_key_4 = mod_consts[85]; tmp_dict_value_4 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[264]); if (tmp_dict_value_4 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_dict_value_4 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[264]); if (unlikely(tmp_dict_value_4 == NULL)) { tmp_dict_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[264]); } if (tmp_dict_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 147; type_description_2 = "c"; goto frame_exception_exit_5; } Py_INCREF(tmp_dict_value_4); } } tmp_annotations_4 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_annotations_4, tmp_dict_key_4, tmp_dict_value_4); Py_DECREF(tmp_dict_value_4); assert(!(tmp_res != 0)); tmp_closure_4[0] = outline_3_var___class__; Py_INCREF(tmp_closure_4[0]); tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__11___init__(tmp_annotations_4, tmp_closure_4); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[32], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 147; type_description_2 = "c"; goto frame_exception_exit_5; } } { PyObject *tmp_annotations_5; PyObject *tmp_dict_key_5; PyObject *tmp_dict_value_5; PyObject *tmp_expression_name_33; tmp_dict_key_5 = mod_consts[3]; tmp_expression_name_33 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[1]); if (tmp_expression_name_33 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_33 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_33 == NULL)) { tmp_expression_name_33 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_33 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 166; type_description_2 = "c"; goto frame_exception_exit_5; } Py_INCREF(tmp_expression_name_33); } } tmp_dict_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_33, mod_consts[271]); Py_DECREF(tmp_expression_name_33); if (tmp_dict_value_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 166; type_description_2 = "c"; goto frame_exception_exit_5; } tmp_annotations_5 = _PyDict_NewPresized( 3 ); tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_5, tmp_dict_value_5); Py_DECREF(tmp_dict_value_5); assert(!(tmp_res != 0)); tmp_dict_key_5 = mod_consts[107]; tmp_dict_value_5 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[288]); if (tmp_dict_value_5 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_dict_value_5 = (PyObject *)&PyLong_Type; Py_INCREF(tmp_dict_value_5); } } tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_5, tmp_dict_value_5); Py_DECREF(tmp_dict_value_5); assert(!(tmp_res != 0)); tmp_dict_key_5 = mod_consts[104]; tmp_dict_value_5 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[288]); if (tmp_dict_value_5 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_dict_value_5 = (PyObject *)&PyLong_Type; Py_INCREF(tmp_dict_value_5); } } tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_5, tmp_dict_value_5); Py_DECREF(tmp_dict_value_5); assert(!(tmp_res != 0)); tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__12__shape(tmp_annotations_5); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[294], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 166; type_description_2 = "c"; goto frame_exception_exit_5; } } { PyObject *tmp_defaults_6; PyObject *tmp_annotations_6; PyObject *tmp_dict_key_6; PyObject *tmp_dict_value_6; PyObject *tmp_expression_name_34; tmp_defaults_6 = mod_consts[296]; tmp_dict_key_6 = mod_consts[44]; tmp_expression_name_34 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[1]); if (tmp_expression_name_34 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_34 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_34 == NULL)) { tmp_expression_name_34 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_34 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 171; type_description_2 = "c"; goto frame_exception_exit_5; } Py_INCREF(tmp_expression_name_34); } } tmp_dict_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_34, mod_consts[271]); Py_DECREF(tmp_expression_name_34); if (tmp_dict_value_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 171; type_description_2 = "c"; goto frame_exception_exit_5; } tmp_annotations_6 = _PyDict_NewPresized( 7 ); { PyObject *tmp_expression_name_35; PyObject *tmp_subscript_name_6; PyObject *tmp_expression_name_36; PyObject *tmp_expression_name_37; PyObject *tmp_subscript_name_7; PyObject *tmp_expression_name_38; PyObject *tmp_expression_name_39; PyObject *tmp_subscript_name_8; PyObject *tmp_expression_name_40; PyObject *tmp_subscript_name_9; PyObject *tmp_expression_name_41; PyObject *tmp_expression_name_42; PyObject *tmp_subscript_name_10; PyObject *tmp_tuple_element_16; PyObject *tmp_expression_name_43; tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_6, tmp_dict_value_6); Py_DECREF(tmp_dict_value_6); assert(!(tmp_res != 0)); tmp_dict_key_6 = mod_consts[121]; tmp_expression_name_35 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[239]); if (tmp_expression_name_35 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_35 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_35 == NULL)) { tmp_expression_name_35 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_35 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 172; type_description_2 = "c"; goto dict_build_exception_3; } Py_INCREF(tmp_expression_name_35); } } tmp_expression_name_36 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[1]); if (tmp_expression_name_36 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_36 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_36 == NULL)) { tmp_expression_name_36 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_36 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_35); exception_lineno = 172; type_description_2 = "c"; goto dict_build_exception_3; } Py_INCREF(tmp_expression_name_36); } } tmp_subscript_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_36, mod_consts[271]); Py_DECREF(tmp_expression_name_36); if (tmp_subscript_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_35); exception_lineno = 172; type_description_2 = "c"; goto dict_build_exception_3; } tmp_dict_value_6 = LOOKUP_SUBSCRIPT(tmp_expression_name_35, tmp_subscript_name_6); Py_DECREF(tmp_expression_name_35); Py_DECREF(tmp_subscript_name_6); if (tmp_dict_value_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 172; type_description_2 = "c"; goto dict_build_exception_3; } tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_6, tmp_dict_value_6); Py_DECREF(tmp_dict_value_6); assert(!(tmp_res != 0)); tmp_dict_key_6 = mod_consts[139]; tmp_expression_name_37 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[239]); if (tmp_expression_name_37 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_37 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_37 == NULL)) { tmp_expression_name_37 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_37 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 173; type_description_2 = "c"; goto dict_build_exception_3; } Py_INCREF(tmp_expression_name_37); } } tmp_expression_name_38 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[1]); if (tmp_expression_name_38 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_38 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_38 == NULL)) { tmp_expression_name_38 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_38 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_37); exception_lineno = 173; type_description_2 = "c"; goto dict_build_exception_3; } Py_INCREF(tmp_expression_name_38); } } tmp_subscript_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_38, mod_consts[297]); Py_DECREF(tmp_expression_name_38); if (tmp_subscript_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_37); exception_lineno = 173; type_description_2 = "c"; goto dict_build_exception_3; } tmp_dict_value_6 = LOOKUP_SUBSCRIPT(tmp_expression_name_37, tmp_subscript_name_7); Py_DECREF(tmp_expression_name_37); Py_DECREF(tmp_subscript_name_7); if (tmp_dict_value_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 173; type_description_2 = "c"; goto dict_build_exception_3; } tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_6, tmp_dict_value_6); Py_DECREF(tmp_dict_value_6); assert(!(tmp_res != 0)); tmp_dict_key_6 = mod_consts[140]; tmp_expression_name_39 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[239]); if (tmp_expression_name_39 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_39 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_39 == NULL)) { tmp_expression_name_39 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_39 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 174; type_description_2 = "c"; goto dict_build_exception_3; } Py_INCREF(tmp_expression_name_39); } } tmp_expression_name_40 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[240]); if (tmp_expression_name_40 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_40 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[240]); if (unlikely(tmp_expression_name_40 == NULL)) { tmp_expression_name_40 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[240]); } if (tmp_expression_name_40 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_39); exception_lineno = 174; type_description_2 = "c"; goto dict_build_exception_3; } Py_INCREF(tmp_expression_name_40); } } tmp_expression_name_41 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[1]); if (tmp_expression_name_41 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_41 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_41 == NULL)) { tmp_expression_name_41 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_41 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_39); Py_DECREF(tmp_expression_name_40); exception_lineno = 174; type_description_2 = "c"; goto dict_build_exception_3; } Py_INCREF(tmp_expression_name_41); } } tmp_subscript_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_41, mod_consts[271]); Py_DECREF(tmp_expression_name_41); if (tmp_subscript_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_39); Py_DECREF(tmp_expression_name_40); exception_lineno = 174; type_description_2 = "c"; goto dict_build_exception_3; } tmp_subscript_name_8 = LOOKUP_SUBSCRIPT(tmp_expression_name_40, tmp_subscript_name_9); Py_DECREF(tmp_expression_name_40); Py_DECREF(tmp_subscript_name_9); if (tmp_subscript_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_39); exception_lineno = 174; type_description_2 = "c"; goto dict_build_exception_3; } tmp_dict_value_6 = LOOKUP_SUBSCRIPT(tmp_expression_name_39, tmp_subscript_name_8); Py_DECREF(tmp_expression_name_39); Py_DECREF(tmp_subscript_name_8); if (tmp_dict_value_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 174; type_description_2 = "c"; goto dict_build_exception_3; } tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_6, tmp_dict_value_6); Py_DECREF(tmp_dict_value_6); assert(!(tmp_res != 0)); tmp_dict_key_6 = mod_consts[141]; tmp_dict_value_6 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[29]); if (tmp_dict_value_6 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_dict_value_6 = (PyObject *)&PyBool_Type; Py_INCREF(tmp_dict_value_6); } } tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_6, tmp_dict_value_6); Py_DECREF(tmp_dict_value_6); assert(!(tmp_res != 0)); tmp_dict_key_6 = mod_consts[142]; tmp_dict_value_6 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[29]); if (tmp_dict_value_6 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_dict_value_6 = (PyObject *)&PyBool_Type; Py_INCREF(tmp_dict_value_6); } } tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_6, tmp_dict_value_6); Py_DECREF(tmp_dict_value_6); assert(!(tmp_res != 0)); tmp_dict_key_6 = mod_consts[298]; tmp_expression_name_42 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[240]); if (tmp_expression_name_42 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_42 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[240]); if (unlikely(tmp_expression_name_42 == NULL)) { tmp_expression_name_42 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[240]); } if (tmp_expression_name_42 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 177; type_description_2 = "c"; goto dict_build_exception_3; } Py_INCREF(tmp_expression_name_42); } } tmp_expression_name_43 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[1]); if (tmp_expression_name_43 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_43 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_43 == NULL)) { tmp_expression_name_43 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_43 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_42); exception_lineno = 177; type_description_2 = "c"; goto dict_build_exception_3; } Py_INCREF(tmp_expression_name_43); } } tmp_tuple_element_16 = LOOKUP_ATTRIBUTE(tmp_expression_name_43, mod_consts[271]); Py_DECREF(tmp_expression_name_43); if (tmp_tuple_element_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_42); exception_lineno = 177; type_description_2 = "c"; goto dict_build_exception_3; } tmp_subscript_name_10 = PyTuple_New(3); { PyObject *tmp_expression_name_44; PyObject *tmp_subscript_name_11; PyObject *tmp_expression_name_45; PyObject *tmp_expression_name_46; PyObject *tmp_subscript_name_12; PyObject *tmp_expression_name_47; PyObject *tmp_subscript_name_13; PyObject *tmp_expression_name_48; PyTuple_SET_ITEM(tmp_subscript_name_10, 0, tmp_tuple_element_16); tmp_expression_name_44 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[239]); if (tmp_expression_name_44 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_44 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_44 == NULL)) { tmp_expression_name_44 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_44 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 177; type_description_2 = "c"; goto tuple_build_exception_5; } Py_INCREF(tmp_expression_name_44); } } tmp_expression_name_45 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[1]); if (tmp_expression_name_45 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_45 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_45 == NULL)) { tmp_expression_name_45 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_45 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_44); exception_lineno = 177; type_description_2 = "c"; goto tuple_build_exception_5; } Py_INCREF(tmp_expression_name_45); } } tmp_subscript_name_11 = LOOKUP_ATTRIBUTE(tmp_expression_name_45, mod_consts[271]); Py_DECREF(tmp_expression_name_45); if (tmp_subscript_name_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_44); exception_lineno = 177; type_description_2 = "c"; goto tuple_build_exception_5; } tmp_tuple_element_16 = LOOKUP_SUBSCRIPT(tmp_expression_name_44, tmp_subscript_name_11); Py_DECREF(tmp_expression_name_44); Py_DECREF(tmp_subscript_name_11); if (tmp_tuple_element_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 177; type_description_2 = "c"; goto tuple_build_exception_5; } PyTuple_SET_ITEM(tmp_subscript_name_10, 1, tmp_tuple_element_16); tmp_expression_name_46 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[239]); if (tmp_expression_name_46 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_46 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_46 == NULL)) { tmp_expression_name_46 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_46 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 177; type_description_2 = "c"; goto tuple_build_exception_5; } Py_INCREF(tmp_expression_name_46); } } tmp_expression_name_47 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[240]); if (tmp_expression_name_47 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_47 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[240]); if (unlikely(tmp_expression_name_47 == NULL)) { tmp_expression_name_47 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[240]); } if (tmp_expression_name_47 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_46); exception_lineno = 177; type_description_2 = "c"; goto tuple_build_exception_5; } Py_INCREF(tmp_expression_name_47); } } tmp_expression_name_48 = PyObject_GetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[1]); if (tmp_expression_name_48 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_48 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_48 == NULL)) { tmp_expression_name_48 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_48 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_46); Py_DECREF(tmp_expression_name_47); exception_lineno = 177; type_description_2 = "c"; goto tuple_build_exception_5; } Py_INCREF(tmp_expression_name_48); } } tmp_subscript_name_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_48, mod_consts[271]); Py_DECREF(tmp_expression_name_48); if (tmp_subscript_name_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_46); Py_DECREF(tmp_expression_name_47); exception_lineno = 177; type_description_2 = "c"; goto tuple_build_exception_5; } tmp_subscript_name_12 = LOOKUP_SUBSCRIPT(tmp_expression_name_47, tmp_subscript_name_13); Py_DECREF(tmp_expression_name_47); Py_DECREF(tmp_subscript_name_13); if (tmp_subscript_name_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_46); exception_lineno = 177; type_description_2 = "c"; goto tuple_build_exception_5; } tmp_tuple_element_16 = LOOKUP_SUBSCRIPT(tmp_expression_name_46, tmp_subscript_name_12); Py_DECREF(tmp_expression_name_46); Py_DECREF(tmp_subscript_name_12); if (tmp_tuple_element_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 177; type_description_2 = "c"; goto tuple_build_exception_5; } PyTuple_SET_ITEM(tmp_subscript_name_10, 2, tmp_tuple_element_16); } goto tuple_build_noexception_5; // Exception handling pass through code for tuple_build: tuple_build_exception_5:; Py_DECREF(tmp_expression_name_42); Py_DECREF(tmp_subscript_name_10); goto dict_build_exception_3; // Finished with no exception for tuple_build: tuple_build_noexception_5:; tmp_dict_value_6 = LOOKUP_SUBSCRIPT(tmp_expression_name_42, tmp_subscript_name_10); Py_DECREF(tmp_expression_name_42); Py_DECREF(tmp_subscript_name_10); if (tmp_dict_value_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 177; type_description_2 = "c"; goto dict_build_exception_3; } tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_6, tmp_dict_value_6); Py_DECREF(tmp_dict_value_6); assert(!(tmp_res != 0)); } goto dict_build_noexception_3; // Exception handling pass through code for dict_build: dict_build_exception_3:; Py_DECREF(tmp_annotations_6); goto frame_exception_exit_5; // Finished with no exception for dict_build: dict_build_noexception_3:; Py_INCREF(tmp_defaults_6); tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__13_forward(tmp_defaults_6, tmp_annotations_6); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[282], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 169; type_description_2 = "c"; goto frame_exception_exit_5; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_aca01221fccc10a735da06b3d695c25b_5); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_4; frame_exception_exit_5:; #if 0 RESTORE_FRAME_EXCEPTION(frame_aca01221fccc10a735da06b3d695c25b_5); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_aca01221fccc10a735da06b3d695c25b_5, exception_lineno); } else if (exception_tb->tb_frame != &frame_aca01221fccc10a735da06b3d695c25b_5->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_aca01221fccc10a735da06b3d695c25b_5, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_aca01221fccc10a735da06b3d695c25b_5, type_description_2, outline_3_var___class__ ); // Release cached frame if used for exception. if (frame_aca01221fccc10a735da06b3d695c25b_5 == cache_frame_aca01221fccc10a735da06b3d695c25b_5) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_aca01221fccc10a735da06b3d695c25b_5); cache_frame_aca01221fccc10a735da06b3d695c25b_5 = NULL; } assertFrameObject(frame_aca01221fccc10a735da06b3d695c25b_5); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_4; frame_no_exception_4:; goto skip_nested_handling_4; nested_frame_exit_4:; goto try_except_handler_16; skip_nested_handling_4:; { nuitka_bool tmp_condition_result_24; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; CHECK_OBJECT(tmp_class_creation_4__bases); tmp_compexpr_left_4 = tmp_class_creation_4__bases; CHECK_OBJECT(tmp_class_creation_4__bases_orig); tmp_compexpr_right_4 = tmp_class_creation_4__bases_orig; tmp_condition_result_24 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_4, tmp_compexpr_right_4); if (tmp_condition_result_24 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_16; } if (tmp_condition_result_24 == NUITKA_BOOL_TRUE) { goto branch_yes_16; } else { goto branch_no_16; } assert(tmp_condition_result_24 != NUITKA_BOOL_UNASSIGNED); } branch_yes_16:; CHECK_OBJECT(tmp_class_creation_4__bases_orig); tmp_dictset_value = tmp_class_creation_4__bases_orig; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__4_LlamaAttention_144, mod_consts[284], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_16; } branch_no_16:; { PyObject *tmp_assign_source_67; PyObject *tmp_called_name_9; PyObject *tmp_args_name_8; PyObject *tmp_tuple_element_17; PyObject *tmp_kwargs_name_8; CHECK_OBJECT(tmp_class_creation_4__metaclass); tmp_called_name_9 = tmp_class_creation_4__metaclass; tmp_tuple_element_17 = mod_consts[129]; tmp_args_name_8 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_name_8, 0, tmp_tuple_element_17); CHECK_OBJECT(tmp_class_creation_4__bases); tmp_tuple_element_17 = tmp_class_creation_4__bases; PyTuple_SET_ITEM0(tmp_args_name_8, 1, tmp_tuple_element_17); tmp_tuple_element_17 = locals_models$modeling_llama$$$class__4_LlamaAttention_144; PyTuple_SET_ITEM0(tmp_args_name_8, 2, tmp_tuple_element_17); CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); tmp_kwargs_name_8 = tmp_class_creation_4__class_decl_dict; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 144; tmp_assign_source_67 = CALL_FUNCTION(tmp_called_name_9, tmp_args_name_8, tmp_kwargs_name_8); Py_DECREF(tmp_args_name_8); if (tmp_assign_source_67 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; goto try_except_handler_16; } { PyObject *old = Nuitka_Cell_GET(outline_3_var___class__); PyCell_SET(outline_3_var___class__, tmp_assign_source_67); Py_XDECREF(old); } } CHECK_OBJECT(Nuitka_Cell_GET(outline_3_var___class__)); tmp_assign_source_66 = Nuitka_Cell_GET(outline_3_var___class__); Py_INCREF(tmp_assign_source_66); goto try_return_handler_16; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_16:; Py_DECREF(locals_models$modeling_llama$$$class__4_LlamaAttention_144); locals_models$modeling_llama$$$class__4_LlamaAttention_144 = NULL; goto try_return_handler_15; // Exception handler code: try_except_handler_16:; exception_keeper_type_14 = exception_type; exception_keeper_value_14 = exception_value; exception_keeper_tb_14 = exception_tb; exception_keeper_lineno_14 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$modeling_llama$$$class__4_LlamaAttention_144); locals_models$modeling_llama$$$class__4_LlamaAttention_144 = NULL; // Re-raise. exception_type = exception_keeper_type_14; exception_value = exception_keeper_value_14; exception_tb = exception_keeper_tb_14; exception_lineno = exception_keeper_lineno_14; goto try_except_handler_15; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_15:; CHECK_OBJECT(outline_3_var___class__); Py_DECREF(outline_3_var___class__); outline_3_var___class__ = NULL; goto outline_result_4; // Exception handler code: try_except_handler_15:; exception_keeper_type_15 = exception_type; exception_keeper_value_15 = exception_value; exception_keeper_tb_15 = exception_tb; exception_keeper_lineno_15 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(outline_3_var___class__); Py_DECREF(outline_3_var___class__); outline_3_var___class__ = NULL; // Re-raise. exception_type = exception_keeper_type_15; exception_value = exception_keeper_value_15; exception_tb = exception_keeper_tb_15; exception_lineno = exception_keeper_lineno_15; goto outline_exception_4; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_4:; exception_lineno = 144; goto try_except_handler_14; outline_result_4:; UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[129], tmp_assign_source_66); } goto try_end_8; // Exception handler code: try_except_handler_14:; exception_keeper_type_16 = exception_type; exception_keeper_value_16 = exception_value; exception_keeper_tb_16 = exception_tb; exception_keeper_lineno_16 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_4__bases_orig); tmp_class_creation_4__bases_orig = NULL; Py_XDECREF(tmp_class_creation_4__bases); tmp_class_creation_4__bases = NULL; Py_XDECREF(tmp_class_creation_4__class_decl_dict); tmp_class_creation_4__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_4__metaclass); tmp_class_creation_4__metaclass = NULL; Py_XDECREF(tmp_class_creation_4__prepared); tmp_class_creation_4__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_16; exception_value = exception_keeper_value_16; exception_tb = exception_keeper_tb_16; exception_lineno = exception_keeper_lineno_16; goto frame_exception_exit_1; // End of try: try_end_8:; CHECK_OBJECT(tmp_class_creation_4__bases_orig); Py_DECREF(tmp_class_creation_4__bases_orig); tmp_class_creation_4__bases_orig = NULL; Py_XDECREF(tmp_class_creation_4__bases); tmp_class_creation_4__bases = NULL; Py_XDECREF(tmp_class_creation_4__class_decl_dict); tmp_class_creation_4__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_4__metaclass); tmp_class_creation_4__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_4__prepared); Py_DECREF(tmp_class_creation_4__prepared); tmp_class_creation_4__prepared = NULL; // Tried code: { PyObject *tmp_assign_source_68; PyObject *tmp_tuple_element_18; PyObject *tmp_expression_name_49; tmp_expression_name_49 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[33]); if (unlikely(tmp_expression_name_49 == NULL)) { tmp_expression_name_49 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]); } if (tmp_expression_name_49 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto try_except_handler_17; } tmp_tuple_element_18 = LOOKUP_ATTRIBUTE(tmp_expression_name_49, mod_consts[272]); if (tmp_tuple_element_18 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto try_except_handler_17; } tmp_assign_source_68 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_assign_source_68, 0, tmp_tuple_element_18); assert(tmp_class_creation_5__bases_orig == NULL); tmp_class_creation_5__bases_orig = tmp_assign_source_68; } { PyObject *tmp_assign_source_69; PyObject *tmp_dircall_arg1_5; CHECK_OBJECT(tmp_class_creation_5__bases_orig); tmp_dircall_arg1_5 = tmp_class_creation_5__bases_orig; Py_INCREF(tmp_dircall_arg1_5); { PyObject *dir_call_args[] = {tmp_dircall_arg1_5}; tmp_assign_source_69 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_69 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto try_except_handler_17; } assert(tmp_class_creation_5__bases == NULL); tmp_class_creation_5__bases = tmp_assign_source_69; } { PyObject *tmp_assign_source_70; tmp_assign_source_70 = PyDict_New(); assert(tmp_class_creation_5__class_decl_dict == NULL); tmp_class_creation_5__class_decl_dict = tmp_assign_source_70; } { PyObject *tmp_assign_source_71; PyObject *tmp_metaclass_name_5; nuitka_bool tmp_condition_result_25; PyObject *tmp_key_name_13; PyObject *tmp_dict_arg_name_13; PyObject *tmp_dict_arg_name_14; PyObject *tmp_key_name_14; nuitka_bool tmp_condition_result_26; int tmp_truth_name_5; PyObject *tmp_type_arg_9; PyObject *tmp_expression_name_50; PyObject *tmp_subscript_name_14; PyObject *tmp_bases_name_5; tmp_key_name_13 = mod_consts[273]; CHECK_OBJECT(tmp_class_creation_5__class_decl_dict); tmp_dict_arg_name_13 = tmp_class_creation_5__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_13, tmp_key_name_13); assert(!(tmp_res == -1)); tmp_condition_result_25 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_25 == NUITKA_BOOL_TRUE) { goto condexpr_true_9; } else { goto condexpr_false_9; } condexpr_true_9:; CHECK_OBJECT(tmp_class_creation_5__class_decl_dict); tmp_dict_arg_name_14 = tmp_class_creation_5__class_decl_dict; tmp_key_name_14 = mod_consts[273]; tmp_metaclass_name_5 = DICT_GET_ITEM_WITH_ERROR(tmp_dict_arg_name_14, tmp_key_name_14); if (tmp_metaclass_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto try_except_handler_17; } goto condexpr_end_9; condexpr_false_9:; CHECK_OBJECT(tmp_class_creation_5__bases); tmp_truth_name_5 = CHECK_IF_TRUE(tmp_class_creation_5__bases); if (tmp_truth_name_5 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto try_except_handler_17; } tmp_condition_result_26 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_26 == NUITKA_BOOL_TRUE) { goto condexpr_true_10; } else { goto condexpr_false_10; } condexpr_true_10:; CHECK_OBJECT(tmp_class_creation_5__bases); tmp_expression_name_50 = tmp_class_creation_5__bases; tmp_subscript_name_14 = mod_consts[14]; tmp_type_arg_9 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_50, tmp_subscript_name_14, 0); if (tmp_type_arg_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto try_except_handler_17; } tmp_metaclass_name_5 = BUILTIN_TYPE1(tmp_type_arg_9); Py_DECREF(tmp_type_arg_9); if (tmp_metaclass_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto try_except_handler_17; } goto condexpr_end_10; condexpr_false_10:; tmp_metaclass_name_5 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_5); condexpr_end_10:; condexpr_end_9:; CHECK_OBJECT(tmp_class_creation_5__bases); tmp_bases_name_5 = tmp_class_creation_5__bases; tmp_assign_source_71 = SELECT_METACLASS(tmp_metaclass_name_5, tmp_bases_name_5); Py_DECREF(tmp_metaclass_name_5); if (tmp_assign_source_71 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto try_except_handler_17; } assert(tmp_class_creation_5__metaclass == NULL); tmp_class_creation_5__metaclass = tmp_assign_source_71; } { nuitka_bool tmp_condition_result_27; PyObject *tmp_key_name_15; PyObject *tmp_dict_arg_name_15; tmp_key_name_15 = mod_consts[273]; CHECK_OBJECT(tmp_class_creation_5__class_decl_dict); tmp_dict_arg_name_15 = tmp_class_creation_5__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_15, tmp_key_name_15); assert(!(tmp_res == -1)); tmp_condition_result_27 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_27 == NUITKA_BOOL_TRUE) { goto branch_yes_17; } else { goto branch_no_17; } } branch_yes_17:; CHECK_OBJECT(tmp_class_creation_5__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_5__class_decl_dict; tmp_dictdel_key = mod_consts[273]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto try_except_handler_17; } branch_no_17:; { nuitka_bool tmp_condition_result_28; PyObject *tmp_expression_name_51; CHECK_OBJECT(tmp_class_creation_5__metaclass); tmp_expression_name_51 = tmp_class_creation_5__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_51, mod_consts[274]); tmp_condition_result_28 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_28 == NUITKA_BOOL_TRUE) { goto branch_yes_18; } else { goto branch_no_18; } } branch_yes_18:; { PyObject *tmp_assign_source_72; PyObject *tmp_called_name_10; PyObject *tmp_expression_name_52; PyObject *tmp_args_name_9; PyObject *tmp_tuple_element_19; PyObject *tmp_kwargs_name_9; CHECK_OBJECT(tmp_class_creation_5__metaclass); tmp_expression_name_52 = tmp_class_creation_5__metaclass; tmp_called_name_10 = LOOKUP_ATTRIBUTE(tmp_expression_name_52, mod_consts[274]); if (tmp_called_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto try_except_handler_17; } tmp_tuple_element_19 = mod_consts[162]; tmp_args_name_9 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_9, 0, tmp_tuple_element_19); CHECK_OBJECT(tmp_class_creation_5__bases); tmp_tuple_element_19 = tmp_class_creation_5__bases; PyTuple_SET_ITEM0(tmp_args_name_9, 1, tmp_tuple_element_19); CHECK_OBJECT(tmp_class_creation_5__class_decl_dict); tmp_kwargs_name_9 = tmp_class_creation_5__class_decl_dict; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 235; tmp_assign_source_72 = CALL_FUNCTION(tmp_called_name_10, tmp_args_name_9, tmp_kwargs_name_9); Py_DECREF(tmp_called_name_10); Py_DECREF(tmp_args_name_9); if (tmp_assign_source_72 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto try_except_handler_17; } assert(tmp_class_creation_5__prepared == NULL); tmp_class_creation_5__prepared = tmp_assign_source_72; } { nuitka_bool tmp_condition_result_29; PyObject *tmp_operand_name_5; PyObject *tmp_expression_name_53; CHECK_OBJECT(tmp_class_creation_5__prepared); tmp_expression_name_53 = tmp_class_creation_5__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_53, mod_consts[275]); tmp_operand_name_5 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_5); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto try_except_handler_17; } tmp_condition_result_29 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_29 == NUITKA_BOOL_TRUE) { goto branch_yes_19; } else { goto branch_no_19; } } branch_yes_19:; { PyObject *tmp_raise_type_5; PyObject *tmp_raise_value_5; PyObject *tmp_left_name_5; PyObject *tmp_right_name_5; PyObject *tmp_tuple_element_20; PyObject *tmp_getattr_target_5; PyObject *tmp_getattr_attr_5; PyObject *tmp_getattr_default_5; tmp_raise_type_5 = PyExc_TypeError; tmp_left_name_5 = mod_consts[276]; CHECK_OBJECT(tmp_class_creation_5__metaclass); tmp_getattr_target_5 = tmp_class_creation_5__metaclass; tmp_getattr_attr_5 = mod_consts[267]; tmp_getattr_default_5 = mod_consts[277]; tmp_tuple_element_20 = BUILTIN_GETATTR(tmp_getattr_target_5, tmp_getattr_attr_5, tmp_getattr_default_5); if (tmp_tuple_element_20 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto try_except_handler_17; } tmp_right_name_5 = PyTuple_New(2); { PyObject *tmp_expression_name_54; PyObject *tmp_type_arg_10; PyTuple_SET_ITEM(tmp_right_name_5, 0, tmp_tuple_element_20); CHECK_OBJECT(tmp_class_creation_5__prepared); tmp_type_arg_10 = tmp_class_creation_5__prepared; tmp_expression_name_54 = BUILTIN_TYPE1(tmp_type_arg_10); assert(!(tmp_expression_name_54 == NULL)); tmp_tuple_element_20 = LOOKUP_ATTRIBUTE(tmp_expression_name_54, mod_consts[267]); Py_DECREF(tmp_expression_name_54); if (tmp_tuple_element_20 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto tuple_build_exception_6; } PyTuple_SET_ITEM(tmp_right_name_5, 1, tmp_tuple_element_20); } goto tuple_build_noexception_6; // Exception handling pass through code for tuple_build: tuple_build_exception_6:; Py_DECREF(tmp_right_name_5); goto try_except_handler_17; // Finished with no exception for tuple_build: tuple_build_noexception_6:; tmp_raise_value_5 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_5, tmp_right_name_5); Py_DECREF(tmp_right_name_5); if (tmp_raise_value_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto try_except_handler_17; } exception_type = tmp_raise_type_5; Py_INCREF(tmp_raise_type_5); exception_value = tmp_raise_value_5; exception_lineno = 235; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_17; } branch_no_19:; goto branch_end_18; branch_no_18:; { PyObject *tmp_assign_source_73; tmp_assign_source_73 = PyDict_New(); assert(tmp_class_creation_5__prepared == NULL); tmp_class_creation_5__prepared = tmp_assign_source_73; } branch_end_18:; { PyObject *tmp_assign_source_74; { PyObject *tmp_set_locals_5; CHECK_OBJECT(tmp_class_creation_5__prepared); tmp_set_locals_5 = tmp_class_creation_5__prepared; locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235 = tmp_set_locals_5; Py_INCREF(tmp_set_locals_5); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[267]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[267]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[278], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto try_except_handler_19; } tmp_dictset_value = mod_consts[162]; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[279], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto try_except_handler_19; } if (isFrameUnusable(cache_frame_a5de3027f055170f0bf431b824d52d88_6)) { Py_XDECREF(cache_frame_a5de3027f055170f0bf431b824d52d88_6); #if _DEBUG_REFCOUNTS if (cache_frame_a5de3027f055170f0bf431b824d52d88_6 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_a5de3027f055170f0bf431b824d52d88_6 = MAKE_FUNCTION_FRAME(codeobj_a5de3027f055170f0bf431b824d52d88, module_models$modeling_llama, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_a5de3027f055170f0bf431b824d52d88_6->m_type_description == NULL); frame_a5de3027f055170f0bf431b824d52d88_6 = cache_frame_a5de3027f055170f0bf431b824d52d88_6; // Push the new frame as the currently active one. pushFrameStack(frame_a5de3027f055170f0bf431b824d52d88_6); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_a5de3027f055170f0bf431b824d52d88_6) == 2); // Frame stack // Framed code: { PyObject *tmp_annotations_7; PyObject *tmp_dict_key_7; PyObject *tmp_dict_value_7; struct Nuitka_CellObject *tmp_closure_5[1]; tmp_dict_key_7 = mod_consts[85]; tmp_dict_value_7 = PyObject_GetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[264]); if (tmp_dict_value_7 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_dict_value_7 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[264]); if (unlikely(tmp_dict_value_7 == NULL)) { tmp_dict_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[264]); } if (tmp_dict_value_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 236; type_description_2 = "c"; goto frame_exception_exit_6; } Py_INCREF(tmp_dict_value_7); } } tmp_annotations_7 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_annotations_7, tmp_dict_key_7, tmp_dict_value_7); Py_DECREF(tmp_dict_value_7); assert(!(tmp_res != 0)); tmp_closure_5[0] = outline_4_var___class__; Py_INCREF(tmp_closure_5[0]); tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__14___init__(tmp_annotations_7, tmp_closure_5); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[32], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 236; type_description_2 = "c"; goto frame_exception_exit_6; } } { PyObject *tmp_defaults_7; PyObject *tmp_annotations_8; PyObject *tmp_dict_key_8; PyObject *tmp_dict_value_8; PyObject *tmp_expression_name_55; tmp_defaults_7 = mod_consts[296]; tmp_dict_key_8 = mod_consts[44]; tmp_expression_name_55 = PyObject_GetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[1]); if (tmp_expression_name_55 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_55 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_55 == NULL)) { tmp_expression_name_55 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_55 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 250; type_description_2 = "c"; goto frame_exception_exit_6; } Py_INCREF(tmp_expression_name_55); } } tmp_dict_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_55, mod_consts[271]); Py_DECREF(tmp_expression_name_55); if (tmp_dict_value_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 250; type_description_2 = "c"; goto frame_exception_exit_6; } tmp_annotations_8 = _PyDict_NewPresized( 7 ); { PyObject *tmp_expression_name_56; PyObject *tmp_subscript_name_15; PyObject *tmp_expression_name_57; PyObject *tmp_expression_name_58; PyObject *tmp_subscript_name_16; PyObject *tmp_expression_name_59; PyObject *tmp_expression_name_60; PyObject *tmp_subscript_name_17; PyObject *tmp_expression_name_61; PyObject *tmp_subscript_name_18; PyObject *tmp_expression_name_62; PyObject *tmp_expression_name_63; PyObject *tmp_subscript_name_19; PyObject *tmp_expression_name_64; PyObject *tmp_subscript_name_20; PyObject *tmp_expression_name_65; PyObject *tmp_subscript_name_21; PyObject *tmp_tuple_element_21; PyObject *tmp_expression_name_66; tmp_res = PyDict_SetItem(tmp_annotations_8, tmp_dict_key_8, tmp_dict_value_8); Py_DECREF(tmp_dict_value_8); assert(!(tmp_res != 0)); tmp_dict_key_8 = mod_consts[121]; tmp_expression_name_56 = PyObject_GetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[239]); if (tmp_expression_name_56 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_56 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_56 == NULL)) { tmp_expression_name_56 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_56 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 251; type_description_2 = "c"; goto dict_build_exception_4; } Py_INCREF(tmp_expression_name_56); } } tmp_expression_name_57 = PyObject_GetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[1]); if (tmp_expression_name_57 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_57 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_57 == NULL)) { tmp_expression_name_57 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_57 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_56); exception_lineno = 251; type_description_2 = "c"; goto dict_build_exception_4; } Py_INCREF(tmp_expression_name_57); } } tmp_subscript_name_15 = LOOKUP_ATTRIBUTE(tmp_expression_name_57, mod_consts[271]); Py_DECREF(tmp_expression_name_57); if (tmp_subscript_name_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_56); exception_lineno = 251; type_description_2 = "c"; goto dict_build_exception_4; } tmp_dict_value_8 = LOOKUP_SUBSCRIPT(tmp_expression_name_56, tmp_subscript_name_15); Py_DECREF(tmp_expression_name_56); Py_DECREF(tmp_subscript_name_15); if (tmp_dict_value_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 251; type_description_2 = "c"; goto dict_build_exception_4; } tmp_res = PyDict_SetItem(tmp_annotations_8, tmp_dict_key_8, tmp_dict_value_8); Py_DECREF(tmp_dict_value_8); assert(!(tmp_res != 0)); tmp_dict_key_8 = mod_consts[139]; tmp_expression_name_58 = PyObject_GetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[239]); if (tmp_expression_name_58 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_58 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_58 == NULL)) { tmp_expression_name_58 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_58 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 252; type_description_2 = "c"; goto dict_build_exception_4; } Py_INCREF(tmp_expression_name_58); } } tmp_expression_name_59 = PyObject_GetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[1]); if (tmp_expression_name_59 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_59 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_59 == NULL)) { tmp_expression_name_59 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_59 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_58); exception_lineno = 252; type_description_2 = "c"; goto dict_build_exception_4; } Py_INCREF(tmp_expression_name_59); } } tmp_subscript_name_16 = LOOKUP_ATTRIBUTE(tmp_expression_name_59, mod_consts[297]); Py_DECREF(tmp_expression_name_59); if (tmp_subscript_name_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_58); exception_lineno = 252; type_description_2 = "c"; goto dict_build_exception_4; } tmp_dict_value_8 = LOOKUP_SUBSCRIPT(tmp_expression_name_58, tmp_subscript_name_16); Py_DECREF(tmp_expression_name_58); Py_DECREF(tmp_subscript_name_16); if (tmp_dict_value_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 252; type_description_2 = "c"; goto dict_build_exception_4; } tmp_res = PyDict_SetItem(tmp_annotations_8, tmp_dict_key_8, tmp_dict_value_8); Py_DECREF(tmp_dict_value_8); assert(!(tmp_res != 0)); tmp_dict_key_8 = mod_consts[140]; tmp_expression_name_60 = PyObject_GetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[239]); if (tmp_expression_name_60 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_60 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_60 == NULL)) { tmp_expression_name_60 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_60 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 253; type_description_2 = "c"; goto dict_build_exception_4; } Py_INCREF(tmp_expression_name_60); } } tmp_expression_name_61 = PyObject_GetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[240]); if (tmp_expression_name_61 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_61 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[240]); if (unlikely(tmp_expression_name_61 == NULL)) { tmp_expression_name_61 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[240]); } if (tmp_expression_name_61 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_60); exception_lineno = 253; type_description_2 = "c"; goto dict_build_exception_4; } Py_INCREF(tmp_expression_name_61); } } tmp_expression_name_62 = PyObject_GetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[1]); if (tmp_expression_name_62 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_62 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_62 == NULL)) { tmp_expression_name_62 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_62 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_60); Py_DECREF(tmp_expression_name_61); exception_lineno = 253; type_description_2 = "c"; goto dict_build_exception_4; } Py_INCREF(tmp_expression_name_62); } } tmp_subscript_name_18 = LOOKUP_ATTRIBUTE(tmp_expression_name_62, mod_consts[271]); Py_DECREF(tmp_expression_name_62); if (tmp_subscript_name_18 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_60); Py_DECREF(tmp_expression_name_61); exception_lineno = 253; type_description_2 = "c"; goto dict_build_exception_4; } tmp_subscript_name_17 = LOOKUP_SUBSCRIPT(tmp_expression_name_61, tmp_subscript_name_18); Py_DECREF(tmp_expression_name_61); Py_DECREF(tmp_subscript_name_18); if (tmp_subscript_name_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_60); exception_lineno = 253; type_description_2 = "c"; goto dict_build_exception_4; } tmp_dict_value_8 = LOOKUP_SUBSCRIPT(tmp_expression_name_60, tmp_subscript_name_17); Py_DECREF(tmp_expression_name_60); Py_DECREF(tmp_subscript_name_17); if (tmp_dict_value_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 253; type_description_2 = "c"; goto dict_build_exception_4; } tmp_res = PyDict_SetItem(tmp_annotations_8, tmp_dict_key_8, tmp_dict_value_8); Py_DECREF(tmp_dict_value_8); assert(!(tmp_res != 0)); tmp_dict_key_8 = mod_consts[141]; tmp_expression_name_63 = PyObject_GetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[239]); if (tmp_expression_name_63 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_63 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_63 == NULL)) { tmp_expression_name_63 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_63 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 254; type_description_2 = "c"; goto dict_build_exception_4; } Py_INCREF(tmp_expression_name_63); } } tmp_subscript_name_19 = PyObject_GetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[29]); if (tmp_subscript_name_19 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_subscript_name_19 = (PyObject *)&PyBool_Type; Py_INCREF(tmp_subscript_name_19); } } tmp_dict_value_8 = LOOKUP_SUBSCRIPT(tmp_expression_name_63, tmp_subscript_name_19); Py_DECREF(tmp_expression_name_63); Py_DECREF(tmp_subscript_name_19); if (tmp_dict_value_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 254; type_description_2 = "c"; goto dict_build_exception_4; } tmp_res = PyDict_SetItem(tmp_annotations_8, tmp_dict_key_8, tmp_dict_value_8); Py_DECREF(tmp_dict_value_8); assert(!(tmp_res != 0)); tmp_dict_key_8 = mod_consts[142]; tmp_expression_name_64 = PyObject_GetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[239]); if (tmp_expression_name_64 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_64 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_64 == NULL)) { tmp_expression_name_64 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_64 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 255; type_description_2 = "c"; goto dict_build_exception_4; } Py_INCREF(tmp_expression_name_64); } } tmp_subscript_name_20 = PyObject_GetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[29]); if (tmp_subscript_name_20 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_subscript_name_20 = (PyObject *)&PyBool_Type; Py_INCREF(tmp_subscript_name_20); } } tmp_dict_value_8 = LOOKUP_SUBSCRIPT(tmp_expression_name_64, tmp_subscript_name_20); Py_DECREF(tmp_expression_name_64); Py_DECREF(tmp_subscript_name_20); if (tmp_dict_value_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 255; type_description_2 = "c"; goto dict_build_exception_4; } tmp_res = PyDict_SetItem(tmp_annotations_8, tmp_dict_key_8, tmp_dict_value_8); Py_DECREF(tmp_dict_value_8); assert(!(tmp_res != 0)); tmp_dict_key_8 = mod_consts[298]; tmp_expression_name_65 = PyObject_GetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[240]); if (tmp_expression_name_65 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_65 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[240]); if (unlikely(tmp_expression_name_65 == NULL)) { tmp_expression_name_65 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[240]); } if (tmp_expression_name_65 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 256; type_description_2 = "c"; goto dict_build_exception_4; } Py_INCREF(tmp_expression_name_65); } } tmp_expression_name_66 = PyObject_GetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[1]); if (tmp_expression_name_66 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_66 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_66 == NULL)) { tmp_expression_name_66 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_66 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_65); exception_lineno = 256; type_description_2 = "c"; goto dict_build_exception_4; } Py_INCREF(tmp_expression_name_66); } } tmp_tuple_element_21 = LOOKUP_ATTRIBUTE(tmp_expression_name_66, mod_consts[301]); Py_DECREF(tmp_expression_name_66); if (tmp_tuple_element_21 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_65); exception_lineno = 256; type_description_2 = "c"; goto dict_build_exception_4; } tmp_subscript_name_21 = PyTuple_New(2); { PyObject *tmp_expression_name_67; PyObject *tmp_subscript_name_22; PyObject *tmp_expression_name_68; PyObject *tmp_subscript_name_23; PyObject *tmp_tuple_element_22; PyObject *tmp_expression_name_69; PyTuple_SET_ITEM(tmp_subscript_name_21, 0, tmp_tuple_element_21); tmp_expression_name_67 = PyObject_GetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[239]); if (tmp_expression_name_67 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_67 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_67 == NULL)) { tmp_expression_name_67 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_67 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 256; type_description_2 = "c"; goto tuple_build_exception_7; } Py_INCREF(tmp_expression_name_67); } } tmp_expression_name_68 = PyObject_GetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[240]); if (tmp_expression_name_68 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_68 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[240]); if (unlikely(tmp_expression_name_68 == NULL)) { tmp_expression_name_68 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[240]); } if (tmp_expression_name_68 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_67); exception_lineno = 256; type_description_2 = "c"; goto tuple_build_exception_7; } Py_INCREF(tmp_expression_name_68); } } tmp_expression_name_69 = PyObject_GetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[1]); if (tmp_expression_name_69 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_69 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_69 == NULL)) { tmp_expression_name_69 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_69 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_67); Py_DECREF(tmp_expression_name_68); exception_lineno = 256; type_description_2 = "c"; goto tuple_build_exception_7; } Py_INCREF(tmp_expression_name_69); } } tmp_tuple_element_22 = LOOKUP_ATTRIBUTE(tmp_expression_name_69, mod_consts[301]); Py_DECREF(tmp_expression_name_69); if (tmp_tuple_element_22 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_67); Py_DECREF(tmp_expression_name_68); exception_lineno = 256; type_description_2 = "c"; goto tuple_build_exception_7; } tmp_subscript_name_23 = PyTuple_New(2); { PyObject *tmp_expression_name_70; PyTuple_SET_ITEM(tmp_subscript_name_23, 0, tmp_tuple_element_22); tmp_expression_name_70 = PyObject_GetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[1]); if (tmp_expression_name_70 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_70 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_70 == NULL)) { tmp_expression_name_70 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_70 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 256; type_description_2 = "c"; goto tuple_build_exception_8; } Py_INCREF(tmp_expression_name_70); } } tmp_tuple_element_22 = LOOKUP_ATTRIBUTE(tmp_expression_name_70, mod_consts[301]); Py_DECREF(tmp_expression_name_70); if (tmp_tuple_element_22 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 256; type_description_2 = "c"; goto tuple_build_exception_8; } PyTuple_SET_ITEM(tmp_subscript_name_23, 1, tmp_tuple_element_22); } goto tuple_build_noexception_7; // Exception handling pass through code for tuple_build: tuple_build_exception_8:; Py_DECREF(tmp_expression_name_67); Py_DECREF(tmp_expression_name_68); Py_DECREF(tmp_subscript_name_23); goto tuple_build_exception_7; // Finished with no exception for tuple_build: tuple_build_noexception_7:; tmp_subscript_name_22 = LOOKUP_SUBSCRIPT(tmp_expression_name_68, tmp_subscript_name_23); Py_DECREF(tmp_expression_name_68); Py_DECREF(tmp_subscript_name_23); if (tmp_subscript_name_22 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_67); exception_lineno = 256; type_description_2 = "c"; goto tuple_build_exception_7; } tmp_tuple_element_21 = LOOKUP_SUBSCRIPT(tmp_expression_name_67, tmp_subscript_name_22); Py_DECREF(tmp_expression_name_67); Py_DECREF(tmp_subscript_name_22); if (tmp_tuple_element_21 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 256; type_description_2 = "c"; goto tuple_build_exception_7; } PyTuple_SET_ITEM(tmp_subscript_name_21, 1, tmp_tuple_element_21); } goto tuple_build_noexception_8; // Exception handling pass through code for tuple_build: tuple_build_exception_7:; Py_DECREF(tmp_expression_name_65); Py_DECREF(tmp_subscript_name_21); goto dict_build_exception_4; // Finished with no exception for tuple_build: tuple_build_noexception_8:; tmp_dict_value_8 = LOOKUP_SUBSCRIPT(tmp_expression_name_65, tmp_subscript_name_21); Py_DECREF(tmp_expression_name_65); Py_DECREF(tmp_subscript_name_21); if (tmp_dict_value_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 256; type_description_2 = "c"; goto dict_build_exception_4; } tmp_res = PyDict_SetItem(tmp_annotations_8, tmp_dict_key_8, tmp_dict_value_8); Py_DECREF(tmp_dict_value_8); assert(!(tmp_res != 0)); } goto dict_build_noexception_4; // Exception handling pass through code for dict_build: dict_build_exception_4:; Py_DECREF(tmp_annotations_8); goto frame_exception_exit_6; // Finished with no exception for dict_build: dict_build_noexception_4:; Py_INCREF(tmp_defaults_7); tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__15_forward(tmp_defaults_7, tmp_annotations_8); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[282], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; type_description_2 = "c"; goto frame_exception_exit_6; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_a5de3027f055170f0bf431b824d52d88_6); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_5; frame_exception_exit_6:; #if 0 RESTORE_FRAME_EXCEPTION(frame_a5de3027f055170f0bf431b824d52d88_6); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_a5de3027f055170f0bf431b824d52d88_6, exception_lineno); } else if (exception_tb->tb_frame != &frame_a5de3027f055170f0bf431b824d52d88_6->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_a5de3027f055170f0bf431b824d52d88_6, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_a5de3027f055170f0bf431b824d52d88_6, type_description_2, outline_4_var___class__ ); // Release cached frame if used for exception. if (frame_a5de3027f055170f0bf431b824d52d88_6 == cache_frame_a5de3027f055170f0bf431b824d52d88_6) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_a5de3027f055170f0bf431b824d52d88_6); cache_frame_a5de3027f055170f0bf431b824d52d88_6 = NULL; } assertFrameObject(frame_a5de3027f055170f0bf431b824d52d88_6); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_5; frame_no_exception_5:; goto skip_nested_handling_5; nested_frame_exit_5:; goto try_except_handler_19; skip_nested_handling_5:; { nuitka_bool tmp_condition_result_30; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; CHECK_OBJECT(tmp_class_creation_5__bases); tmp_compexpr_left_5 = tmp_class_creation_5__bases; CHECK_OBJECT(tmp_class_creation_5__bases_orig); tmp_compexpr_right_5 = tmp_class_creation_5__bases_orig; tmp_condition_result_30 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_5, tmp_compexpr_right_5); if (tmp_condition_result_30 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto try_except_handler_19; } if (tmp_condition_result_30 == NUITKA_BOOL_TRUE) { goto branch_yes_20; } else { goto branch_no_20; } assert(tmp_condition_result_30 != NUITKA_BOOL_UNASSIGNED); } branch_yes_20:; CHECK_OBJECT(tmp_class_creation_5__bases_orig); tmp_dictset_value = tmp_class_creation_5__bases_orig; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235, mod_consts[284], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto try_except_handler_19; } branch_no_20:; { PyObject *tmp_assign_source_75; PyObject *tmp_called_name_11; PyObject *tmp_args_name_10; PyObject *tmp_tuple_element_23; PyObject *tmp_kwargs_name_10; CHECK_OBJECT(tmp_class_creation_5__metaclass); tmp_called_name_11 = tmp_class_creation_5__metaclass; tmp_tuple_element_23 = mod_consts[162]; tmp_args_name_10 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_name_10, 0, tmp_tuple_element_23); CHECK_OBJECT(tmp_class_creation_5__bases); tmp_tuple_element_23 = tmp_class_creation_5__bases; PyTuple_SET_ITEM0(tmp_args_name_10, 1, tmp_tuple_element_23); tmp_tuple_element_23 = locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235; PyTuple_SET_ITEM0(tmp_args_name_10, 2, tmp_tuple_element_23); CHECK_OBJECT(tmp_class_creation_5__class_decl_dict); tmp_kwargs_name_10 = tmp_class_creation_5__class_decl_dict; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 235; tmp_assign_source_75 = CALL_FUNCTION(tmp_called_name_11, tmp_args_name_10, tmp_kwargs_name_10); Py_DECREF(tmp_args_name_10); if (tmp_assign_source_75 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; goto try_except_handler_19; } { PyObject *old = Nuitka_Cell_GET(outline_4_var___class__); PyCell_SET(outline_4_var___class__, tmp_assign_source_75); Py_XDECREF(old); } } CHECK_OBJECT(Nuitka_Cell_GET(outline_4_var___class__)); tmp_assign_source_74 = Nuitka_Cell_GET(outline_4_var___class__); Py_INCREF(tmp_assign_source_74); goto try_return_handler_19; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_19:; Py_DECREF(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235); locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235 = NULL; goto try_return_handler_18; // Exception handler code: try_except_handler_19:; exception_keeper_type_17 = exception_type; exception_keeper_value_17 = exception_value; exception_keeper_tb_17 = exception_tb; exception_keeper_lineno_17 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235); locals_models$modeling_llama$$$class__5_LlamaDecoderLayer_235 = NULL; // Re-raise. exception_type = exception_keeper_type_17; exception_value = exception_keeper_value_17; exception_tb = exception_keeper_tb_17; exception_lineno = exception_keeper_lineno_17; goto try_except_handler_18; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_18:; CHECK_OBJECT(outline_4_var___class__); Py_DECREF(outline_4_var___class__); outline_4_var___class__ = NULL; goto outline_result_5; // Exception handler code: try_except_handler_18:; exception_keeper_type_18 = exception_type; exception_keeper_value_18 = exception_value; exception_keeper_tb_18 = exception_tb; exception_keeper_lineno_18 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(outline_4_var___class__); Py_DECREF(outline_4_var___class__); outline_4_var___class__ = NULL; // Re-raise. exception_type = exception_keeper_type_18; exception_value = exception_keeper_value_18; exception_tb = exception_keeper_tb_18; exception_lineno = exception_keeper_lineno_18; goto outline_exception_5; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_5:; exception_lineno = 235; goto try_except_handler_17; outline_result_5:; UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[162], tmp_assign_source_74); } goto try_end_9; // Exception handler code: try_except_handler_17:; exception_keeper_type_19 = exception_type; exception_keeper_value_19 = exception_value; exception_keeper_tb_19 = exception_tb; exception_keeper_lineno_19 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_5__bases_orig); tmp_class_creation_5__bases_orig = NULL; Py_XDECREF(tmp_class_creation_5__bases); tmp_class_creation_5__bases = NULL; Py_XDECREF(tmp_class_creation_5__class_decl_dict); tmp_class_creation_5__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_5__metaclass); tmp_class_creation_5__metaclass = NULL; Py_XDECREF(tmp_class_creation_5__prepared); tmp_class_creation_5__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_19; exception_value = exception_keeper_value_19; exception_tb = exception_keeper_tb_19; exception_lineno = exception_keeper_lineno_19; goto frame_exception_exit_1; // End of try: try_end_9:; CHECK_OBJECT(tmp_class_creation_5__bases_orig); Py_DECREF(tmp_class_creation_5__bases_orig); tmp_class_creation_5__bases_orig = NULL; Py_XDECREF(tmp_class_creation_5__bases); tmp_class_creation_5__bases = NULL; Py_XDECREF(tmp_class_creation_5__class_decl_dict); tmp_class_creation_5__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_5__metaclass); tmp_class_creation_5__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_5__prepared); Py_DECREF(tmp_class_creation_5__prepared); tmp_class_creation_5__prepared = NULL; { PyObject *tmp_assign_source_76; tmp_assign_source_76 = mod_consts[303]; UPDATE_STRING_DICT0(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[304], tmp_assign_source_76); } // Tried code: { PyObject *tmp_assign_source_77; PyObject *tmp_tuple_element_24; tmp_tuple_element_24 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[255]); if (unlikely(tmp_tuple_element_24 == NULL)) { tmp_tuple_element_24 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[255]); } if (tmp_tuple_element_24 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; goto try_except_handler_20; } tmp_assign_source_77 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_assign_source_77, 0, tmp_tuple_element_24); assert(tmp_class_creation_6__bases_orig == NULL); tmp_class_creation_6__bases_orig = tmp_assign_source_77; } { PyObject *tmp_assign_source_78; PyObject *tmp_dircall_arg1_6; CHECK_OBJECT(tmp_class_creation_6__bases_orig); tmp_dircall_arg1_6 = tmp_class_creation_6__bases_orig; Py_INCREF(tmp_dircall_arg1_6); { PyObject *dir_call_args[] = {tmp_dircall_arg1_6}; tmp_assign_source_78 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_78 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; goto try_except_handler_20; } assert(tmp_class_creation_6__bases == NULL); tmp_class_creation_6__bases = tmp_assign_source_78; } { PyObject *tmp_assign_source_79; tmp_assign_source_79 = PyDict_New(); assert(tmp_class_creation_6__class_decl_dict == NULL); tmp_class_creation_6__class_decl_dict = tmp_assign_source_79; } { PyObject *tmp_assign_source_80; PyObject *tmp_metaclass_name_6; nuitka_bool tmp_condition_result_31; PyObject *tmp_key_name_16; PyObject *tmp_dict_arg_name_16; PyObject *tmp_dict_arg_name_17; PyObject *tmp_key_name_17; nuitka_bool tmp_condition_result_32; int tmp_truth_name_6; PyObject *tmp_type_arg_11; PyObject *tmp_expression_name_71; PyObject *tmp_subscript_name_24; PyObject *tmp_bases_name_6; tmp_key_name_16 = mod_consts[273]; CHECK_OBJECT(tmp_class_creation_6__class_decl_dict); tmp_dict_arg_name_16 = tmp_class_creation_6__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_16, tmp_key_name_16); assert(!(tmp_res == -1)); tmp_condition_result_31 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_31 == NUITKA_BOOL_TRUE) { goto condexpr_true_11; } else { goto condexpr_false_11; } condexpr_true_11:; CHECK_OBJECT(tmp_class_creation_6__class_decl_dict); tmp_dict_arg_name_17 = tmp_class_creation_6__class_decl_dict; tmp_key_name_17 = mod_consts[273]; tmp_metaclass_name_6 = DICT_GET_ITEM_WITH_ERROR(tmp_dict_arg_name_17, tmp_key_name_17); if (tmp_metaclass_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; goto try_except_handler_20; } goto condexpr_end_11; condexpr_false_11:; CHECK_OBJECT(tmp_class_creation_6__bases); tmp_truth_name_6 = CHECK_IF_TRUE(tmp_class_creation_6__bases); if (tmp_truth_name_6 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; goto try_except_handler_20; } tmp_condition_result_32 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_32 == NUITKA_BOOL_TRUE) { goto condexpr_true_12; } else { goto condexpr_false_12; } condexpr_true_12:; CHECK_OBJECT(tmp_class_creation_6__bases); tmp_expression_name_71 = tmp_class_creation_6__bases; tmp_subscript_name_24 = mod_consts[14]; tmp_type_arg_11 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_71, tmp_subscript_name_24, 0); if (tmp_type_arg_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; goto try_except_handler_20; } tmp_metaclass_name_6 = BUILTIN_TYPE1(tmp_type_arg_11); Py_DECREF(tmp_type_arg_11); if (tmp_metaclass_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; goto try_except_handler_20; } goto condexpr_end_12; condexpr_false_12:; tmp_metaclass_name_6 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_6); condexpr_end_12:; condexpr_end_11:; CHECK_OBJECT(tmp_class_creation_6__bases); tmp_bases_name_6 = tmp_class_creation_6__bases; tmp_assign_source_80 = SELECT_METACLASS(tmp_metaclass_name_6, tmp_bases_name_6); Py_DECREF(tmp_metaclass_name_6); if (tmp_assign_source_80 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; goto try_except_handler_20; } assert(tmp_class_creation_6__metaclass == NULL); tmp_class_creation_6__metaclass = tmp_assign_source_80; } { nuitka_bool tmp_condition_result_33; PyObject *tmp_key_name_18; PyObject *tmp_dict_arg_name_18; tmp_key_name_18 = mod_consts[273]; CHECK_OBJECT(tmp_class_creation_6__class_decl_dict); tmp_dict_arg_name_18 = tmp_class_creation_6__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_18, tmp_key_name_18); assert(!(tmp_res == -1)); tmp_condition_result_33 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_33 == NUITKA_BOOL_TRUE) { goto branch_yes_21; } else { goto branch_no_21; } } branch_yes_21:; CHECK_OBJECT(tmp_class_creation_6__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_6__class_decl_dict; tmp_dictdel_key = mod_consts[273]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; goto try_except_handler_20; } branch_no_21:; { nuitka_bool tmp_condition_result_34; PyObject *tmp_expression_name_72; CHECK_OBJECT(tmp_class_creation_6__metaclass); tmp_expression_name_72 = tmp_class_creation_6__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_72, mod_consts[274]); tmp_condition_result_34 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_34 == NUITKA_BOOL_TRUE) { goto branch_yes_22; } else { goto branch_no_22; } } branch_yes_22:; { PyObject *tmp_assign_source_81; PyObject *tmp_called_name_12; PyObject *tmp_expression_name_73; PyObject *tmp_args_name_11; PyObject *tmp_tuple_element_25; PyObject *tmp_kwargs_name_11; CHECK_OBJECT(tmp_class_creation_6__metaclass); tmp_expression_name_73 = tmp_class_creation_6__metaclass; tmp_called_name_12 = LOOKUP_ATTRIBUTE(tmp_expression_name_73, mod_consts[274]); if (tmp_called_name_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; goto try_except_handler_20; } tmp_tuple_element_25 = mod_consts[305]; tmp_args_name_11 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_11, 0, tmp_tuple_element_25); CHECK_OBJECT(tmp_class_creation_6__bases); tmp_tuple_element_25 = tmp_class_creation_6__bases; PyTuple_SET_ITEM0(tmp_args_name_11, 1, tmp_tuple_element_25); CHECK_OBJECT(tmp_class_creation_6__class_decl_dict); tmp_kwargs_name_11 = tmp_class_creation_6__class_decl_dict; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 324; tmp_assign_source_81 = CALL_FUNCTION(tmp_called_name_12, tmp_args_name_11, tmp_kwargs_name_11); Py_DECREF(tmp_called_name_12); Py_DECREF(tmp_args_name_11); if (tmp_assign_source_81 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; goto try_except_handler_20; } assert(tmp_class_creation_6__prepared == NULL); tmp_class_creation_6__prepared = tmp_assign_source_81; } { nuitka_bool tmp_condition_result_35; PyObject *tmp_operand_name_6; PyObject *tmp_expression_name_74; CHECK_OBJECT(tmp_class_creation_6__prepared); tmp_expression_name_74 = tmp_class_creation_6__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_74, mod_consts[275]); tmp_operand_name_6 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_6); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; goto try_except_handler_20; } tmp_condition_result_35 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_35 == NUITKA_BOOL_TRUE) { goto branch_yes_23; } else { goto branch_no_23; } } branch_yes_23:; { PyObject *tmp_raise_type_6; PyObject *tmp_raise_value_6; PyObject *tmp_left_name_6; PyObject *tmp_right_name_6; PyObject *tmp_tuple_element_26; PyObject *tmp_getattr_target_6; PyObject *tmp_getattr_attr_6; PyObject *tmp_getattr_default_6; tmp_raise_type_6 = PyExc_TypeError; tmp_left_name_6 = mod_consts[276]; CHECK_OBJECT(tmp_class_creation_6__metaclass); tmp_getattr_target_6 = tmp_class_creation_6__metaclass; tmp_getattr_attr_6 = mod_consts[267]; tmp_getattr_default_6 = mod_consts[277]; tmp_tuple_element_26 = BUILTIN_GETATTR(tmp_getattr_target_6, tmp_getattr_attr_6, tmp_getattr_default_6); if (tmp_tuple_element_26 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; goto try_except_handler_20; } tmp_right_name_6 = PyTuple_New(2); { PyObject *tmp_expression_name_75; PyObject *tmp_type_arg_12; PyTuple_SET_ITEM(tmp_right_name_6, 0, tmp_tuple_element_26); CHECK_OBJECT(tmp_class_creation_6__prepared); tmp_type_arg_12 = tmp_class_creation_6__prepared; tmp_expression_name_75 = BUILTIN_TYPE1(tmp_type_arg_12); assert(!(tmp_expression_name_75 == NULL)); tmp_tuple_element_26 = LOOKUP_ATTRIBUTE(tmp_expression_name_75, mod_consts[267]); Py_DECREF(tmp_expression_name_75); if (tmp_tuple_element_26 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; goto tuple_build_exception_9; } PyTuple_SET_ITEM(tmp_right_name_6, 1, tmp_tuple_element_26); } goto tuple_build_noexception_9; // Exception handling pass through code for tuple_build: tuple_build_exception_9:; Py_DECREF(tmp_right_name_6); goto try_except_handler_20; // Finished with no exception for tuple_build: tuple_build_noexception_9:; tmp_raise_value_6 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_6, tmp_right_name_6); Py_DECREF(tmp_right_name_6); if (tmp_raise_value_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; goto try_except_handler_20; } exception_type = tmp_raise_type_6; Py_INCREF(tmp_raise_type_6); exception_value = tmp_raise_value_6; exception_lineno = 324; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_20; } branch_no_23:; goto branch_end_22; branch_no_22:; { PyObject *tmp_assign_source_82; tmp_assign_source_82 = PyDict_New(); assert(tmp_class_creation_6__prepared == NULL); tmp_class_creation_6__prepared = tmp_assign_source_82; } branch_end_22:; { PyObject *tmp_assign_source_83; PyObject *tmp_called_name_13; PyObject *tmp_called_name_14; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; tmp_called_name_14 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[258]); if (unlikely(tmp_called_name_14 == NULL)) { tmp_called_name_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[258]); } if (tmp_called_name_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 320; goto try_except_handler_20; } tmp_args_element_name_2 = mod_consts[306]; tmp_args_element_name_3 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[304]); if (unlikely(tmp_args_element_name_3 == NULL)) { tmp_args_element_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[304]); } if (tmp_args_element_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 322; goto try_except_handler_20; } frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 320; { PyObject *call_args[] = {tmp_args_element_name_2, tmp_args_element_name_3}; tmp_called_name_13 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_14, call_args); } if (tmp_called_name_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 320; goto try_except_handler_20; } { PyObject *tmp_set_locals_6; CHECK_OBJECT(tmp_class_creation_6__prepared); tmp_set_locals_6 = tmp_class_creation_6__prepared; locals_models$modeling_llama$$$class__6_LlamaPreTrainedModel_324 = tmp_set_locals_6; Py_INCREF(tmp_set_locals_6); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[267]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[267]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__6_LlamaPreTrainedModel_324, mod_consts[278], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; goto try_except_handler_22; } tmp_dictset_value = mod_consts[305]; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__6_LlamaPreTrainedModel_324, mod_consts[279], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; goto try_except_handler_22; } if (isFrameUnusable(cache_frame_9171f0378e83efc52a6d63ba30cfd90a_7)) { Py_XDECREF(cache_frame_9171f0378e83efc52a6d63ba30cfd90a_7); #if _DEBUG_REFCOUNTS if (cache_frame_9171f0378e83efc52a6d63ba30cfd90a_7 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_9171f0378e83efc52a6d63ba30cfd90a_7 = MAKE_FUNCTION_FRAME(codeobj_9171f0378e83efc52a6d63ba30cfd90a, module_models$modeling_llama, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_9171f0378e83efc52a6d63ba30cfd90a_7->m_type_description == NULL); frame_9171f0378e83efc52a6d63ba30cfd90a_7 = cache_frame_9171f0378e83efc52a6d63ba30cfd90a_7; // Push the new frame as the currently active one. pushFrameStack(frame_9171f0378e83efc52a6d63ba30cfd90a_7); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_9171f0378e83efc52a6d63ba30cfd90a_7) == 2); // Frame stack // Framed code: tmp_dictset_value = PyObject_GetItem(locals_models$modeling_llama$$$class__6_LlamaPreTrainedModel_324, mod_consts[264]); if (tmp_dictset_value == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[264]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[264]); } if (tmp_dictset_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 325; type_description_2 = "o"; goto frame_exception_exit_7; } Py_INCREF(tmp_dictset_value); } } tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__6_LlamaPreTrainedModel_324, mod_consts[307], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 325; type_description_2 = "o"; goto frame_exception_exit_7; } tmp_dictset_value = mod_consts[203]; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__6_LlamaPreTrainedModel_324, mod_consts[308], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 326; type_description_2 = "o"; goto frame_exception_exit_7; } tmp_dictset_value = Py_True; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__6_LlamaPreTrainedModel_324, mod_consts[309], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 327; type_description_2 = "o"; goto frame_exception_exit_7; } tmp_dictset_value = LIST_COPY(mod_consts[310]); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__6_LlamaPreTrainedModel_324, mod_consts[311], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 328; type_description_2 = "o"; goto frame_exception_exit_7; } tmp_dictset_value = LIST_COPY(mod_consts[312]); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__6_LlamaPreTrainedModel_324, mod_consts[313], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 329; type_description_2 = "o"; goto frame_exception_exit_7; } tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__16__init_weights(); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__6_LlamaPreTrainedModel_324, mod_consts[314], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 331; type_description_2 = "o"; goto frame_exception_exit_7; } { PyObject *tmp_defaults_8; tmp_defaults_8 = mod_consts[316]; Py_INCREF(tmp_defaults_8); tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__17__set_gradient_checkpointing(tmp_defaults_8); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__6_LlamaPreTrainedModel_324, mod_consts[317], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 342; type_description_2 = "o"; goto frame_exception_exit_7; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_9171f0378e83efc52a6d63ba30cfd90a_7); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_6; frame_exception_exit_7:; #if 0 RESTORE_FRAME_EXCEPTION(frame_9171f0378e83efc52a6d63ba30cfd90a_7); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_9171f0378e83efc52a6d63ba30cfd90a_7, exception_lineno); } else if (exception_tb->tb_frame != &frame_9171f0378e83efc52a6d63ba30cfd90a_7->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_9171f0378e83efc52a6d63ba30cfd90a_7, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_9171f0378e83efc52a6d63ba30cfd90a_7, type_description_2, outline_5_var___class__ ); // Release cached frame if used for exception. if (frame_9171f0378e83efc52a6d63ba30cfd90a_7 == cache_frame_9171f0378e83efc52a6d63ba30cfd90a_7) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_9171f0378e83efc52a6d63ba30cfd90a_7); cache_frame_9171f0378e83efc52a6d63ba30cfd90a_7 = NULL; } assertFrameObject(frame_9171f0378e83efc52a6d63ba30cfd90a_7); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_6; frame_no_exception_6:; goto skip_nested_handling_6; nested_frame_exit_6:; goto try_except_handler_22; skip_nested_handling_6:; { nuitka_bool tmp_condition_result_36; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; CHECK_OBJECT(tmp_class_creation_6__bases); tmp_compexpr_left_6 = tmp_class_creation_6__bases; CHECK_OBJECT(tmp_class_creation_6__bases_orig); tmp_compexpr_right_6 = tmp_class_creation_6__bases_orig; tmp_condition_result_36 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_6, tmp_compexpr_right_6); if (tmp_condition_result_36 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; goto try_except_handler_22; } if (tmp_condition_result_36 == NUITKA_BOOL_TRUE) { goto branch_yes_24; } else { goto branch_no_24; } assert(tmp_condition_result_36 != NUITKA_BOOL_UNASSIGNED); } branch_yes_24:; CHECK_OBJECT(tmp_class_creation_6__bases_orig); tmp_dictset_value = tmp_class_creation_6__bases_orig; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__6_LlamaPreTrainedModel_324, mod_consts[284], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; goto try_except_handler_22; } branch_no_24:; { PyObject *tmp_assign_source_84; PyObject *tmp_called_name_15; PyObject *tmp_args_name_12; PyObject *tmp_tuple_element_27; PyObject *tmp_kwargs_name_12; CHECK_OBJECT(tmp_class_creation_6__metaclass); tmp_called_name_15 = tmp_class_creation_6__metaclass; tmp_tuple_element_27 = mod_consts[305]; tmp_args_name_12 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_name_12, 0, tmp_tuple_element_27); CHECK_OBJECT(tmp_class_creation_6__bases); tmp_tuple_element_27 = tmp_class_creation_6__bases; PyTuple_SET_ITEM0(tmp_args_name_12, 1, tmp_tuple_element_27); tmp_tuple_element_27 = locals_models$modeling_llama$$$class__6_LlamaPreTrainedModel_324; PyTuple_SET_ITEM0(tmp_args_name_12, 2, tmp_tuple_element_27); CHECK_OBJECT(tmp_class_creation_6__class_decl_dict); tmp_kwargs_name_12 = tmp_class_creation_6__class_decl_dict; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 324; tmp_assign_source_84 = CALL_FUNCTION(tmp_called_name_15, tmp_args_name_12, tmp_kwargs_name_12); Py_DECREF(tmp_args_name_12); if (tmp_assign_source_84 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; goto try_except_handler_22; } assert(outline_5_var___class__ == NULL); outline_5_var___class__ = tmp_assign_source_84; } CHECK_OBJECT(outline_5_var___class__); tmp_args_element_name_4 = outline_5_var___class__; Py_INCREF(tmp_args_element_name_4); goto try_return_handler_22; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_22:; Py_DECREF(locals_models$modeling_llama$$$class__6_LlamaPreTrainedModel_324); locals_models$modeling_llama$$$class__6_LlamaPreTrainedModel_324 = NULL; goto try_return_handler_21; // Exception handler code: try_except_handler_22:; exception_keeper_type_20 = exception_type; exception_keeper_value_20 = exception_value; exception_keeper_tb_20 = exception_tb; exception_keeper_lineno_20 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$modeling_llama$$$class__6_LlamaPreTrainedModel_324); locals_models$modeling_llama$$$class__6_LlamaPreTrainedModel_324 = NULL; // Re-raise. exception_type = exception_keeper_type_20; exception_value = exception_keeper_value_20; exception_tb = exception_keeper_tb_20; exception_lineno = exception_keeper_lineno_20; goto try_except_handler_21; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_21:; CHECK_OBJECT(outline_5_var___class__); Py_DECREF(outline_5_var___class__); outline_5_var___class__ = NULL; goto outline_result_6; // Exception handler code: try_except_handler_21:; exception_keeper_type_21 = exception_type; exception_keeper_value_21 = exception_value; exception_keeper_tb_21 = exception_tb; exception_keeper_lineno_21 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Re-raise. exception_type = exception_keeper_type_21; exception_value = exception_keeper_value_21; exception_tb = exception_keeper_tb_21; exception_lineno = exception_keeper_lineno_21; goto outline_exception_6; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_6:; exception_lineno = 324; goto try_except_handler_20; outline_result_6:; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 320; tmp_assign_source_83 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_13, tmp_args_element_name_4); Py_DECREF(tmp_called_name_13); Py_DECREF(tmp_args_element_name_4); if (tmp_assign_source_83 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 320; goto try_except_handler_20; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[305], tmp_assign_source_83); } goto try_end_10; // Exception handler code: try_except_handler_20:; exception_keeper_type_22 = exception_type; exception_keeper_value_22 = exception_value; exception_keeper_tb_22 = exception_tb; exception_keeper_lineno_22 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_6__bases_orig); tmp_class_creation_6__bases_orig = NULL; Py_XDECREF(tmp_class_creation_6__bases); tmp_class_creation_6__bases = NULL; Py_XDECREF(tmp_class_creation_6__class_decl_dict); tmp_class_creation_6__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_6__metaclass); tmp_class_creation_6__metaclass = NULL; Py_XDECREF(tmp_class_creation_6__prepared); tmp_class_creation_6__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_22; exception_value = exception_keeper_value_22; exception_tb = exception_keeper_tb_22; exception_lineno = exception_keeper_lineno_22; goto frame_exception_exit_1; // End of try: try_end_10:; CHECK_OBJECT(tmp_class_creation_6__bases_orig); Py_DECREF(tmp_class_creation_6__bases_orig); tmp_class_creation_6__bases_orig = NULL; Py_XDECREF(tmp_class_creation_6__bases); tmp_class_creation_6__bases = NULL; Py_XDECREF(tmp_class_creation_6__class_decl_dict); tmp_class_creation_6__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_6__metaclass); tmp_class_creation_6__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_6__prepared); Py_DECREF(tmp_class_creation_6__prepared); tmp_class_creation_6__prepared = NULL; { PyObject *tmp_assign_source_85; tmp_assign_source_85 = mod_consts[319]; UPDATE_STRING_DICT0(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[320], tmp_assign_source_85); } // Tried code: { PyObject *tmp_assign_source_86; PyObject *tmp_tuple_element_28; tmp_tuple_element_28 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[305]); if (unlikely(tmp_tuple_element_28 == NULL)) { tmp_tuple_element_28 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[305]); } if (tmp_tuple_element_28 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto try_except_handler_23; } tmp_assign_source_86 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_assign_source_86, 0, tmp_tuple_element_28); assert(tmp_class_creation_7__bases_orig == NULL); tmp_class_creation_7__bases_orig = tmp_assign_source_86; } { PyObject *tmp_assign_source_87; PyObject *tmp_dircall_arg1_7; CHECK_OBJECT(tmp_class_creation_7__bases_orig); tmp_dircall_arg1_7 = tmp_class_creation_7__bases_orig; Py_INCREF(tmp_dircall_arg1_7); { PyObject *dir_call_args[] = {tmp_dircall_arg1_7}; tmp_assign_source_87 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_87 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto try_except_handler_23; } assert(tmp_class_creation_7__bases == NULL); tmp_class_creation_7__bases = tmp_assign_source_87; } { PyObject *tmp_assign_source_88; tmp_assign_source_88 = PyDict_New(); assert(tmp_class_creation_7__class_decl_dict == NULL); tmp_class_creation_7__class_decl_dict = tmp_assign_source_88; } { PyObject *tmp_assign_source_89; PyObject *tmp_metaclass_name_7; nuitka_bool tmp_condition_result_37; PyObject *tmp_key_name_19; PyObject *tmp_dict_arg_name_19; PyObject *tmp_dict_arg_name_20; PyObject *tmp_key_name_20; nuitka_bool tmp_condition_result_38; int tmp_truth_name_7; PyObject *tmp_type_arg_13; PyObject *tmp_expression_name_76; PyObject *tmp_subscript_name_25; PyObject *tmp_bases_name_7; tmp_key_name_19 = mod_consts[273]; CHECK_OBJECT(tmp_class_creation_7__class_decl_dict); tmp_dict_arg_name_19 = tmp_class_creation_7__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_19, tmp_key_name_19); assert(!(tmp_res == -1)); tmp_condition_result_37 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_37 == NUITKA_BOOL_TRUE) { goto condexpr_true_13; } else { goto condexpr_false_13; } condexpr_true_13:; CHECK_OBJECT(tmp_class_creation_7__class_decl_dict); tmp_dict_arg_name_20 = tmp_class_creation_7__class_decl_dict; tmp_key_name_20 = mod_consts[273]; tmp_metaclass_name_7 = DICT_GET_ITEM_WITH_ERROR(tmp_dict_arg_name_20, tmp_key_name_20); if (tmp_metaclass_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto try_except_handler_23; } goto condexpr_end_13; condexpr_false_13:; CHECK_OBJECT(tmp_class_creation_7__bases); tmp_truth_name_7 = CHECK_IF_TRUE(tmp_class_creation_7__bases); if (tmp_truth_name_7 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto try_except_handler_23; } tmp_condition_result_38 = tmp_truth_name_7 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_38 == NUITKA_BOOL_TRUE) { goto condexpr_true_14; } else { goto condexpr_false_14; } condexpr_true_14:; CHECK_OBJECT(tmp_class_creation_7__bases); tmp_expression_name_76 = tmp_class_creation_7__bases; tmp_subscript_name_25 = mod_consts[14]; tmp_type_arg_13 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_76, tmp_subscript_name_25, 0); if (tmp_type_arg_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto try_except_handler_23; } tmp_metaclass_name_7 = BUILTIN_TYPE1(tmp_type_arg_13); Py_DECREF(tmp_type_arg_13); if (tmp_metaclass_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto try_except_handler_23; } goto condexpr_end_14; condexpr_false_14:; tmp_metaclass_name_7 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_7); condexpr_end_14:; condexpr_end_13:; CHECK_OBJECT(tmp_class_creation_7__bases); tmp_bases_name_7 = tmp_class_creation_7__bases; tmp_assign_source_89 = SELECT_METACLASS(tmp_metaclass_name_7, tmp_bases_name_7); Py_DECREF(tmp_metaclass_name_7); if (tmp_assign_source_89 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto try_except_handler_23; } assert(tmp_class_creation_7__metaclass == NULL); tmp_class_creation_7__metaclass = tmp_assign_source_89; } { nuitka_bool tmp_condition_result_39; PyObject *tmp_key_name_21; PyObject *tmp_dict_arg_name_21; tmp_key_name_21 = mod_consts[273]; CHECK_OBJECT(tmp_class_creation_7__class_decl_dict); tmp_dict_arg_name_21 = tmp_class_creation_7__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_21, tmp_key_name_21); assert(!(tmp_res == -1)); tmp_condition_result_39 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_39 == NUITKA_BOOL_TRUE) { goto branch_yes_25; } else { goto branch_no_25; } } branch_yes_25:; CHECK_OBJECT(tmp_class_creation_7__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_7__class_decl_dict; tmp_dictdel_key = mod_consts[273]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto try_except_handler_23; } branch_no_25:; { nuitka_bool tmp_condition_result_40; PyObject *tmp_expression_name_77; CHECK_OBJECT(tmp_class_creation_7__metaclass); tmp_expression_name_77 = tmp_class_creation_7__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_77, mod_consts[274]); tmp_condition_result_40 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_40 == NUITKA_BOOL_TRUE) { goto branch_yes_26; } else { goto branch_no_26; } } branch_yes_26:; { PyObject *tmp_assign_source_90; PyObject *tmp_called_name_16; PyObject *tmp_expression_name_78; PyObject *tmp_args_name_13; PyObject *tmp_tuple_element_29; PyObject *tmp_kwargs_name_13; CHECK_OBJECT(tmp_class_creation_7__metaclass); tmp_expression_name_78 = tmp_class_creation_7__metaclass; tmp_called_name_16 = LOOKUP_ATTRIBUTE(tmp_expression_name_78, mod_consts[274]); if (tmp_called_name_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto try_except_handler_23; } tmp_tuple_element_29 = mod_consts[155]; tmp_args_name_13 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_13, 0, tmp_tuple_element_29); CHECK_OBJECT(tmp_class_creation_7__bases); tmp_tuple_element_29 = tmp_class_creation_7__bases; PyTuple_SET_ITEM0(tmp_args_name_13, 1, tmp_tuple_element_29); CHECK_OBJECT(tmp_class_creation_7__class_decl_dict); tmp_kwargs_name_13 = tmp_class_creation_7__class_decl_dict; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 415; tmp_assign_source_90 = CALL_FUNCTION(tmp_called_name_16, tmp_args_name_13, tmp_kwargs_name_13); Py_DECREF(tmp_called_name_16); Py_DECREF(tmp_args_name_13); if (tmp_assign_source_90 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto try_except_handler_23; } assert(tmp_class_creation_7__prepared == NULL); tmp_class_creation_7__prepared = tmp_assign_source_90; } { nuitka_bool tmp_condition_result_41; PyObject *tmp_operand_name_7; PyObject *tmp_expression_name_79; CHECK_OBJECT(tmp_class_creation_7__prepared); tmp_expression_name_79 = tmp_class_creation_7__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_79, mod_consts[275]); tmp_operand_name_7 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_7); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto try_except_handler_23; } tmp_condition_result_41 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_41 == NUITKA_BOOL_TRUE) { goto branch_yes_27; } else { goto branch_no_27; } } branch_yes_27:; { PyObject *tmp_raise_type_7; PyObject *tmp_raise_value_7; PyObject *tmp_left_name_7; PyObject *tmp_right_name_7; PyObject *tmp_tuple_element_30; PyObject *tmp_getattr_target_7; PyObject *tmp_getattr_attr_7; PyObject *tmp_getattr_default_7; tmp_raise_type_7 = PyExc_TypeError; tmp_left_name_7 = mod_consts[276]; CHECK_OBJECT(tmp_class_creation_7__metaclass); tmp_getattr_target_7 = tmp_class_creation_7__metaclass; tmp_getattr_attr_7 = mod_consts[267]; tmp_getattr_default_7 = mod_consts[277]; tmp_tuple_element_30 = BUILTIN_GETATTR(tmp_getattr_target_7, tmp_getattr_attr_7, tmp_getattr_default_7); if (tmp_tuple_element_30 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto try_except_handler_23; } tmp_right_name_7 = PyTuple_New(2); { PyObject *tmp_expression_name_80; PyObject *tmp_type_arg_14; PyTuple_SET_ITEM(tmp_right_name_7, 0, tmp_tuple_element_30); CHECK_OBJECT(tmp_class_creation_7__prepared); tmp_type_arg_14 = tmp_class_creation_7__prepared; tmp_expression_name_80 = BUILTIN_TYPE1(tmp_type_arg_14); assert(!(tmp_expression_name_80 == NULL)); tmp_tuple_element_30 = LOOKUP_ATTRIBUTE(tmp_expression_name_80, mod_consts[267]); Py_DECREF(tmp_expression_name_80); if (tmp_tuple_element_30 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto tuple_build_exception_10; } PyTuple_SET_ITEM(tmp_right_name_7, 1, tmp_tuple_element_30); } goto tuple_build_noexception_10; // Exception handling pass through code for tuple_build: tuple_build_exception_10:; Py_DECREF(tmp_right_name_7); goto try_except_handler_23; // Finished with no exception for tuple_build: tuple_build_noexception_10:; tmp_raise_value_7 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_7, tmp_right_name_7); Py_DECREF(tmp_right_name_7); if (tmp_raise_value_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto try_except_handler_23; } exception_type = tmp_raise_type_7; Py_INCREF(tmp_raise_type_7); exception_value = tmp_raise_value_7; exception_lineno = 415; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_23; } branch_no_27:; goto branch_end_26; branch_no_26:; { PyObject *tmp_assign_source_91; tmp_assign_source_91 = PyDict_New(); assert(tmp_class_creation_7__prepared == NULL); tmp_class_creation_7__prepared = tmp_assign_source_91; } branch_end_26:; { PyObject *tmp_assign_source_92; PyObject *tmp_called_name_17; PyObject *tmp_called_name_18; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; tmp_called_name_18 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[258]); if (unlikely(tmp_called_name_18 == NULL)) { tmp_called_name_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[258]); } if (tmp_called_name_18 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 411; goto try_except_handler_23; } tmp_args_element_name_5 = mod_consts[306]; tmp_args_element_name_6 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[304]); if (unlikely(tmp_args_element_name_6 == NULL)) { tmp_args_element_name_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[304]); } if (tmp_args_element_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 413; goto try_except_handler_23; } frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 411; { PyObject *call_args[] = {tmp_args_element_name_5, tmp_args_element_name_6}; tmp_called_name_17 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_18, call_args); } if (tmp_called_name_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 411; goto try_except_handler_23; } { PyObject *tmp_set_locals_7; CHECK_OBJECT(tmp_class_creation_7__prepared); tmp_set_locals_7 = tmp_class_creation_7__prepared; locals_models$modeling_llama$$$class__7_LlamaModel_415 = tmp_set_locals_7; Py_INCREF(tmp_set_locals_7); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[267]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[267]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[278], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto try_except_handler_25; } tmp_dictset_value = mod_consts[321]; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[230], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto try_except_handler_25; } tmp_dictset_value = mod_consts[155]; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[279], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto try_except_handler_25; } if (isFrameUnusable(cache_frame_8c53a3442347f49427162dbefea4c48e_8)) { Py_XDECREF(cache_frame_8c53a3442347f49427162dbefea4c48e_8); #if _DEBUG_REFCOUNTS if (cache_frame_8c53a3442347f49427162dbefea4c48e_8 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_8c53a3442347f49427162dbefea4c48e_8 = MAKE_FUNCTION_FRAME(codeobj_8c53a3442347f49427162dbefea4c48e, module_models$modeling_llama, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_8c53a3442347f49427162dbefea4c48e_8->m_type_description == NULL); frame_8c53a3442347f49427162dbefea4c48e_8 = cache_frame_8c53a3442347f49427162dbefea4c48e_8; // Push the new frame as the currently active one. pushFrameStack(frame_8c53a3442347f49427162dbefea4c48e_8); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_8c53a3442347f49427162dbefea4c48e_8) == 2); // Frame stack // Framed code: { PyObject *tmp_annotations_9; PyObject *tmp_dict_key_9; PyObject *tmp_dict_value_9; struct Nuitka_CellObject *tmp_closure_6[1]; tmp_dict_key_9 = mod_consts[85]; tmp_dict_value_9 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[264]); if (tmp_dict_value_9 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_dict_value_9 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[264]); if (unlikely(tmp_dict_value_9 == NULL)) { tmp_dict_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[264]); } if (tmp_dict_value_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 423; type_description_2 = "c"; goto frame_exception_exit_8; } Py_INCREF(tmp_dict_value_9); } } tmp_annotations_9 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_annotations_9, tmp_dict_key_9, tmp_dict_value_9); Py_DECREF(tmp_dict_value_9); assert(!(tmp_res != 0)); tmp_closure_6[0] = outline_6_var___class__; Py_INCREF(tmp_closure_6[0]); tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__18___init__(tmp_annotations_9, tmp_closure_6); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[32], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 423; type_description_2 = "c"; goto frame_exception_exit_8; } } tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__19_get_input_embeddings(); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[323], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 436; type_description_2 = "c"; goto frame_exception_exit_8; } tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__20_set_input_embeddings(); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[325], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 439; type_description_2 = "c"; goto frame_exception_exit_8; } tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__21__prepare_decoder_attention_mask(); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[181], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 443; type_description_2 = "c"; goto frame_exception_exit_8; } { PyObject *tmp_called_name_19; PyObject *tmp_called_name_20; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; PyObject *tmp_defaults_9; PyObject *tmp_annotations_10; PyObject *tmp_dict_key_10; PyObject *tmp_dict_value_10; PyObject *tmp_expression_name_81; tmp_called_name_20 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[259]); if (tmp_called_name_20 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_called_name_20 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[259]); if (unlikely(tmp_called_name_20 == NULL)) { tmp_called_name_20 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[259]); } if (tmp_called_name_20 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 466; type_description_2 = "c"; goto frame_exception_exit_8; } Py_INCREF(tmp_called_name_20); } } tmp_args_element_name_8 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[320]); if (tmp_args_element_name_8 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_args_element_name_8 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[320]); if (unlikely(tmp_args_element_name_8 == NULL)) { tmp_args_element_name_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[320]); } if (tmp_args_element_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_20); exception_lineno = 466; type_description_2 = "c"; goto frame_exception_exit_8; } Py_INCREF(tmp_args_element_name_8); } } frame_8c53a3442347f49427162dbefea4c48e_8->m_frame.f_lineno = 466; tmp_called_name_19 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_20, tmp_args_element_name_8); Py_DECREF(tmp_called_name_20); Py_DECREF(tmp_args_element_name_8); if (tmp_called_name_19 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 466; type_description_2 = "c"; goto frame_exception_exit_8; } tmp_defaults_9 = mod_consts[328]; tmp_dict_key_10 = mod_consts[174]; tmp_expression_name_81 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[1]); if (tmp_expression_name_81 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_81 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_81 == NULL)) { tmp_expression_name_81 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_81 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_19); exception_lineno = 469; type_description_2 = "c"; goto frame_exception_exit_8; } Py_INCREF(tmp_expression_name_81); } } tmp_dict_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_name_81, mod_consts[297]); Py_DECREF(tmp_expression_name_81); if (tmp_dict_value_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_19); exception_lineno = 469; type_description_2 = "c"; goto frame_exception_exit_8; } tmp_annotations_10 = _PyDict_NewPresized( 11 ); { PyObject *tmp_expression_name_82; PyObject *tmp_subscript_name_26; PyObject *tmp_expression_name_83; PyObject *tmp_expression_name_84; PyObject *tmp_subscript_name_27; PyObject *tmp_expression_name_85; PyObject *tmp_expression_name_86; PyObject *tmp_subscript_name_28; PyObject *tmp_expression_name_87; PyObject *tmp_subscript_name_29; PyObject *tmp_expression_name_88; PyObject *tmp_expression_name_89; PyObject *tmp_subscript_name_30; PyObject *tmp_expression_name_90; PyObject *tmp_expression_name_91; PyObject *tmp_subscript_name_31; PyObject *tmp_expression_name_92; PyObject *tmp_expression_name_93; PyObject *tmp_subscript_name_32; PyObject *tmp_expression_name_94; PyObject *tmp_subscript_name_33; PyObject *tmp_expression_name_95; PyObject *tmp_subscript_name_34; PyObject *tmp_expression_name_96; PyObject *tmp_subscript_name_35; PyObject *tmp_expression_name_97; PyObject *tmp_subscript_name_36; PyObject *tmp_tuple_element_31; tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_10, tmp_dict_value_10); Py_DECREF(tmp_dict_value_10); assert(!(tmp_res != 0)); tmp_dict_key_10 = mod_consts[121]; tmp_expression_name_82 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[239]); if (tmp_expression_name_82 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_82 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_82 == NULL)) { tmp_expression_name_82 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_82 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 470; type_description_2 = "c"; goto dict_build_exception_5; } Py_INCREF(tmp_expression_name_82); } } tmp_expression_name_83 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[1]); if (tmp_expression_name_83 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_83 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_83 == NULL)) { tmp_expression_name_83 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_83 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_82); exception_lineno = 470; type_description_2 = "c"; goto dict_build_exception_5; } Py_INCREF(tmp_expression_name_83); } } tmp_subscript_name_26 = LOOKUP_ATTRIBUTE(tmp_expression_name_83, mod_consts[271]); Py_DECREF(tmp_expression_name_83); if (tmp_subscript_name_26 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_82); exception_lineno = 470; type_description_2 = "c"; goto dict_build_exception_5; } tmp_dict_value_10 = LOOKUP_SUBSCRIPT(tmp_expression_name_82, tmp_subscript_name_26); Py_DECREF(tmp_expression_name_82); Py_DECREF(tmp_subscript_name_26); if (tmp_dict_value_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 470; type_description_2 = "c"; goto dict_build_exception_5; } tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_10, tmp_dict_value_10); Py_DECREF(tmp_dict_value_10); assert(!(tmp_res != 0)); tmp_dict_key_10 = mod_consts[139]; tmp_expression_name_84 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[239]); if (tmp_expression_name_84 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_84 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_84 == NULL)) { tmp_expression_name_84 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_84 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 471; type_description_2 = "c"; goto dict_build_exception_5; } Py_INCREF(tmp_expression_name_84); } } tmp_expression_name_85 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[1]); if (tmp_expression_name_85 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_85 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_85 == NULL)) { tmp_expression_name_85 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_85 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_84); exception_lineno = 471; type_description_2 = "c"; goto dict_build_exception_5; } Py_INCREF(tmp_expression_name_85); } } tmp_subscript_name_27 = LOOKUP_ATTRIBUTE(tmp_expression_name_85, mod_consts[297]); Py_DECREF(tmp_expression_name_85); if (tmp_subscript_name_27 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_84); exception_lineno = 471; type_description_2 = "c"; goto dict_build_exception_5; } tmp_dict_value_10 = LOOKUP_SUBSCRIPT(tmp_expression_name_84, tmp_subscript_name_27); Py_DECREF(tmp_expression_name_84); Py_DECREF(tmp_subscript_name_27); if (tmp_dict_value_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 471; type_description_2 = "c"; goto dict_build_exception_5; } tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_10, tmp_dict_value_10); Py_DECREF(tmp_dict_value_10); assert(!(tmp_res != 0)); tmp_dict_key_10 = mod_consts[188]; tmp_expression_name_86 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[239]); if (tmp_expression_name_86 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_86 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_86 == NULL)) { tmp_expression_name_86 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_86 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 472; type_description_2 = "c"; goto dict_build_exception_5; } Py_INCREF(tmp_expression_name_86); } } tmp_expression_name_87 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[238]); if (tmp_expression_name_87 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_87 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[238]); if (unlikely(tmp_expression_name_87 == NULL)) { tmp_expression_name_87 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[238]); } if (tmp_expression_name_87 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_86); exception_lineno = 472; type_description_2 = "c"; goto dict_build_exception_5; } Py_INCREF(tmp_expression_name_87); } } tmp_expression_name_88 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[1]); if (tmp_expression_name_88 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_88 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_88 == NULL)) { tmp_expression_name_88 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_88 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_86); Py_DECREF(tmp_expression_name_87); exception_lineno = 472; type_description_2 = "c"; goto dict_build_exception_5; } Py_INCREF(tmp_expression_name_88); } } tmp_subscript_name_29 = LOOKUP_ATTRIBUTE(tmp_expression_name_88, mod_consts[301]); Py_DECREF(tmp_expression_name_88); if (tmp_subscript_name_29 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_86); Py_DECREF(tmp_expression_name_87); exception_lineno = 472; type_description_2 = "c"; goto dict_build_exception_5; } tmp_subscript_name_28 = LOOKUP_SUBSCRIPT(tmp_expression_name_87, tmp_subscript_name_29); Py_DECREF(tmp_expression_name_87); Py_DECREF(tmp_subscript_name_29); if (tmp_subscript_name_28 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_86); exception_lineno = 472; type_description_2 = "c"; goto dict_build_exception_5; } tmp_dict_value_10 = LOOKUP_SUBSCRIPT(tmp_expression_name_86, tmp_subscript_name_28); Py_DECREF(tmp_expression_name_86); Py_DECREF(tmp_subscript_name_28); if (tmp_dict_value_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 472; type_description_2 = "c"; goto dict_build_exception_5; } tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_10, tmp_dict_value_10); Py_DECREF(tmp_dict_value_10); assert(!(tmp_res != 0)); tmp_dict_key_10 = mod_consts[167]; tmp_expression_name_89 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[239]); if (tmp_expression_name_89 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_89 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_89 == NULL)) { tmp_expression_name_89 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_89 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 473; type_description_2 = "c"; goto dict_build_exception_5; } Py_INCREF(tmp_expression_name_89); } } tmp_expression_name_90 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[1]); if (tmp_expression_name_90 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_90 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_90 == NULL)) { tmp_expression_name_90 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_90 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_89); exception_lineno = 473; type_description_2 = "c"; goto dict_build_exception_5; } Py_INCREF(tmp_expression_name_90); } } tmp_subscript_name_30 = LOOKUP_ATTRIBUTE(tmp_expression_name_90, mod_consts[301]); Py_DECREF(tmp_expression_name_90); if (tmp_subscript_name_30 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_89); exception_lineno = 473; type_description_2 = "c"; goto dict_build_exception_5; } tmp_dict_value_10 = LOOKUP_SUBSCRIPT(tmp_expression_name_89, tmp_subscript_name_30); Py_DECREF(tmp_expression_name_89); Py_DECREF(tmp_subscript_name_30); if (tmp_dict_value_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 473; type_description_2 = "c"; goto dict_build_exception_5; } tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_10, tmp_dict_value_10); Py_DECREF(tmp_dict_value_10); assert(!(tmp_res != 0)); tmp_dict_key_10 = mod_consts[205]; tmp_expression_name_91 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[239]); if (tmp_expression_name_91 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_91 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_91 == NULL)) { tmp_expression_name_91 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_91 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 474; type_description_2 = "c"; goto dict_build_exception_5; } Py_INCREF(tmp_expression_name_91); } } tmp_expression_name_92 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[1]); if (tmp_expression_name_92 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_92 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_92 == NULL)) { tmp_expression_name_92 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_92 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_91); exception_lineno = 474; type_description_2 = "c"; goto dict_build_exception_5; } Py_INCREF(tmp_expression_name_92); } } tmp_subscript_name_31 = LOOKUP_ATTRIBUTE(tmp_expression_name_92, mod_consts[301]); Py_DECREF(tmp_expression_name_92); if (tmp_subscript_name_31 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_91); exception_lineno = 474; type_description_2 = "c"; goto dict_build_exception_5; } tmp_dict_value_10 = LOOKUP_SUBSCRIPT(tmp_expression_name_91, tmp_subscript_name_31); Py_DECREF(tmp_expression_name_91); Py_DECREF(tmp_subscript_name_31); if (tmp_dict_value_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 474; type_description_2 = "c"; goto dict_build_exception_5; } tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_10, tmp_dict_value_10); Py_DECREF(tmp_dict_value_10); assert(!(tmp_res != 0)); tmp_dict_key_10 = mod_consts[142]; tmp_expression_name_93 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[239]); if (tmp_expression_name_93 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_93 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_93 == NULL)) { tmp_expression_name_93 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_93 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 475; type_description_2 = "c"; goto dict_build_exception_5; } Py_INCREF(tmp_expression_name_93); } } tmp_subscript_name_32 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[29]); if (tmp_subscript_name_32 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_subscript_name_32 = (PyObject *)&PyBool_Type; Py_INCREF(tmp_subscript_name_32); } } tmp_dict_value_10 = LOOKUP_SUBSCRIPT(tmp_expression_name_93, tmp_subscript_name_32); Py_DECREF(tmp_expression_name_93); Py_DECREF(tmp_subscript_name_32); if (tmp_dict_value_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 475; type_description_2 = "c"; goto dict_build_exception_5; } tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_10, tmp_dict_value_10); Py_DECREF(tmp_dict_value_10); assert(!(tmp_res != 0)); tmp_dict_key_10 = mod_consts[141]; tmp_expression_name_94 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[239]); if (tmp_expression_name_94 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_94 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_94 == NULL)) { tmp_expression_name_94 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_94 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 476; type_description_2 = "c"; goto dict_build_exception_5; } Py_INCREF(tmp_expression_name_94); } } tmp_subscript_name_33 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[29]); if (tmp_subscript_name_33 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_subscript_name_33 = (PyObject *)&PyBool_Type; Py_INCREF(tmp_subscript_name_33); } } tmp_dict_value_10 = LOOKUP_SUBSCRIPT(tmp_expression_name_94, tmp_subscript_name_33); Py_DECREF(tmp_expression_name_94); Py_DECREF(tmp_subscript_name_33); if (tmp_dict_value_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 476; type_description_2 = "c"; goto dict_build_exception_5; } tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_10, tmp_dict_value_10); Py_DECREF(tmp_dict_value_10); assert(!(tmp_res != 0)); tmp_dict_key_10 = mod_consts[170]; tmp_expression_name_95 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[239]); if (tmp_expression_name_95 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_95 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_95 == NULL)) { tmp_expression_name_95 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_95 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 477; type_description_2 = "c"; goto dict_build_exception_5; } Py_INCREF(tmp_expression_name_95); } } tmp_subscript_name_34 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[29]); if (tmp_subscript_name_34 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_subscript_name_34 = (PyObject *)&PyBool_Type; Py_INCREF(tmp_subscript_name_34); } } tmp_dict_value_10 = LOOKUP_SUBSCRIPT(tmp_expression_name_95, tmp_subscript_name_34); Py_DECREF(tmp_expression_name_95); Py_DECREF(tmp_subscript_name_34); if (tmp_dict_value_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 477; type_description_2 = "c"; goto dict_build_exception_5; } tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_10, tmp_dict_value_10); Py_DECREF(tmp_dict_value_10); assert(!(tmp_res != 0)); tmp_dict_key_10 = mod_consts[206]; tmp_expression_name_96 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[239]); if (tmp_expression_name_96 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_96 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_96 == NULL)) { tmp_expression_name_96 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_96 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 478; type_description_2 = "c"; goto dict_build_exception_5; } Py_INCREF(tmp_expression_name_96); } } tmp_subscript_name_35 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[29]); if (tmp_subscript_name_35 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_subscript_name_35 = (PyObject *)&PyBool_Type; Py_INCREF(tmp_subscript_name_35); } } tmp_dict_value_10 = LOOKUP_SUBSCRIPT(tmp_expression_name_96, tmp_subscript_name_35); Py_DECREF(tmp_expression_name_96); Py_DECREF(tmp_subscript_name_35); if (tmp_dict_value_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 478; type_description_2 = "c"; goto dict_build_exception_5; } tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_10, tmp_dict_value_10); Py_DECREF(tmp_dict_value_10); assert(!(tmp_res != 0)); tmp_dict_key_10 = mod_consts[298]; tmp_expression_name_97 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[241]); if (tmp_expression_name_97 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_97 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[241]); if (unlikely(tmp_expression_name_97 == NULL)) { tmp_expression_name_97 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[241]); } if (tmp_expression_name_97 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 479; type_description_2 = "c"; goto dict_build_exception_5; } Py_INCREF(tmp_expression_name_97); } } tmp_tuple_element_31 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[240]); if (tmp_tuple_element_31 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_tuple_element_31 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[240]); if (unlikely(tmp_tuple_element_31 == NULL)) { tmp_tuple_element_31 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[240]); } if (tmp_tuple_element_31 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_97); exception_lineno = 479; type_description_2 = "c"; goto dict_build_exception_5; } Py_INCREF(tmp_tuple_element_31); } } tmp_subscript_name_36 = PyTuple_New(2); PyTuple_SET_ITEM(tmp_subscript_name_36, 0, tmp_tuple_element_31); tmp_tuple_element_31 = PyObject_GetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[195]); if (tmp_tuple_element_31 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_tuple_element_31 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[195]); if (unlikely(tmp_tuple_element_31 == NULL)) { tmp_tuple_element_31 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[195]); } if (tmp_tuple_element_31 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 479; type_description_2 = "c"; goto tuple_build_exception_11; } Py_INCREF(tmp_tuple_element_31); } } PyTuple_SET_ITEM(tmp_subscript_name_36, 1, tmp_tuple_element_31); goto tuple_build_noexception_11; // Exception handling pass through code for tuple_build: tuple_build_exception_11:; Py_DECREF(tmp_expression_name_97); Py_DECREF(tmp_subscript_name_36); goto dict_build_exception_5; // Finished with no exception for tuple_build: tuple_build_noexception_11:; tmp_dict_value_10 = LOOKUP_SUBSCRIPT(tmp_expression_name_97, tmp_subscript_name_36); Py_DECREF(tmp_expression_name_97); Py_DECREF(tmp_subscript_name_36); if (tmp_dict_value_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 479; type_description_2 = "c"; goto dict_build_exception_5; } tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_10, tmp_dict_value_10); Py_DECREF(tmp_dict_value_10); assert(!(tmp_res != 0)); } goto dict_build_noexception_5; // Exception handling pass through code for dict_build: dict_build_exception_5:; Py_DECREF(tmp_called_name_19); Py_DECREF(tmp_annotations_10); goto frame_exception_exit_8; // Finished with no exception for dict_build: dict_build_noexception_5:; Py_INCREF(tmp_defaults_9); tmp_args_element_name_9 = MAKE_FUNCTION_models$modeling_llama$$$function__22_forward(tmp_defaults_9, tmp_annotations_10); frame_8c53a3442347f49427162dbefea4c48e_8->m_frame.f_lineno = 466; tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_19, tmp_args_element_name_9); Py_DECREF(tmp_called_name_19); Py_DECREF(tmp_args_element_name_9); if (tmp_dictset_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 466; type_description_2 = "c"; goto frame_exception_exit_8; } tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[282], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 467; type_description_2 = "c"; goto frame_exception_exit_8; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_8c53a3442347f49427162dbefea4c48e_8); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_7; frame_exception_exit_8:; #if 0 RESTORE_FRAME_EXCEPTION(frame_8c53a3442347f49427162dbefea4c48e_8); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_8c53a3442347f49427162dbefea4c48e_8, exception_lineno); } else if (exception_tb->tb_frame != &frame_8c53a3442347f49427162dbefea4c48e_8->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_8c53a3442347f49427162dbefea4c48e_8, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_8c53a3442347f49427162dbefea4c48e_8, type_description_2, outline_6_var___class__ ); // Release cached frame if used for exception. if (frame_8c53a3442347f49427162dbefea4c48e_8 == cache_frame_8c53a3442347f49427162dbefea4c48e_8) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_8c53a3442347f49427162dbefea4c48e_8); cache_frame_8c53a3442347f49427162dbefea4c48e_8 = NULL; } assertFrameObject(frame_8c53a3442347f49427162dbefea4c48e_8); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_7; frame_no_exception_7:; goto skip_nested_handling_7; nested_frame_exit_7:; goto try_except_handler_25; skip_nested_handling_7:; { nuitka_bool tmp_condition_result_42; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; CHECK_OBJECT(tmp_class_creation_7__bases); tmp_compexpr_left_7 = tmp_class_creation_7__bases; CHECK_OBJECT(tmp_class_creation_7__bases_orig); tmp_compexpr_right_7 = tmp_class_creation_7__bases_orig; tmp_condition_result_42 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_7, tmp_compexpr_right_7); if (tmp_condition_result_42 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto try_except_handler_25; } if (tmp_condition_result_42 == NUITKA_BOOL_TRUE) { goto branch_yes_28; } else { goto branch_no_28; } assert(tmp_condition_result_42 != NUITKA_BOOL_UNASSIGNED); } branch_yes_28:; CHECK_OBJECT(tmp_class_creation_7__bases_orig); tmp_dictset_value = tmp_class_creation_7__bases_orig; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__7_LlamaModel_415, mod_consts[284], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto try_except_handler_25; } branch_no_28:; { PyObject *tmp_assign_source_93; PyObject *tmp_called_name_21; PyObject *tmp_args_name_14; PyObject *tmp_tuple_element_32; PyObject *tmp_kwargs_name_14; CHECK_OBJECT(tmp_class_creation_7__metaclass); tmp_called_name_21 = tmp_class_creation_7__metaclass; tmp_tuple_element_32 = mod_consts[155]; tmp_args_name_14 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_name_14, 0, tmp_tuple_element_32); CHECK_OBJECT(tmp_class_creation_7__bases); tmp_tuple_element_32 = tmp_class_creation_7__bases; PyTuple_SET_ITEM0(tmp_args_name_14, 1, tmp_tuple_element_32); tmp_tuple_element_32 = locals_models$modeling_llama$$$class__7_LlamaModel_415; PyTuple_SET_ITEM0(tmp_args_name_14, 2, tmp_tuple_element_32); CHECK_OBJECT(tmp_class_creation_7__class_decl_dict); tmp_kwargs_name_14 = tmp_class_creation_7__class_decl_dict; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 415; tmp_assign_source_93 = CALL_FUNCTION(tmp_called_name_21, tmp_args_name_14, tmp_kwargs_name_14); Py_DECREF(tmp_args_name_14); if (tmp_assign_source_93 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 415; goto try_except_handler_25; } { PyObject *old = Nuitka_Cell_GET(outline_6_var___class__); PyCell_SET(outline_6_var___class__, tmp_assign_source_93); Py_XDECREF(old); } } CHECK_OBJECT(Nuitka_Cell_GET(outline_6_var___class__)); tmp_args_element_name_7 = Nuitka_Cell_GET(outline_6_var___class__); Py_INCREF(tmp_args_element_name_7); goto try_return_handler_25; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_25:; Py_DECREF(locals_models$modeling_llama$$$class__7_LlamaModel_415); locals_models$modeling_llama$$$class__7_LlamaModel_415 = NULL; goto try_return_handler_24; // Exception handler code: try_except_handler_25:; exception_keeper_type_23 = exception_type; exception_keeper_value_23 = exception_value; exception_keeper_tb_23 = exception_tb; exception_keeper_lineno_23 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$modeling_llama$$$class__7_LlamaModel_415); locals_models$modeling_llama$$$class__7_LlamaModel_415 = NULL; // Re-raise. exception_type = exception_keeper_type_23; exception_value = exception_keeper_value_23; exception_tb = exception_keeper_tb_23; exception_lineno = exception_keeper_lineno_23; goto try_except_handler_24; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_24:; CHECK_OBJECT(outline_6_var___class__); Py_DECREF(outline_6_var___class__); outline_6_var___class__ = NULL; goto outline_result_7; // Exception handler code: try_except_handler_24:; exception_keeper_type_24 = exception_type; exception_keeper_value_24 = exception_value; exception_keeper_tb_24 = exception_tb; exception_keeper_lineno_24 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(outline_6_var___class__); Py_DECREF(outline_6_var___class__); outline_6_var___class__ = NULL; // Re-raise. exception_type = exception_keeper_type_24; exception_value = exception_keeper_value_24; exception_tb = exception_keeper_tb_24; exception_lineno = exception_keeper_lineno_24; goto outline_exception_7; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_7:; exception_lineno = 415; goto try_except_handler_23; outline_result_7:; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 411; tmp_assign_source_92 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_17, tmp_args_element_name_7); Py_DECREF(tmp_called_name_17); Py_DECREF(tmp_args_element_name_7); if (tmp_assign_source_92 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 411; goto try_except_handler_23; } UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[155], tmp_assign_source_92); } goto try_end_11; // Exception handler code: try_except_handler_23:; exception_keeper_type_25 = exception_type; exception_keeper_value_25 = exception_value; exception_keeper_tb_25 = exception_tb; exception_keeper_lineno_25 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_7__bases_orig); tmp_class_creation_7__bases_orig = NULL; Py_XDECREF(tmp_class_creation_7__bases); tmp_class_creation_7__bases = NULL; Py_XDECREF(tmp_class_creation_7__class_decl_dict); tmp_class_creation_7__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_7__metaclass); tmp_class_creation_7__metaclass = NULL; Py_XDECREF(tmp_class_creation_7__prepared); tmp_class_creation_7__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_25; exception_value = exception_keeper_value_25; exception_tb = exception_keeper_tb_25; exception_lineno = exception_keeper_lineno_25; goto frame_exception_exit_1; // End of try: try_end_11:; CHECK_OBJECT(tmp_class_creation_7__bases_orig); Py_DECREF(tmp_class_creation_7__bases_orig); tmp_class_creation_7__bases_orig = NULL; Py_XDECREF(tmp_class_creation_7__bases); tmp_class_creation_7__bases = NULL; Py_XDECREF(tmp_class_creation_7__class_decl_dict); tmp_class_creation_7__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_7__metaclass); tmp_class_creation_7__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_7__prepared); Py_DECREF(tmp_class_creation_7__prepared); tmp_class_creation_7__prepared = NULL; // Tried code: { PyObject *tmp_assign_source_94; PyObject *tmp_tuple_element_33; tmp_tuple_element_33 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[305]); if (unlikely(tmp_tuple_element_33 == NULL)) { tmp_tuple_element_33 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[305]); } if (tmp_tuple_element_33 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 600; goto try_except_handler_26; } tmp_assign_source_94 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_assign_source_94, 0, tmp_tuple_element_33); assert(tmp_class_creation_8__bases_orig == NULL); tmp_class_creation_8__bases_orig = tmp_assign_source_94; } { PyObject *tmp_assign_source_95; PyObject *tmp_dircall_arg1_8; CHECK_OBJECT(tmp_class_creation_8__bases_orig); tmp_dircall_arg1_8 = tmp_class_creation_8__bases_orig; Py_INCREF(tmp_dircall_arg1_8); { PyObject *dir_call_args[] = {tmp_dircall_arg1_8}; tmp_assign_source_95 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_95 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 600; goto try_except_handler_26; } assert(tmp_class_creation_8__bases == NULL); tmp_class_creation_8__bases = tmp_assign_source_95; } { PyObject *tmp_assign_source_96; tmp_assign_source_96 = PyDict_New(); assert(tmp_class_creation_8__class_decl_dict == NULL); tmp_class_creation_8__class_decl_dict = tmp_assign_source_96; } { PyObject *tmp_assign_source_97; PyObject *tmp_metaclass_name_8; nuitka_bool tmp_condition_result_43; PyObject *tmp_key_name_22; PyObject *tmp_dict_arg_name_22; PyObject *tmp_dict_arg_name_23; PyObject *tmp_key_name_23; nuitka_bool tmp_condition_result_44; int tmp_truth_name_8; PyObject *tmp_type_arg_15; PyObject *tmp_expression_name_98; PyObject *tmp_subscript_name_37; PyObject *tmp_bases_name_8; tmp_key_name_22 = mod_consts[273]; CHECK_OBJECT(tmp_class_creation_8__class_decl_dict); tmp_dict_arg_name_22 = tmp_class_creation_8__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_22, tmp_key_name_22); assert(!(tmp_res == -1)); tmp_condition_result_43 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_43 == NUITKA_BOOL_TRUE) { goto condexpr_true_15; } else { goto condexpr_false_15; } condexpr_true_15:; CHECK_OBJECT(tmp_class_creation_8__class_decl_dict); tmp_dict_arg_name_23 = tmp_class_creation_8__class_decl_dict; tmp_key_name_23 = mod_consts[273]; tmp_metaclass_name_8 = DICT_GET_ITEM_WITH_ERROR(tmp_dict_arg_name_23, tmp_key_name_23); if (tmp_metaclass_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 600; goto try_except_handler_26; } goto condexpr_end_15; condexpr_false_15:; CHECK_OBJECT(tmp_class_creation_8__bases); tmp_truth_name_8 = CHECK_IF_TRUE(tmp_class_creation_8__bases); if (tmp_truth_name_8 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 600; goto try_except_handler_26; } tmp_condition_result_44 = tmp_truth_name_8 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_44 == NUITKA_BOOL_TRUE) { goto condexpr_true_16; } else { goto condexpr_false_16; } condexpr_true_16:; CHECK_OBJECT(tmp_class_creation_8__bases); tmp_expression_name_98 = tmp_class_creation_8__bases; tmp_subscript_name_37 = mod_consts[14]; tmp_type_arg_15 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_98, tmp_subscript_name_37, 0); if (tmp_type_arg_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 600; goto try_except_handler_26; } tmp_metaclass_name_8 = BUILTIN_TYPE1(tmp_type_arg_15); Py_DECREF(tmp_type_arg_15); if (tmp_metaclass_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 600; goto try_except_handler_26; } goto condexpr_end_16; condexpr_false_16:; tmp_metaclass_name_8 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_8); condexpr_end_16:; condexpr_end_15:; CHECK_OBJECT(tmp_class_creation_8__bases); tmp_bases_name_8 = tmp_class_creation_8__bases; tmp_assign_source_97 = SELECT_METACLASS(tmp_metaclass_name_8, tmp_bases_name_8); Py_DECREF(tmp_metaclass_name_8); if (tmp_assign_source_97 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 600; goto try_except_handler_26; } assert(tmp_class_creation_8__metaclass == NULL); tmp_class_creation_8__metaclass = tmp_assign_source_97; } { nuitka_bool tmp_condition_result_45; PyObject *tmp_key_name_24; PyObject *tmp_dict_arg_name_24; tmp_key_name_24 = mod_consts[273]; CHECK_OBJECT(tmp_class_creation_8__class_decl_dict); tmp_dict_arg_name_24 = tmp_class_creation_8__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_24, tmp_key_name_24); assert(!(tmp_res == -1)); tmp_condition_result_45 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_45 == NUITKA_BOOL_TRUE) { goto branch_yes_29; } else { goto branch_no_29; } } branch_yes_29:; CHECK_OBJECT(tmp_class_creation_8__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_8__class_decl_dict; tmp_dictdel_key = mod_consts[273]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 600; goto try_except_handler_26; } branch_no_29:; { nuitka_bool tmp_condition_result_46; PyObject *tmp_expression_name_99; CHECK_OBJECT(tmp_class_creation_8__metaclass); tmp_expression_name_99 = tmp_class_creation_8__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_99, mod_consts[274]); tmp_condition_result_46 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_46 == NUITKA_BOOL_TRUE) { goto branch_yes_30; } else { goto branch_no_30; } } branch_yes_30:; { PyObject *tmp_assign_source_98; PyObject *tmp_called_name_22; PyObject *tmp_expression_name_100; PyObject *tmp_args_name_15; PyObject *tmp_tuple_element_34; PyObject *tmp_kwargs_name_15; CHECK_OBJECT(tmp_class_creation_8__metaclass); tmp_expression_name_100 = tmp_class_creation_8__metaclass; tmp_called_name_22 = LOOKUP_ATTRIBUTE(tmp_expression_name_100, mod_consts[274]); if (tmp_called_name_22 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 600; goto try_except_handler_26; } tmp_tuple_element_34 = mod_consts[330]; tmp_args_name_15 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_15, 0, tmp_tuple_element_34); CHECK_OBJECT(tmp_class_creation_8__bases); tmp_tuple_element_34 = tmp_class_creation_8__bases; PyTuple_SET_ITEM0(tmp_args_name_15, 1, tmp_tuple_element_34); CHECK_OBJECT(tmp_class_creation_8__class_decl_dict); tmp_kwargs_name_15 = tmp_class_creation_8__class_decl_dict; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 600; tmp_assign_source_98 = CALL_FUNCTION(tmp_called_name_22, tmp_args_name_15, tmp_kwargs_name_15); Py_DECREF(tmp_called_name_22); Py_DECREF(tmp_args_name_15); if (tmp_assign_source_98 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 600; goto try_except_handler_26; } assert(tmp_class_creation_8__prepared == NULL); tmp_class_creation_8__prepared = tmp_assign_source_98; } { nuitka_bool tmp_condition_result_47; PyObject *tmp_operand_name_8; PyObject *tmp_expression_name_101; CHECK_OBJECT(tmp_class_creation_8__prepared); tmp_expression_name_101 = tmp_class_creation_8__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_101, mod_consts[275]); tmp_operand_name_8 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_8); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 600; goto try_except_handler_26; } tmp_condition_result_47 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_47 == NUITKA_BOOL_TRUE) { goto branch_yes_31; } else { goto branch_no_31; } } branch_yes_31:; { PyObject *tmp_raise_type_8; PyObject *tmp_raise_value_8; PyObject *tmp_left_name_8; PyObject *tmp_right_name_8; PyObject *tmp_tuple_element_35; PyObject *tmp_getattr_target_8; PyObject *tmp_getattr_attr_8; PyObject *tmp_getattr_default_8; tmp_raise_type_8 = PyExc_TypeError; tmp_left_name_8 = mod_consts[276]; CHECK_OBJECT(tmp_class_creation_8__metaclass); tmp_getattr_target_8 = tmp_class_creation_8__metaclass; tmp_getattr_attr_8 = mod_consts[267]; tmp_getattr_default_8 = mod_consts[277]; tmp_tuple_element_35 = BUILTIN_GETATTR(tmp_getattr_target_8, tmp_getattr_attr_8, tmp_getattr_default_8); if (tmp_tuple_element_35 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 600; goto try_except_handler_26; } tmp_right_name_8 = PyTuple_New(2); { PyObject *tmp_expression_name_102; PyObject *tmp_type_arg_16; PyTuple_SET_ITEM(tmp_right_name_8, 0, tmp_tuple_element_35); CHECK_OBJECT(tmp_class_creation_8__prepared); tmp_type_arg_16 = tmp_class_creation_8__prepared; tmp_expression_name_102 = BUILTIN_TYPE1(tmp_type_arg_16); assert(!(tmp_expression_name_102 == NULL)); tmp_tuple_element_35 = LOOKUP_ATTRIBUTE(tmp_expression_name_102, mod_consts[267]); Py_DECREF(tmp_expression_name_102); if (tmp_tuple_element_35 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 600; goto tuple_build_exception_12; } PyTuple_SET_ITEM(tmp_right_name_8, 1, tmp_tuple_element_35); } goto tuple_build_noexception_12; // Exception handling pass through code for tuple_build: tuple_build_exception_12:; Py_DECREF(tmp_right_name_8); goto try_except_handler_26; // Finished with no exception for tuple_build: tuple_build_noexception_12:; tmp_raise_value_8 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_8, tmp_right_name_8); Py_DECREF(tmp_right_name_8); if (tmp_raise_value_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 600; goto try_except_handler_26; } exception_type = tmp_raise_type_8; Py_INCREF(tmp_raise_type_8); exception_value = tmp_raise_value_8; exception_lineno = 600; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_26; } branch_no_31:; goto branch_end_30; branch_no_30:; { PyObject *tmp_assign_source_99; tmp_assign_source_99 = PyDict_New(); assert(tmp_class_creation_8__prepared == NULL); tmp_class_creation_8__prepared = tmp_assign_source_99; } branch_end_30:; { PyObject *tmp_assign_source_100; { PyObject *tmp_set_locals_8; CHECK_OBJECT(tmp_class_creation_8__prepared); tmp_set_locals_8 = tmp_class_creation_8__prepared; locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600 = tmp_set_locals_8; Py_INCREF(tmp_set_locals_8); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[267]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[267]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[278], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 600; goto try_except_handler_28; } tmp_dictset_value = mod_consts[330]; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[279], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 600; goto try_except_handler_28; } if (isFrameUnusable(cache_frame_d7f5c0252258d40dc97c13fce1ad00df_9)) { Py_XDECREF(cache_frame_d7f5c0252258d40dc97c13fce1ad00df_9); #if _DEBUG_REFCOUNTS if (cache_frame_d7f5c0252258d40dc97c13fce1ad00df_9 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_d7f5c0252258d40dc97c13fce1ad00df_9 = MAKE_FUNCTION_FRAME(codeobj_d7f5c0252258d40dc97c13fce1ad00df, module_models$modeling_llama, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_d7f5c0252258d40dc97c13fce1ad00df_9->m_type_description == NULL); frame_d7f5c0252258d40dc97c13fce1ad00df_9 = cache_frame_d7f5c0252258d40dc97c13fce1ad00df_9; // Push the new frame as the currently active one. pushFrameStack(frame_d7f5c0252258d40dc97c13fce1ad00df_9); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_d7f5c0252258d40dc97c13fce1ad00df_9) == 2); // Frame stack // Framed code: { struct Nuitka_CellObject *tmp_closure_7[1]; tmp_closure_7[0] = outline_7_var___class__; Py_INCREF(tmp_closure_7[0]); tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__23___init__(tmp_closure_7); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[32], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 601; type_description_2 = "c"; goto frame_exception_exit_9; } } tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__24_get_input_embeddings(); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[323], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 610; type_description_2 = "c"; goto frame_exception_exit_9; } tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__25_set_input_embeddings(); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[325], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 613; type_description_2 = "c"; goto frame_exception_exit_9; } tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__26_get_output_embeddings(); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[334], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 616; type_description_2 = "c"; goto frame_exception_exit_9; } tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__27_set_output_embeddings(); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[336], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 619; type_description_2 = "c"; goto frame_exception_exit_9; } tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__28_set_decoder(); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[338], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 622; type_description_2 = "c"; goto frame_exception_exit_9; } tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__29_get_decoder(); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[340], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 625; type_description_2 = "c"; goto frame_exception_exit_9; } { PyObject *tmp_called_name_23; PyObject *tmp_called_name_24; PyObject *tmp_args_element_name_10; PyObject *tmp_args_element_name_11; PyObject *tmp_called_name_25; PyObject *tmp_called_name_26; PyObject *tmp_kwargs_name_16; PyObject *tmp_dict_key_11; PyObject *tmp_dict_value_11; PyObject *tmp_args_element_name_12; PyObject *tmp_defaults_10; PyObject *tmp_annotations_11; PyObject *tmp_dict_key_12; PyObject *tmp_dict_value_12; PyObject *tmp_expression_name_103; tmp_called_name_24 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[259]); if (tmp_called_name_24 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_called_name_24 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[259]); if (unlikely(tmp_called_name_24 == NULL)) { tmp_called_name_24 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[259]); } if (tmp_called_name_24 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 628; type_description_2 = "c"; goto frame_exception_exit_9; } Py_INCREF(tmp_called_name_24); } } tmp_args_element_name_10 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[320]); if (tmp_args_element_name_10 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_args_element_name_10 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[320]); if (unlikely(tmp_args_element_name_10 == NULL)) { tmp_args_element_name_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[320]); } if (tmp_args_element_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_24); exception_lineno = 628; type_description_2 = "c"; goto frame_exception_exit_9; } Py_INCREF(tmp_args_element_name_10); } } frame_d7f5c0252258d40dc97c13fce1ad00df_9->m_frame.f_lineno = 628; tmp_called_name_23 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_24, tmp_args_element_name_10); Py_DECREF(tmp_called_name_24); Py_DECREF(tmp_args_element_name_10); if (tmp_called_name_23 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 628; type_description_2 = "c"; goto frame_exception_exit_9; } tmp_called_name_26 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[261]); if (tmp_called_name_26 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_called_name_26 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[261]); if (unlikely(tmp_called_name_26 == NULL)) { tmp_called_name_26 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[261]); } if (tmp_called_name_26 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_23); exception_lineno = 629; type_description_2 = "c"; goto frame_exception_exit_9; } Py_INCREF(tmp_called_name_26); } } tmp_dict_key_11 = mod_consts[342]; tmp_dict_value_11 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[212]); if (tmp_dict_value_11 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_dict_value_11 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[212]); if (unlikely(tmp_dict_value_11 == NULL)) { tmp_dict_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[212]); } if (tmp_dict_value_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_23); Py_DECREF(tmp_called_name_26); exception_lineno = 629; type_description_2 = "c"; goto frame_exception_exit_9; } Py_INCREF(tmp_dict_value_11); } } tmp_kwargs_name_16 = _PyDict_NewPresized( 2 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_16, tmp_dict_key_11, tmp_dict_value_11); Py_DECREF(tmp_dict_value_11); assert(!(tmp_res != 0)); tmp_dict_key_11 = mod_consts[307]; tmp_dict_value_11 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[268]); if (tmp_dict_value_11 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_dict_value_11 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[268]); if (unlikely(tmp_dict_value_11 == NULL)) { tmp_dict_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[268]); } if (tmp_dict_value_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 629; type_description_2 = "c"; goto dict_build_exception_6; } Py_INCREF(tmp_dict_value_11); } } tmp_res = PyDict_SetItem(tmp_kwargs_name_16, tmp_dict_key_11, tmp_dict_value_11); Py_DECREF(tmp_dict_value_11); assert(!(tmp_res != 0)); goto dict_build_noexception_6; // Exception handling pass through code for dict_build: dict_build_exception_6:; Py_DECREF(tmp_called_name_23); Py_DECREF(tmp_called_name_26); Py_DECREF(tmp_kwargs_name_16); goto frame_exception_exit_9; // Finished with no exception for dict_build: dict_build_noexception_6:; frame_d7f5c0252258d40dc97c13fce1ad00df_9->m_frame.f_lineno = 629; tmp_called_name_25 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_26, tmp_kwargs_name_16); Py_DECREF(tmp_called_name_26); Py_DECREF(tmp_kwargs_name_16); if (tmp_called_name_25 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_23); exception_lineno = 629; type_description_2 = "c"; goto frame_exception_exit_9; } tmp_defaults_10 = mod_consts[343]; tmp_dict_key_12 = mod_consts[174]; tmp_expression_name_103 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[1]); if (tmp_expression_name_103 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_103 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_103 == NULL)) { tmp_expression_name_103 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_103 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_23); Py_DECREF(tmp_called_name_25); exception_lineno = 632; type_description_2 = "c"; goto frame_exception_exit_9; } Py_INCREF(tmp_expression_name_103); } } tmp_dict_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_name_103, mod_consts[297]); Py_DECREF(tmp_expression_name_103); if (tmp_dict_value_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_23); Py_DECREF(tmp_called_name_25); exception_lineno = 632; type_description_2 = "c"; goto frame_exception_exit_9; } tmp_annotations_11 = _PyDict_NewPresized( 12 ); { PyObject *tmp_expression_name_104; PyObject *tmp_subscript_name_38; PyObject *tmp_expression_name_105; PyObject *tmp_expression_name_106; PyObject *tmp_subscript_name_39; PyObject *tmp_expression_name_107; PyObject *tmp_expression_name_108; PyObject *tmp_subscript_name_40; PyObject *tmp_expression_name_109; PyObject *tmp_subscript_name_41; PyObject *tmp_expression_name_110; PyObject *tmp_expression_name_111; PyObject *tmp_subscript_name_42; PyObject *tmp_expression_name_112; PyObject *tmp_expression_name_113; PyObject *tmp_subscript_name_43; PyObject *tmp_expression_name_114; PyObject *tmp_expression_name_115; PyObject *tmp_subscript_name_44; PyObject *tmp_expression_name_116; PyObject *tmp_expression_name_117; PyObject *tmp_subscript_name_45; PyObject *tmp_expression_name_118; PyObject *tmp_subscript_name_46; PyObject *tmp_expression_name_119; PyObject *tmp_subscript_name_47; PyObject *tmp_expression_name_120; PyObject *tmp_subscript_name_48; PyObject *tmp_expression_name_121; PyObject *tmp_subscript_name_49; PyObject *tmp_tuple_element_36; tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_12, tmp_dict_value_12); Py_DECREF(tmp_dict_value_12); assert(!(tmp_res != 0)); tmp_dict_key_12 = mod_consts[121]; tmp_expression_name_104 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[239]); if (tmp_expression_name_104 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_104 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_104 == NULL)) { tmp_expression_name_104 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_104 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 633; type_description_2 = "c"; goto dict_build_exception_7; } Py_INCREF(tmp_expression_name_104); } } tmp_expression_name_105 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[1]); if (tmp_expression_name_105 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_105 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_105 == NULL)) { tmp_expression_name_105 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_105 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_104); exception_lineno = 633; type_description_2 = "c"; goto dict_build_exception_7; } Py_INCREF(tmp_expression_name_105); } } tmp_subscript_name_38 = LOOKUP_ATTRIBUTE(tmp_expression_name_105, mod_consts[271]); Py_DECREF(tmp_expression_name_105); if (tmp_subscript_name_38 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_104); exception_lineno = 633; type_description_2 = "c"; goto dict_build_exception_7; } tmp_dict_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_name_104, tmp_subscript_name_38); Py_DECREF(tmp_expression_name_104); Py_DECREF(tmp_subscript_name_38); if (tmp_dict_value_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 633; type_description_2 = "c"; goto dict_build_exception_7; } tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_12, tmp_dict_value_12); Py_DECREF(tmp_dict_value_12); assert(!(tmp_res != 0)); tmp_dict_key_12 = mod_consts[139]; tmp_expression_name_106 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[239]); if (tmp_expression_name_106 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_106 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_106 == NULL)) { tmp_expression_name_106 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_106 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 634; type_description_2 = "c"; goto dict_build_exception_7; } Py_INCREF(tmp_expression_name_106); } } tmp_expression_name_107 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[1]); if (tmp_expression_name_107 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_107 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_107 == NULL)) { tmp_expression_name_107 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_107 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_106); exception_lineno = 634; type_description_2 = "c"; goto dict_build_exception_7; } Py_INCREF(tmp_expression_name_107); } } tmp_subscript_name_39 = LOOKUP_ATTRIBUTE(tmp_expression_name_107, mod_consts[297]); Py_DECREF(tmp_expression_name_107); if (tmp_subscript_name_39 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_106); exception_lineno = 634; type_description_2 = "c"; goto dict_build_exception_7; } tmp_dict_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_name_106, tmp_subscript_name_39); Py_DECREF(tmp_expression_name_106); Py_DECREF(tmp_subscript_name_39); if (tmp_dict_value_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 634; type_description_2 = "c"; goto dict_build_exception_7; } tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_12, tmp_dict_value_12); Py_DECREF(tmp_dict_value_12); assert(!(tmp_res != 0)); tmp_dict_key_12 = mod_consts[188]; tmp_expression_name_108 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[239]); if (tmp_expression_name_108 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_108 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_108 == NULL)) { tmp_expression_name_108 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_108 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 635; type_description_2 = "c"; goto dict_build_exception_7; } Py_INCREF(tmp_expression_name_108); } } tmp_expression_name_109 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[238]); if (tmp_expression_name_109 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_109 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[238]); if (unlikely(tmp_expression_name_109 == NULL)) { tmp_expression_name_109 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[238]); } if (tmp_expression_name_109 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_108); exception_lineno = 635; type_description_2 = "c"; goto dict_build_exception_7; } Py_INCREF(tmp_expression_name_109); } } tmp_expression_name_110 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[1]); if (tmp_expression_name_110 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_110 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_110 == NULL)) { tmp_expression_name_110 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_110 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_108); Py_DECREF(tmp_expression_name_109); exception_lineno = 635; type_description_2 = "c"; goto dict_build_exception_7; } Py_INCREF(tmp_expression_name_110); } } tmp_subscript_name_41 = LOOKUP_ATTRIBUTE(tmp_expression_name_110, mod_consts[301]); Py_DECREF(tmp_expression_name_110); if (tmp_subscript_name_41 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_108); Py_DECREF(tmp_expression_name_109); exception_lineno = 635; type_description_2 = "c"; goto dict_build_exception_7; } tmp_subscript_name_40 = LOOKUP_SUBSCRIPT(tmp_expression_name_109, tmp_subscript_name_41); Py_DECREF(tmp_expression_name_109); Py_DECREF(tmp_subscript_name_41); if (tmp_subscript_name_40 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_108); exception_lineno = 635; type_description_2 = "c"; goto dict_build_exception_7; } tmp_dict_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_name_108, tmp_subscript_name_40); Py_DECREF(tmp_expression_name_108); Py_DECREF(tmp_subscript_name_40); if (tmp_dict_value_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 635; type_description_2 = "c"; goto dict_build_exception_7; } tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_12, tmp_dict_value_12); Py_DECREF(tmp_dict_value_12); assert(!(tmp_res != 0)); tmp_dict_key_12 = mod_consts[167]; tmp_expression_name_111 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[239]); if (tmp_expression_name_111 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_111 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_111 == NULL)) { tmp_expression_name_111 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_111 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 636; type_description_2 = "c"; goto dict_build_exception_7; } Py_INCREF(tmp_expression_name_111); } } tmp_expression_name_112 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[1]); if (tmp_expression_name_112 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_112 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_112 == NULL)) { tmp_expression_name_112 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_112 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_111); exception_lineno = 636; type_description_2 = "c"; goto dict_build_exception_7; } Py_INCREF(tmp_expression_name_112); } } tmp_subscript_name_42 = LOOKUP_ATTRIBUTE(tmp_expression_name_112, mod_consts[301]); Py_DECREF(tmp_expression_name_112); if (tmp_subscript_name_42 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_111); exception_lineno = 636; type_description_2 = "c"; goto dict_build_exception_7; } tmp_dict_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_name_111, tmp_subscript_name_42); Py_DECREF(tmp_expression_name_111); Py_DECREF(tmp_subscript_name_42); if (tmp_dict_value_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 636; type_description_2 = "c"; goto dict_build_exception_7; } tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_12, tmp_dict_value_12); Py_DECREF(tmp_dict_value_12); assert(!(tmp_res != 0)); tmp_dict_key_12 = mod_consts[205]; tmp_expression_name_113 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[239]); if (tmp_expression_name_113 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_113 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_113 == NULL)) { tmp_expression_name_113 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_113 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 637; type_description_2 = "c"; goto dict_build_exception_7; } Py_INCREF(tmp_expression_name_113); } } tmp_expression_name_114 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[1]); if (tmp_expression_name_114 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_114 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_114 == NULL)) { tmp_expression_name_114 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_114 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_113); exception_lineno = 637; type_description_2 = "c"; goto dict_build_exception_7; } Py_INCREF(tmp_expression_name_114); } } tmp_subscript_name_43 = LOOKUP_ATTRIBUTE(tmp_expression_name_114, mod_consts[301]); Py_DECREF(tmp_expression_name_114); if (tmp_subscript_name_43 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_113); exception_lineno = 637; type_description_2 = "c"; goto dict_build_exception_7; } tmp_dict_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_name_113, tmp_subscript_name_43); Py_DECREF(tmp_expression_name_113); Py_DECREF(tmp_subscript_name_43); if (tmp_dict_value_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 637; type_description_2 = "c"; goto dict_build_exception_7; } tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_12, tmp_dict_value_12); Py_DECREF(tmp_dict_value_12); assert(!(tmp_res != 0)); tmp_dict_key_12 = mod_consts[344]; tmp_expression_name_115 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[239]); if (tmp_expression_name_115 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_115 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_115 == NULL)) { tmp_expression_name_115 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_115 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 638; type_description_2 = "c"; goto dict_build_exception_7; } Py_INCREF(tmp_expression_name_115); } } tmp_expression_name_116 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[1]); if (tmp_expression_name_116 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_116 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[1]); if (unlikely(tmp_expression_name_116 == NULL)) { tmp_expression_name_116 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]); } if (tmp_expression_name_116 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_115); exception_lineno = 638; type_description_2 = "c"; goto dict_build_exception_7; } Py_INCREF(tmp_expression_name_116); } } tmp_subscript_name_44 = LOOKUP_ATTRIBUTE(tmp_expression_name_116, mod_consts[297]); Py_DECREF(tmp_expression_name_116); if (tmp_subscript_name_44 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_115); exception_lineno = 638; type_description_2 = "c"; goto dict_build_exception_7; } tmp_dict_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_name_115, tmp_subscript_name_44); Py_DECREF(tmp_expression_name_115); Py_DECREF(tmp_subscript_name_44); if (tmp_dict_value_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 638; type_description_2 = "c"; goto dict_build_exception_7; } tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_12, tmp_dict_value_12); Py_DECREF(tmp_dict_value_12); assert(!(tmp_res != 0)); tmp_dict_key_12 = mod_consts[142]; tmp_expression_name_117 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[239]); if (tmp_expression_name_117 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_117 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_117 == NULL)) { tmp_expression_name_117 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_117 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 639; type_description_2 = "c"; goto dict_build_exception_7; } Py_INCREF(tmp_expression_name_117); } } tmp_subscript_name_45 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[29]); if (tmp_subscript_name_45 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_subscript_name_45 = (PyObject *)&PyBool_Type; Py_INCREF(tmp_subscript_name_45); } } tmp_dict_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_name_117, tmp_subscript_name_45); Py_DECREF(tmp_expression_name_117); Py_DECREF(tmp_subscript_name_45); if (tmp_dict_value_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 639; type_description_2 = "c"; goto dict_build_exception_7; } tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_12, tmp_dict_value_12); Py_DECREF(tmp_dict_value_12); assert(!(tmp_res != 0)); tmp_dict_key_12 = mod_consts[141]; tmp_expression_name_118 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[239]); if (tmp_expression_name_118 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_118 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_118 == NULL)) { tmp_expression_name_118 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_118 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 640; type_description_2 = "c"; goto dict_build_exception_7; } Py_INCREF(tmp_expression_name_118); } } tmp_subscript_name_46 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[29]); if (tmp_subscript_name_46 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_subscript_name_46 = (PyObject *)&PyBool_Type; Py_INCREF(tmp_subscript_name_46); } } tmp_dict_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_name_118, tmp_subscript_name_46); Py_DECREF(tmp_expression_name_118); Py_DECREF(tmp_subscript_name_46); if (tmp_dict_value_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 640; type_description_2 = "c"; goto dict_build_exception_7; } tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_12, tmp_dict_value_12); Py_DECREF(tmp_dict_value_12); assert(!(tmp_res != 0)); tmp_dict_key_12 = mod_consts[170]; tmp_expression_name_119 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[239]); if (tmp_expression_name_119 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_119 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_119 == NULL)) { tmp_expression_name_119 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_119 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 641; type_description_2 = "c"; goto dict_build_exception_7; } Py_INCREF(tmp_expression_name_119); } } tmp_subscript_name_47 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[29]); if (tmp_subscript_name_47 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_subscript_name_47 = (PyObject *)&PyBool_Type; Py_INCREF(tmp_subscript_name_47); } } tmp_dict_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_name_119, tmp_subscript_name_47); Py_DECREF(tmp_expression_name_119); Py_DECREF(tmp_subscript_name_47); if (tmp_dict_value_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 641; type_description_2 = "c"; goto dict_build_exception_7; } tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_12, tmp_dict_value_12); Py_DECREF(tmp_dict_value_12); assert(!(tmp_res != 0)); tmp_dict_key_12 = mod_consts[206]; tmp_expression_name_120 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[239]); if (tmp_expression_name_120 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_120 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[239]); if (unlikely(tmp_expression_name_120 == NULL)) { tmp_expression_name_120 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]); } if (tmp_expression_name_120 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 642; type_description_2 = "c"; goto dict_build_exception_7; } Py_INCREF(tmp_expression_name_120); } } tmp_subscript_name_48 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[29]); if (tmp_subscript_name_48 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_subscript_name_48 = (PyObject *)&PyBool_Type; Py_INCREF(tmp_subscript_name_48); } } tmp_dict_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_name_120, tmp_subscript_name_48); Py_DECREF(tmp_expression_name_120); Py_DECREF(tmp_subscript_name_48); if (tmp_dict_value_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 642; type_description_2 = "c"; goto dict_build_exception_7; } tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_12, tmp_dict_value_12); Py_DECREF(tmp_dict_value_12); assert(!(tmp_res != 0)); tmp_dict_key_12 = mod_consts[298]; tmp_expression_name_121 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[241]); if (tmp_expression_name_121 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_121 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[241]); if (unlikely(tmp_expression_name_121 == NULL)) { tmp_expression_name_121 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[241]); } if (tmp_expression_name_121 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 643; type_description_2 = "c"; goto dict_build_exception_7; } Py_INCREF(tmp_expression_name_121); } } tmp_tuple_element_36 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[240]); if (tmp_tuple_element_36 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_tuple_element_36 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[240]); if (unlikely(tmp_tuple_element_36 == NULL)) { tmp_tuple_element_36 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[240]); } if (tmp_tuple_element_36 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_121); exception_lineno = 643; type_description_2 = "c"; goto dict_build_exception_7; } Py_INCREF(tmp_tuple_element_36); } } tmp_subscript_name_49 = PyTuple_New(2); PyTuple_SET_ITEM(tmp_subscript_name_49, 0, tmp_tuple_element_36); tmp_tuple_element_36 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[212]); if (tmp_tuple_element_36 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_tuple_element_36 = GET_STRING_DICT_VALUE(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[212]); if (unlikely(tmp_tuple_element_36 == NULL)) { tmp_tuple_element_36 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[212]); } if (tmp_tuple_element_36 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 643; type_description_2 = "c"; goto tuple_build_exception_13; } Py_INCREF(tmp_tuple_element_36); } } PyTuple_SET_ITEM(tmp_subscript_name_49, 1, tmp_tuple_element_36); goto tuple_build_noexception_13; // Exception handling pass through code for tuple_build: tuple_build_exception_13:; Py_DECREF(tmp_expression_name_121); Py_DECREF(tmp_subscript_name_49); goto dict_build_exception_7; // Finished with no exception for tuple_build: tuple_build_noexception_13:; tmp_dict_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_name_121, tmp_subscript_name_49); Py_DECREF(tmp_expression_name_121); Py_DECREF(tmp_subscript_name_49); if (tmp_dict_value_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 643; type_description_2 = "c"; goto dict_build_exception_7; } tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_12, tmp_dict_value_12); Py_DECREF(tmp_dict_value_12); assert(!(tmp_res != 0)); } goto dict_build_noexception_7; // Exception handling pass through code for dict_build: dict_build_exception_7:; Py_DECREF(tmp_called_name_23); Py_DECREF(tmp_called_name_25); Py_DECREF(tmp_annotations_11); goto frame_exception_exit_9; // Finished with no exception for dict_build: dict_build_noexception_7:; Py_INCREF(tmp_defaults_10); tmp_args_element_name_12 = MAKE_FUNCTION_models$modeling_llama$$$function__30_forward(tmp_defaults_10, tmp_annotations_11); frame_d7f5c0252258d40dc97c13fce1ad00df_9->m_frame.f_lineno = 629; tmp_args_element_name_11 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_25, tmp_args_element_name_12); Py_DECREF(tmp_called_name_25); Py_DECREF(tmp_args_element_name_12); if (tmp_args_element_name_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_23); exception_lineno = 629; type_description_2 = "c"; goto frame_exception_exit_9; } frame_d7f5c0252258d40dc97c13fce1ad00df_9->m_frame.f_lineno = 628; tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_23, tmp_args_element_name_11); Py_DECREF(tmp_called_name_23); Py_DECREF(tmp_args_element_name_11); if (tmp_dictset_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 628; type_description_2 = "c"; goto frame_exception_exit_9; } tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[282], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 630; type_description_2 = "c"; goto frame_exception_exit_9; } } { PyObject *tmp_defaults_11; tmp_defaults_11 = mod_consts[346]; Py_INCREF(tmp_defaults_11); tmp_dictset_value = MAKE_FUNCTION_models$modeling_llama$$$function__31_prepare_inputs_for_generation(tmp_defaults_11); tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[347], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 718; type_description_2 = "c"; goto frame_exception_exit_9; } } { nuitka_bool tmp_condition_result_48; PyObject *tmp_called_name_27; PyObject *tmp_args_element_name_13; PyObject *tmp_staticmethod_arg_1; tmp_res = MAPPING_HAS_ITEM(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[349]); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 750; type_description_2 = "c"; goto frame_exception_exit_9; } tmp_condition_result_48 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_48 == NUITKA_BOOL_TRUE) { goto condexpr_true_17; } else { goto condexpr_false_17; } condexpr_true_17:; tmp_called_name_27 = PyObject_GetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[349]); if (unlikely(tmp_called_name_27 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) { FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[349]); NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 750; type_description_2 = "c"; goto frame_exception_exit_9; } if (tmp_called_name_27 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 750; type_description_2 = "c"; goto frame_exception_exit_9; } tmp_args_element_name_13 = MAKE_FUNCTION_models$modeling_llama$$$function__32__reorder_cache(); frame_d7f5c0252258d40dc97c13fce1ad00df_9->m_frame.f_lineno = 750; tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_27, tmp_args_element_name_13); Py_DECREF(tmp_called_name_27); Py_DECREF(tmp_args_element_name_13); if (tmp_dictset_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 750; type_description_2 = "c"; goto frame_exception_exit_9; } goto condexpr_end_17; condexpr_false_17:; tmp_staticmethod_arg_1 = MAKE_FUNCTION_models$modeling_llama$$$function__32__reorder_cache(); tmp_dictset_value = BUILTIN_STATICMETHOD(tmp_staticmethod_arg_1); Py_DECREF(tmp_staticmethod_arg_1); assert(!(tmp_dictset_value == NULL)); condexpr_end_17:; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[350], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 751; type_description_2 = "c"; goto frame_exception_exit_9; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_d7f5c0252258d40dc97c13fce1ad00df_9); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_8; frame_exception_exit_9:; #if 0 RESTORE_FRAME_EXCEPTION(frame_d7f5c0252258d40dc97c13fce1ad00df_9); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_d7f5c0252258d40dc97c13fce1ad00df_9, exception_lineno); } else if (exception_tb->tb_frame != &frame_d7f5c0252258d40dc97c13fce1ad00df_9->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_d7f5c0252258d40dc97c13fce1ad00df_9, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_d7f5c0252258d40dc97c13fce1ad00df_9, type_description_2, outline_7_var___class__ ); // Release cached frame if used for exception. if (frame_d7f5c0252258d40dc97c13fce1ad00df_9 == cache_frame_d7f5c0252258d40dc97c13fce1ad00df_9) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_d7f5c0252258d40dc97c13fce1ad00df_9); cache_frame_d7f5c0252258d40dc97c13fce1ad00df_9 = NULL; } assertFrameObject(frame_d7f5c0252258d40dc97c13fce1ad00df_9); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_8; frame_no_exception_8:; goto skip_nested_handling_8; nested_frame_exit_8:; goto try_except_handler_28; skip_nested_handling_8:; { nuitka_bool tmp_condition_result_49; PyObject *tmp_compexpr_left_8; PyObject *tmp_compexpr_right_8; CHECK_OBJECT(tmp_class_creation_8__bases); tmp_compexpr_left_8 = tmp_class_creation_8__bases; CHECK_OBJECT(tmp_class_creation_8__bases_orig); tmp_compexpr_right_8 = tmp_class_creation_8__bases_orig; tmp_condition_result_49 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_8, tmp_compexpr_right_8); if (tmp_condition_result_49 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 600; goto try_except_handler_28; } if (tmp_condition_result_49 == NUITKA_BOOL_TRUE) { goto branch_yes_32; } else { goto branch_no_32; } assert(tmp_condition_result_49 != NUITKA_BOOL_UNASSIGNED); } branch_yes_32:; CHECK_OBJECT(tmp_class_creation_8__bases_orig); tmp_dictset_value = tmp_class_creation_8__bases_orig; tmp_res = PyObject_SetItem(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600, mod_consts[284], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 600; goto try_except_handler_28; } branch_no_32:; { PyObject *tmp_assign_source_101; PyObject *tmp_called_name_28; PyObject *tmp_args_name_16; PyObject *tmp_tuple_element_37; PyObject *tmp_kwargs_name_17; CHECK_OBJECT(tmp_class_creation_8__metaclass); tmp_called_name_28 = tmp_class_creation_8__metaclass; tmp_tuple_element_37 = mod_consts[330]; tmp_args_name_16 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_name_16, 0, tmp_tuple_element_37); CHECK_OBJECT(tmp_class_creation_8__bases); tmp_tuple_element_37 = tmp_class_creation_8__bases; PyTuple_SET_ITEM0(tmp_args_name_16, 1, tmp_tuple_element_37); tmp_tuple_element_37 = locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600; PyTuple_SET_ITEM0(tmp_args_name_16, 2, tmp_tuple_element_37); CHECK_OBJECT(tmp_class_creation_8__class_decl_dict); tmp_kwargs_name_17 = tmp_class_creation_8__class_decl_dict; frame_b47d89b49d102399398e0765f596b180->m_frame.f_lineno = 600; tmp_assign_source_101 = CALL_FUNCTION(tmp_called_name_28, tmp_args_name_16, tmp_kwargs_name_17); Py_DECREF(tmp_args_name_16); if (tmp_assign_source_101 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 600; goto try_except_handler_28; } { PyObject *old = Nuitka_Cell_GET(outline_7_var___class__); PyCell_SET(outline_7_var___class__, tmp_assign_source_101); Py_XDECREF(old); } } CHECK_OBJECT(Nuitka_Cell_GET(outline_7_var___class__)); tmp_assign_source_100 = Nuitka_Cell_GET(outline_7_var___class__); Py_INCREF(tmp_assign_source_100); goto try_return_handler_28; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_28:; Py_DECREF(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600); locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600 = NULL; goto try_return_handler_27; // Exception handler code: try_except_handler_28:; exception_keeper_type_26 = exception_type; exception_keeper_value_26 = exception_value; exception_keeper_tb_26 = exception_tb; exception_keeper_lineno_26 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600); locals_models$modeling_llama$$$class__8_LlamaForCausalLM_600 = NULL; // Re-raise. exception_type = exception_keeper_type_26; exception_value = exception_keeper_value_26; exception_tb = exception_keeper_tb_26; exception_lineno = exception_keeper_lineno_26; goto try_except_handler_27; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_27:; CHECK_OBJECT(outline_7_var___class__); Py_DECREF(outline_7_var___class__); outline_7_var___class__ = NULL; goto outline_result_8; // Exception handler code: try_except_handler_27:; exception_keeper_type_27 = exception_type; exception_keeper_value_27 = exception_value; exception_keeper_tb_27 = exception_tb; exception_keeper_lineno_27 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(outline_7_var___class__); Py_DECREF(outline_7_var___class__); outline_7_var___class__ = NULL; // Re-raise. exception_type = exception_keeper_type_27; exception_value = exception_keeper_value_27; exception_tb = exception_keeper_tb_27; exception_lineno = exception_keeper_lineno_27; goto outline_exception_8; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_8:; exception_lineno = 600; goto try_except_handler_26; outline_result_8:; UPDATE_STRING_DICT1(moduledict_models$modeling_llama, (Nuitka_StringObject *)mod_consts[330], tmp_assign_source_100); } goto try_end_12; // Exception handler code: try_except_handler_26:; exception_keeper_type_28 = exception_type; exception_keeper_value_28 = exception_value; exception_keeper_tb_28 = exception_tb; exception_keeper_lineno_28 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_8__bases_orig); tmp_class_creation_8__bases_orig = NULL; Py_XDECREF(tmp_class_creation_8__bases); tmp_class_creation_8__bases = NULL; Py_XDECREF(tmp_class_creation_8__class_decl_dict); tmp_class_creation_8__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_8__metaclass); tmp_class_creation_8__metaclass = NULL; Py_XDECREF(tmp_class_creation_8__prepared); tmp_class_creation_8__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_28; exception_value = exception_keeper_value_28; exception_tb = exception_keeper_tb_28; exception_lineno = exception_keeper_lineno_28; goto frame_exception_exit_1; // End of try: try_end_12:; // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION(frame_b47d89b49d102399398e0765f596b180); #endif popFrameStack(); assertFrameObject(frame_b47d89b49d102399398e0765f596b180); goto frame_no_exception_9; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_b47d89b49d102399398e0765f596b180); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_b47d89b49d102399398e0765f596b180, exception_lineno); } else if (exception_tb->tb_frame != &frame_b47d89b49d102399398e0765f596b180->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_b47d89b49d102399398e0765f596b180, exception_lineno); } // Put the previous frame back on top. popFrameStack(); // Return the error. goto module_exception_exit; frame_no_exception_9:; CHECK_OBJECT(tmp_class_creation_8__bases_orig); Py_DECREF(tmp_class_creation_8__bases_orig); tmp_class_creation_8__bases_orig = NULL; Py_XDECREF(tmp_class_creation_8__bases); tmp_class_creation_8__bases = NULL; Py_XDECREF(tmp_class_creation_8__class_decl_dict); tmp_class_creation_8__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_8__metaclass); tmp_class_creation_8__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_8__prepared); Py_DECREF(tmp_class_creation_8__prepared); tmp_class_creation_8__prepared = NULL; return module_models$modeling_llama; module_exception_exit: RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; }