Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build crash in nvcr.io/nvidia/pytorch:24.06-py3 image #2964

Merged
merged 2 commits into from
Dec 30, 2024

Conversation

zgjja
Copy link
Contributor

@zgjja zgjja commented Dec 27, 2024

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily receiving feedbacks. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.

Motivation

Fix 2 bugs

Modification

See #2963

BC-breaking (Optional)

None

Use cases (Optional)

None

Checklist

  1. Pre-commit or other linting tools are used to fix the potential lint issues.
  2. The modification is covered by complete unit tests. If not, please add more unit tests to ensure the correctness.
  3. If the modification has a dependency on downstream projects of a newer version, this PR should be tested with all supported versions of downstream projects.
  4. The documentation has been modified accordingly, like docstring or example tutorials.

@zgjja zgjja marked this pull request as ready for review December 27, 2024 07:00
@lvhan028 lvhan028 requested a review from lzhangzz December 27, 2024 07:02
@lvhan028 lvhan028 changed the title Fix build crash Fix build crash in nvcr.io/nvidia/pytorch:24.06-py3 image Dec 30, 2024
@lvhan028 lvhan028 merged commit b7488dd into InternLM:main Dec 30, 2024
9 checks passed
@@ -84,7 +84,7 @@ FastCompare(const T* src, const T* ref, int dims, int bsz, cudaStream_t stream,
thrust::cuda::par.on(stream),
zip_iter,
zip_iter + count,
[=] __device__(auto tup) {
[=] __host__ __device__(thrust::tuple<float, float> tup) -> Tuple {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May we also update with the turbomind repo https://github.com/InternLM/turbomind

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants