文件最后提交记录最后更新时间
move transfer performance examples to benchmark Co-authored-by: wonder1121<wangdan@huawei.com> # message auto-generated for no-merge-commit merge: !564 merge develop_transfer into develop move transfer performance examples to benchmark Created-by: wonder1121 Commit-by: wonder1121 Merged-by: yrewzjsx Description: ==================================================Trans Test Start================================================== Test completed: latency 67.45us, block size 32KB, total threads=2, per-thread times=100, aggregated throughput 6.81 GB/s Test completed: latency 65.35us, block size 64KB, total threads=2, per-thread times=100, aggregated throughput 14.60 GB/s Test completed: latency 65.62us, block size 128KB, total threads=2, per-thread times=100, aggregated throughput 23.32 GB/s Test completed: latency 75.19us, block size 256KB, total threads=2, per-thread times=100, aggregated throughput 24.00 GB/s Test completed: latency 66.34us, block size 512KB, total threads=2, per-thread times=100, aggregated throughput 24.32 GB/s Test completed: latency 84.17us, block size 1024KB, total threads=2, per-thread times=100, aggregated throughput 24.42 GB/s Test completed: latency 95.28us, block size 2048KB, total threads=2, per-thread times=100, aggregated throughput 24.47 GB/s Test completed: latency 175.10us, block size 4096KB, total threads=2, per-thread times=100, aggregated throughput 24.49 GB/s Test completed: latency 346.41us, block size 8192KB, total threads=2, per-thread times=100, aggregated throughput 24.50 GB/s Test completed: latency 691.24us, block size 16384KB, total threads=2, per-thread times=100, aggregated throughput 24.50 GB/s ==================================================Test End================================================== # Pull Request Template ## Description <!-- Provide a clear summary of the change, the problem it solves, and the technical approach. --> ## Related Issues <!-- Replace with actual issue numbers. Example: Closes #123, Related to #456 --> ## Type of Change - [ ] Bug fix - [ ] New feature - [ ] Performance optimization - [ ] Documentation update - [ ] Other (please describe):_______________ ## Testing <!-- Describe how the changes were tested. Include: - Unit/integration test coverage - Manual validation steps - Links to CI reports (e.g., CIDA) if available - Note any pending tests --> ## Checklist - [ ] I have performed a self-review of my own code. - [ ] I have updated the documentation. - [ ] I have added tests to prove my changes are effective. See merge request: Ascend/memfabric_hybrid!56429 天前
[docs] 文档一致性审查修复: 修复26个文档88项问题 Co-authored-by: j00808874<jiangchanghong3@huawei.com> # message auto-generated for no-merge-commit merge: !733 merge mrdoc into develop [docs] 文档一致性审查修复: 修复26个文档88项问题 Created-by: j00808874 Commit-by: j00808874 Merged-by: yrewzjsx Description: ![image.png](https://raw.gitcode.com/user-images/assets/7672916/991c4e3b-d6d3-477d-b6b9-48cfd3c07169/image.png 'image.png') ![image.png](https://raw.gitcode.com/user-images/assets/7672916/50117056-d687-43e1-a5dc-527c8dc710d5/image.png 'image.png') See merge request: Ascend/memfabric_hybrid!73312 天前
修改HCOM commit Co-authored-by: h30042012<huanghaiyun3@h-partners.com> # message auto-generated for no-merge-commit merge: !553 merge develop0427 into develop 修改HCOM commit Created-by: huanghaiyun_ Commit-by: h30042012 Merged-by: yrewzjsx Description: # Pull Request Template ## Description <!-- Provide a clear summary of the change, the problem it solves, and the technical approach. --> ## Related Issues <!-- Replace with actual issue numbers. Example: Closes #123, Related to #456 --> ## Type of Change - [ ] Bug fix - [ ] New feature - [ ] Performance optimization - [ ] Documentation update - [ ] Other (please describe):_______________ ## Testing <!-- Describe how the changes were tested. Include: - Unit/integration test coverage - Manual validation steps - Links to CI reports (e.g., CIDA) if available - Note any pending tests --> ## Checklist - [ ] I have performed a self-review of my own code. - [ ] I have updated the documentation. - [ ] I have added tests to prove my changes are effective. See merge request: Ascend/memfabric_hybrid!5531 个月前
支持bazel编译--part1 Co-authored-by: wonder1121<wangdan@huawei.com> # message auto-generated for no-merge-commit merge: !350 merge develop into develop 支持bazel编译--part1 Created-by: wonder1121 Commit-by: wonder1121 Merged-by: yrewzjsx Description: # Pull Request Template ## Description <!-- Provide a clear summary of the change, the problem it solves, and the technical approach. --> ## Related Issues <!-- Replace with actual issue numbers. Example: Closes #123, Related to #456 --> ## Type of Change - [ ] Bug fix - [ ] New feature - [ ] Performance optimization - [ ] Documentation update - [ ] Other (please describe):_______________ ## Testing <!-- Describe how the changes were tested. Include: - Unit/integration test coverage - Manual validation steps - Links to CI reports (e.g., CIDA) if available - Note any pending tests --> ## Checklist - [ ] I have performed a self-review of my own code. - [ ] I have updated the documentation. - [ ] I have added tests to prove my changes are effective. See merge request: Ascend/memfabric_hybrid!3502 个月前
ci: add pre-commit script Co-authored-by: shilinlee<836160610@qq.com> # message auto-generated for no-merge-commit merge: !472 merge mf_pre_commit into develop ci: add pre-commit script Created-by: shilinlee_com Commit-by: shilinlee Merged-by: yrewzjsx Description: # Pull Request Template ## Description chore: add pre-commit script and format files ### Tips 本地提交代码前自动格式化: ``` pip install pre-commit pre-commit install ``` **手动运行脚本,执行增量检查。** 设置对比基线的分支环境变量,**增量**检查你MR检查: ```bash export TARGET_BRANCH=develop # 默认develop bash script/ci-pre-commit-pr.sh ``` ## Related Issues <!-- Replace with actual issue numbers. Example: Closes #123, Related to #456 --> ## Type of Change - [ ] Bug fix - [ ] New feature - [ ] Performance optimization - [ ] Documentation update - [ ] Other (please describe):_______________ ## Testing <!-- Describe how the changes were tested. Include: - Unit/integration test coverage - Manual validation steps - Links to CI reports (e.g., CIDA) if available - Note any pending tests --> ## Checklist - [x] I have performed a self-review of my own code. - [ ] I have updated the documentation. - [ ] I have added tests to prove my changes are effective. See merge request: Ascend/memfabric_hybrid!4721 个月前
[feature] 将host内存映射到device作为可选项通过flag暴露出去 Co-authored-by: m30059434<marunhua1@h-partners.com> # message auto-generated for no-merge-commit merge: !457 merge develop_fix_2 into develop [feature] 将host内存映射到device作为可选项通过flag暴露出去 Created-by: mrh1024 Commit-by: m30059434 Merged-by: yrewzjsx Description: # Pull Request Template ## Description <!-- Provide a clear summary of the change, the problem it solves, and the technical approach. --> ## Related Issues <!-- Replace with actual issue numbers. Example: Closes #123, Related to #456 --> ## Type of Change - [ ] Bug fix - [ ] New feature - [ ] Performance optimization - [ ] Documentation update - [ ] Other (please describe):_______________ ## Testing <!-- Describe how the changes were tested. Include: - Unit/integration test coverage - Manual validation steps - Links to CI reports (e.g., CIDA) if available - Note any pending tests --> ## Checklist - [ ] I have performed a self-review of my own code. - [ ] I have updated the documentation. - [ ] I have added tests to prove my changes are effective. See merge request: Ascend/memfabric_hybrid!4572 个月前
!1172 完善文档,修改文档错误 * 完善文档,修改文档错误 6 个月前
build: make build jobs configurable Co-authored-by: shilinlee<836160610@qq.com> # message auto-generated for no-merge-commit merge: !467 merge mf_build_jobs into develop build: make build jobs configurable Created-by: shilinlee_com Commit-by: shilinlee Merged-by: yrewzjsx Description: # Pull Request Template ## Description build: make build jobs configurable <!-- Replace with actual issue numbers. Example: Closes #123, Related to #456 --> ## Type of Change - [ ] Bug fix - [ ] New feature - [ ] Performance optimization - [ ] Documentation update - [ ] Other (please describe):_______________ ## Testing <!-- Describe how the changes were tested. Include: - Unit/integration test coverage - Manual validation steps - Links to CI reports (e.g., CIDA) if available - Note any pending tests --> ## Checklist - [ ] I have performed a self-review of my own code. - [ ] I have updated the documentation. - [ ] I have added tests to prove my changes are effective. See merge request: Ascend/memfabric_hybrid!4672 个月前
refactor: consolidate incremental UT build into run_ut.sh --fast Co-authored-by: j00808874<jiangchanghong3@huawei.com> # message auto-generated for no-merge-commit merge: !325 merge mr into develop refactor: consolidate incremental UT build into run_ut.sh --fast Created-by: j00808874 Commit-by: j00808874 Merged-by: yrewzjsx Description: # run_ut.sh Usage Guide ## Mode Comparison | Feature | Default mode | --fast mode | |---|---|---| | Build directory cleanup | Full wipe before build | Skipped (incremental) | | cmake reconfiguration | Always | Only on first run or fingerprint mismatch | | Coverage report (lcov/genhtml) | Generated | Skipped | | Typical use case | CI / pre-commit | Local development iteration | ## Usage ```bash # Default: full clean build + coverage report bash script/run_ut.sh # Default with test filter bash script/run_ut.sh SmemBmTest # Fast: incremental build, no coverage bash script/run_ut.sh --fast # Fast with test filter bash script/run_ut.sh --fast SmemBmTest ``` ## --fast Fingerprint Mechanism The --fast mode writes a fingerprint string (ASAN-UT-OPEN_ABI) to build/.build_fingerprint after the first successful cmake configuration. On subsequent runs it checks: 1. **Build directory missing** or **fingerprint file missing** → full build 2. **Fingerprint mismatch** (build config changed externally) → full rebuild 3. **Fingerprint matches** → incremental build (skip cmake, skip rm) The three cases print: ``` ========= first build, full build ============ ========= build config changed, full rebuild ============ ========= incremental build ============ ``` ## Recommended Workflow - During active development, use bash script/run_ut.sh --fast for fast iteration (recompiles only changed translation units). - Before committing or pushing, run bash script/run_ut.sh to get the full clean build and coverage report required by CI. See merge request: Ascend/memfabric_hybrid!3253 个月前
[core] device_rdma中转传输 Co-authored-by: hansanyue<hansanyue@h-partners.com> # message auto-generated for no-merge-commit merge: !566 merge indirect_transport_rebase into develop [core] device_rdma中转传输 Created-by: han-sanyue Commit-by: hansanyue Merged-by: chenyz6 Description: # Pull Request Template ## Description <!-- Provide a clear summary of the change, the problem it solves, and the technical approach. --> ## Related Issues <!-- Replace with actual issue numbers. Example: Closes #123, Related to #456 --> ## Type of Change - [ ] Bug fix - [x] New feature - [ ] Performance optimization - [ ] Documentation update - [ ] Other (please describe):_______________ ## Testing <!-- Describe how the changes were tested. Include: - Unit/integration test coverage - Manual validation steps - Links to CI reports (e.g., CIDA) if available - Note any pending tests --> ## Checklist - [ ] I have performed a self-review of my own code. - [ ] I have updated the documentation. - [ ] I have added tests to prove my changes are effective. See merge request: Ascend/memfabric_hybrid!56626 天前
README.md

1 install dir

${INSTALL_PATH}/
          |--memfabric_hybrid
              |-- latest
              |-- set_env.sh
              |-- include    (头文件)
              |-- ${version}
                   |-- ${arch}-${os}
                        |-- lib64      (so库)
                        |-- whl        (python的whl包)
                        |-- test       (测试文件)
                   |-- uninstall.sh
                   |-- version.info


default ${INSTALL_PATH} is /usr/local/

2 rule of package name

memfabric_hybrid-${version}_${os}_${arch}${xpu_suffix}.run

其中 xpu_suffix 为空(NPU)/_cpu(XPU_TYPE=NONE)/_gpu(XPU_TYPE=GPU)

3 upgrade

support offline upgrade

4 where is the package

built from gitee and placed on gitee for downloading

5 check library version

user can get library version by linux 'strings' command

example to get the library version using 'strings' as following:

strings libmf_smem.so | grep commit

library version: 1.0.0, build time: Apr 27 2025 08:46:17, commit: 4ad27e5b4bd3353c5c20f16e8f3b6da41268d4e0

Unit Test

See run_ut.md for unit test usage including fast incremental build mode.