Skip to content

refactor(minicpm_o2_6): optimize tensor operations and memory access #499

Merged
oreomaker merged 3 commits intoUbiquitousLearning:v2from
oreomaker:v2
Nov 1, 2025
Merged

refactor(minicpm_o2_6): optimize tensor operations and memory access #499
oreomaker merged 3 commits intoUbiquitousLearning:v2from
oreomaker:v2

Conversation

@oreomaker
Copy link
Copy Markdown
Collaborator

No description provided.

oreomaker and others added 3 commits October 31, 2025 14:28
- Replace nested loops with memcpy for faster tensor data copying
- Use slice primitives for efficient tensor indexing and reshaping
- Optimize attention mask computation with cache-friendly access patterns
- Remove redundant bias addition loops in attention projection
- Add performance TODO comments for future optimization opportunities
- Update error logging to use MLLM_ERROR macro
- Remove debug print statements from vision embedding merge function
- Fix tensor view operations for proper 4D input handling in conv layers
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Nov 1, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@oreomaker oreomaker merged commit a827740 into UbiquitousLearning:v2 Nov 1, 2025
3 checks passed
@chenghuaWang chenghuaWang changed the title V2 refactor(minicpm_o2_6): optimize tensor operations and memory access Nov 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant