{"id":119667,"topic":"patents","source":"Google Patents","title":"Model training method and device, electronic equipment, storage medium and computer program product","url":"https://patents.google.com/patent/CN120806026B/en","url_hash":"f2f5f92928f11e1f229e3c2479c0fb312f1b731f","author":null,"summary":"Model training method and device, electronic equipment, storage medium and computer program product\n\nThe present disclosure relates to a model training method and apparatus, an electronic device, a storage medium and a computer program product, the method comprising determining a checkpoint module in a target model; in the backward propagation stage, if the last layer included in the check point module is a Flash Attention layer, skipping the forward recalculation of the Flash Attention layer, determining the gradient of the Flash Attention layer according to a preset Flash Attention backward algorithm, and executing the forward recalculation to other network layers in the check point module to determine the corresponding gradient. According to the embodiment of the invention, the redundant calculation overhead of the Flash Attention layer forward recalculation can be saved, and the training efficiency is effectively improved.","content":null,"image_url":null,"lang":"en","published_at":"2026-09-08","fetched_at":"2026-10-30T21:29:39+00:00","status":"read","starred":0,"extract_state":"ok","summary_auto":null,"cluster_id":null,"extract_retries":0,"extract_error":null,"item_type":"patent","ref_id":"CN-120806026-B","refs_json":"{\"assignees\": [\"摩尔线程智能科技(北京)股份有限公司\"], \"cpc_codes\": [\"G06N3/084\", \"G06N3/045\"], \"family_id\": \"97318694\", \"watch\": \"patents-ai\", \"priority\": null}","doi":null,"arxiv_id":null,"paper_version":null,"sources_json":null,"relevance_score":null,"relevance_method":null,"cited_by":null,"contract_version":"news_item.v1","format_contract_version":"news_item_formats.v1","dedup_url":"https://patents.google.com/patent/CN120806026B/en","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":940,"usable_text_length":940,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":940}},"news_item":{"id":119667,"canonical_url":"https://patents.google.com/patent/CN120806026B/en","source_url":"https://patents.google.com/patent/CN120806026B/en","title":"Model training method and device, electronic equipment, storage medium and computer program product","source_name":"Google Patents","author":null,"published_at":"2026-09-08","locale":"en","topic":"patents","tags":[],"rss_summary":"Model training method and device, electronic equipment, storage medium and computer program product\n\nThe present disclosure relates to a model training method and apparatus, an electronic device, a storage medium and a computer program product, the method comprising determining a checkpoint module in a target model; in the backward propagation stage, if the last layer included in the check point module is a Flash Attention layer, skipping the forward recalculation of the Flash Attention layer, determining the gradient of the Flash Attention layer according to a preset Flash Attention backward algorithm, and executing the forward recalculation to other network layers in the check point module to determine the corresponding gradient. According to the embodiment of the invention, the redundant calculation overhead of the Flash Attention layer forward recalculation can be saved, and the training efficiency is effectively improved.","full_text":null,"excerpt":"Model training method and device, electronic equipment, storage medium and computer program product\n\nThe present disclosure relates to a model training method and apparatus, an electronic device, a storage medium and a computer program product, the method comprising determining a checkpoint module in a target model; in the backward propagation stage, if the last layer included in the check point module is a Flash Attention layer, skipping the forward recalculation of the Flash Attention layer, determining the gradient of the Flash Attention layer according to a preset Flash Attention backward algorithm, and executing the forward recalculation to other network layers in the check point module to determine the corresponding gradient. According to the embodiment of the invention, the redundant calculation overhead of the Flash Attention layer forward recalculation can be saved, and the training efficiency is effectively improved.","extraction":{"state":"ok","confidence":0.5,"error":null,"explanation":"Medium confidence: summary fallback used without full text.","diagnostics_url":"/api/diagnose?url=https%3A//patents.google.com/patent/CN120806026B/en","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":940,"usable_text_length":940,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":940}}},"display_formats":["compact","card","full","digest_section","json"]},"daily_stack_record":{"title":"Model training method and device, electronic equipment, storage medium and computer program product","url":"https://patents.google.com/patent/CN120806026B/en","summary":"Model training method and device, electronic equipment, storage medium and computer program product\n\nThe present disclosure relates to a model training method and apparatus, an electronic device, a storage medium and a computer program product, the method comprising determining a checkpoint module in a target model; in the backward propagation stage, if the last layer included in the check point module is a Flash Attention layer, skipping the forward recalculation of the Flash Attention layer, determining the gradient of the Flash Attention layer according to a preset Flash Attention backward algorithm, and executing the forward recalculation to other network layers in the check point module to determine the corresponding gradient. According to the embodiment of the invention, the redundant calculation overhead of the Flash Attention layer forward recalculation can be saved, and the training efficiency is effectively improved.","source":"Google Patents","date":"2026-09-08","content":"","confidence":0.5,"diagnostics_url":"/api/diagnose?url=https%3A//patents.google.com/patent/CN120806026B/en","quality_bucket":"medium","failure_kind":"none","retryable":false,"quality_reason":"Medium confidence: summary fallback used without full text.","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":940,"usable_text_length":940,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":940}},"tags":[]},"fallback_formats":["markdown","json","html"],"actions":{"read":"/item/119667","export_markdown":"/api/items/119667/export?format=markdown","export_json":"/api/items/119667/export?format=json","diagnose":"/api/diagnose?url=https%3A//patents.google.com/patent/CN120806026B/en"},"formats":{"full":{"id":119667,"title":"Model training method and device, electronic equipment, storage medium and computer program product","url":"https://patents.google.com/patent/CN120806026B/en","source":"Google Patents","author":null,"published_at":"2026-09-08","locale":"en","topic":"patents","tags":[],"excerpt":"Model training method and device, electronic equipment, storage medium and computer program product\n\nThe present disclosure relates to a model training method and apparatus, an electronic device, a storage medium and a computer program product, the method comprising determining a checkpoint module in a target model; in the backward propagation stage, if the last layer included in the check point module is a Flash Attention layer, skipping the forward recalculation of the Flash Attention layer, determining the gradient of the Flash Attention layer according to a preset Flash Attention backward algorithm, and executing the forward recalculation to other network layers in the check point module to determine the corresponding gradient. According to the embodiment of the invention, the redundant calculation overhead of the Flash Attention layer forward recalculation can be saved, and the training efficiency is effectively improved.","full_text":null,"reading_time_min":1,"extraction":{"state":"ok","confidence":0.5,"error":null,"explanation":"Medium confidence: summary fallback used without full text.","diagnostics_url":"/api/diagnose?url=https%3A//patents.google.com/patent/CN120806026B/en","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":940,"usable_text_length":940,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":940}}},"quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":940,"usable_text_length":940,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":940}},"actions":{"read":"/item/119667","export_markdown":"/api/items/119667/export?format=markdown","export_json":"/api/items/119667/export?format=json","diagnose":"/api/diagnose?url=https%3A//patents.google.com/patent/CN120806026B/en"}},"digest":{"id":119667,"title":"Model training method and device, electronic equipment, storage medium and computer program product","url":"https://patents.google.com/patent/CN120806026B/en","source":"Google Patents","topic":"patents","published_at":"2026-09-08","excerpt":"Model training method and device, electronic equipment, storage medium and computer program product The present disclosure relates to a model training method and apparatus, an electronic device, a storage medium and a computer program product, the method comprising determining a…","quality_bucket":"medium","quality_reason":"Medium confidence: summary fallback used without full text.","reading_time_min":1,"cluster_id":null},"card":{"display_title":"Model training method and device, electronic equipment, storage medium and computer program product","subtitle":"Google Patents · 2026-09-08","summary":"Model training method and device, electronic equipment, storage medium and computer program product The present disclosure relates to a model training method and apparatus, an electronic device, a storage medium and a…","badges":["quality:medium"],"links":{"read":"/item/119667","original":"https://patents.google.com/patent/CN120806026B/en","diagnose":"/api/diagnose?url=https%3A//patents.google.com/patent/CN120806026B/en"},"quality_warning":null},"export":{"title":"Model training method and device, electronic equipment, storage medium and computer program product","url":"https://patents.google.com/patent/CN120806026B/en","summary":"Model training method and device, electronic equipment, storage medium and computer program product\n\nThe present disclosure relates to a model training method and apparatus, an electronic device, a storage medium and a computer program product, the method comprising determining a checkpoint module in a target model; in the backward propagation stage, if the last layer included in the check point module is a Flash Attention layer, skipping the forward recalculation of the Flash Attention layer, determining the gradient of the Flash Attention layer according to a preset Flash Attention backward algorithm, and executing the forward recalculation to other network layers in the check point module to determine the corresponding gradient. According to the embodiment of the invention, the redundant calculation overhead of the Flash Attention layer forward recalculation can be saved, and the training efficiency is effectively improved.","source":"Google Patents","date":"2026-09-08","content":"","confidence":0.5,"diagnostics_url":"/api/diagnose?url=https%3A//patents.google.com/patent/CN120806026B/en","quality_bucket":"medium","failure_kind":"none","retryable":false,"quality_reason":"Medium confidence: summary fallback used without full text.","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":940,"usable_text_length":940,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":940}},"tags":[],"format_contract_version":"news_item_formats.v1"}}}