Cannot Unpack, Too Many Items
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Compare the output tuple unpacking in cuda/lltm.py (around line 25) with the values returned by the forward kernel in cuda/lltm_cuda_kernel.cu (around line 173), then check the same wiring in cpp/lltm.py and cpp/lltm.cpp. First confirm whether the CUDA kernel really returns six tensors, since the author only suspects the mismatch. Done means the Python wrapper's unpacking matches what the kernel returns, and the CUDA example still runs on a GPU machine.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I think there's a mistake in the cpp section and I want to ask before I "fix" it. It doesn't technically cause an error, but it makes it harder to switch the python file back and forth. So the cpp version of the python file has this line https://github.com/pytorch/extension-cpp/blob/master/cpp/lltm.py#L23 with 5 outputs which correctly corresponds to the 5 outputs from the cpp file https://github.com/pytorch/extension-cpp/blob/master/cpp/lltm.cpp#L84
But looking at the cuda version, there are 6 outputs. Python: https://github.com/pytorch/extension-cpp/blob/master/cuda/lltm.py#L25, cu: https://github.com/pytorch/extension-cpp/blob/master/cuda/lltm_cuda_kernel.cu#L173
If this is confirmed I can also edit the tutorial text as I have an open PR there fixing some other language.
- Ngôn ngữ chính
- Python
- Star
- 1.2k
- Fork
- 250
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pytorch/extension-cpp
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
pytorch/extension-cpp#100 · 5 bình luận ·
-
Deprecation warningĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
pytorch/extension-cpp#82 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
pytorch/extension-cpp#124 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
pytorch/extension-cpp#123 ·
-
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 12/100
pytorch/extension-cpp#121 · 3 bình luận ·
Tất cả issue của pytorch/extension-cpp
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
hermes hooks doctor smoke test never checks the hook exit code — a crashing hook (exit=1) renders ✓ "ran clean" and "All shell hooks look healthy"Có thể đã có người làm @cestercian đã nhận hôm nay. Đang mởcomp/cli P2 type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
NousResearch/hermes-agent#162259 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[request] gRpc/1.86.0Đang mởupstream update
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
conan-io/conan-center-index#31597 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
AOSSIE-Org/PictoPy#1802 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
community-request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NVIDIA-NeMo/Run#727 ·
Maintainer thường phản hồi trong vòng 1 ngày