Co-authored-by: y30037164<yuaiming@h-partners.com> # message auto-generated for no-merge-commit merge: !46618 merge yam/master into master consolidate nightly scripts into generic counterparts Created-by: y30037164 Commit-by: yuaiming;y30037164 Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> https://gitcode.com/Ascend/pytorch/issues/5012 - [x] 需求 - [ ] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 请描述修改内容的具体实现,涉及哪些组件之间进行交互,可以用1、2、3、...进行罗列\ > 如果是需求或者重构类的PR,需要补充详细设计文档(说明上下游组件关系、时序图、类图、DFX能力等内容) # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” # 【功能验证】 > 说明测试场景,测试方法。如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤\ > 新增/变更内容是否已新增/适配UT测试用例看护,并补充测试自验证截图 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [ ] 代码注释完备,正确记录错误日志 - [ ] 代码实现进行了返回值、空指针等校验 - [ ] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [ ] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!46618
224 lines
3.3 KiB
Plaintext
224 lines
3.3 KiB
Plaintext
# READ THIS BEFORE YOU REFACTOR ME
|
|
#
|
|
# setup.py uses the list of patterns in this file to decide
|
|
# what to delete, but it's not 100% sound. So, for example,
|
|
# if you delete aten/build/ because it's redundant with build/,
|
|
# aten/build/ will stop being cleaned. So be careful when
|
|
# refactoring this file!
|
|
|
|
## PyTorch
|
|
.coverage
|
|
coverage.xml
|
|
.dmypy.json
|
|
.gradle
|
|
.hypothesis
|
|
.mypy_cache
|
|
*/*.so*
|
|
*/**/__pycache__
|
|
*/**/*.dylib*
|
|
*/**/*.pyd
|
|
*/**/*.so*
|
|
log
|
|
# Root level file used in CI to specify certain env configs.
|
|
# E.g., see .circleci/config.yaml
|
|
env
|
|
.circleci/scripts/COMMIT_MSG
|
|
|
|
# IPython notebook checkpoints
|
|
.ipynb_checkpoints
|
|
|
|
# Editor temporaries
|
|
*.swn
|
|
*.swo
|
|
*.swp
|
|
*.swm
|
|
*~
|
|
|
|
# macOS dir files
|
|
.DS_Store
|
|
|
|
# Ninja files
|
|
.ninja_deps
|
|
.ninja_log
|
|
compile_commands.json
|
|
*.egg-info/
|
|
|
|
## General
|
|
|
|
# Compiled Object files
|
|
*.slo
|
|
*.lo
|
|
*.o
|
|
*.cuo
|
|
*.obj
|
|
|
|
# Compiled Dynamic libraries
|
|
*.so
|
|
*.dylib
|
|
*.dll
|
|
|
|
# Compiled Static libraries
|
|
*.lai
|
|
*.la
|
|
*.a
|
|
*.lib
|
|
|
|
# Compiled protocol buffers
|
|
*.pb.h
|
|
*.pb.cc
|
|
*_pb2.py
|
|
|
|
# Compiled python
|
|
*.pyc
|
|
*.pyd
|
|
|
|
# Compiled MATLAB
|
|
*.mex*
|
|
|
|
# IPython notebook checkpoints
|
|
.ipynb_checkpoints
|
|
|
|
# Editor temporaries
|
|
*.swn
|
|
*.swo
|
|
*.swp
|
|
*~
|
|
|
|
# Sublime Text settings
|
|
*.sublime-workspace
|
|
*.sublime-project
|
|
|
|
# Eclipse Project settings
|
|
*.*project
|
|
.settings
|
|
|
|
# QtCreator files
|
|
*.user
|
|
|
|
# PyCharm files
|
|
.idea
|
|
|
|
# OSX dir files
|
|
.DS_Store
|
|
|
|
# GDB history
|
|
.gdb_history
|
|
|
|
## Caffe2
|
|
|
|
# build, distribute, and bins (+ python proto bindings)
|
|
build
|
|
build_host_protoc
|
|
build_android
|
|
build_ios
|
|
/build_*
|
|
.build_debug/*
|
|
.build_release/*
|
|
.build_profile/*
|
|
distribute/*
|
|
*.testbin
|
|
*.bin
|
|
cmake_build
|
|
.cmake_build
|
|
gen
|
|
.setuptools-cmake-build
|
|
.pytest_cache
|
|
aten/build/*
|
|
dist
|
|
|
|
# Bram
|
|
plsdontbreak
|
|
|
|
# Generated documentation
|
|
docs/_site
|
|
docs/gathered
|
|
_site
|
|
doxygen
|
|
docs/dev
|
|
|
|
# LevelDB files
|
|
*.sst
|
|
*.ldb
|
|
LOCK
|
|
CURRENT
|
|
MANIFEST-*
|
|
|
|
# generated version file
|
|
caffe2/version.py
|
|
|
|
# setup.py intermediates
|
|
.eggs
|
|
caffe2.egg-info
|
|
|
|
# Atom/Watchman required file
|
|
.watchmanconfig
|
|
|
|
# Files generated by CLion
|
|
cmake-build-debug
|
|
|
|
# BEGIN NOT-CLEAN-FILES (setup.py handles this marker. Do not change.)
|
|
#
|
|
# Below files are not deleted by "setup.py clean".
|
|
|
|
# AOTInductor NPU C shim: canonical header is a build-time copy of the
|
|
# versioned snapshot in aoti_torch/generated/<v2rXX>/. The versioned snapshots
|
|
# are git-tracked; this canonical copy is regenerated per build. See
|
|
# docs/proposal_c_shim_multi_version.md (scheme 2).
|
|
torch_npu/csrc/inductor/aoti_torch/generated/c_shim_npu.h
|
|
|
|
# Visual Studio Code files
|
|
.vscode
|
|
.vs
|
|
|
|
# YouCompleteMe config file
|
|
.ycm_extra_conf.py
|
|
|
|
# Files generated when a patch is rejected
|
|
*.orig
|
|
*.rej
|
|
|
|
# Files generated by ctags
|
|
CTAGS
|
|
GTAGS
|
|
GRTAGS
|
|
GSYMS
|
|
GPATH
|
|
tags
|
|
TAGS
|
|
|
|
|
|
# ccls file
|
|
.ccls-cache/
|
|
|
|
# clang-format storage location used by apply_clang_format.py
|
|
.clang-format-bin
|
|
|
|
# clangd background index
|
|
.clangd/
|
|
.cache/
|
|
|
|
# lintrunner binary cache
|
|
.lintbin/
|
|
|
|
# bazel symlinks
|
|
bazel-*
|
|
|
|
# Generated files
|
|
torch_npu/version.py
|
|
torch_npu/csrc/aten/NPUNativeFunctions.h
|
|
torch_npu/csrc/aten/RegisterAutogradNPU.cpp
|
|
torch_npu/csrc/aten/RegisterCPU.cpp
|
|
torch_npu/csrc/aten/RegisterNPU.cpp
|
|
torch_npu/csrc/aten/python_custom_functions.cpp
|
|
torch_npu/_op_plugin_docs.py
|
|
|
|
# Scratch space for agent-authored throwaway files
|
|
agent_space/
|
|
|
|
# IDE (TraeCode/Chromium) runtime log
|
|
debug.log
|
|
|
|
# 未使用的测试用例配置,仅本地保留,不纳入版本控制
|
|
.gitcode/config/common_cases_pytorch.jsonl
|
|
.gitcode/config/multi_card_testcases.json
|