ImportError: No module named 'lltm_cuda'

Đang mở
#34 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
15/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
cpp, python
Lĩnh vực
build-system

Hướng nghiên cứu

Start from jit2.py, which calls torch.utils.cpp_extension.load for lltm_cuda, and follow the traceback into _import_module_from_library, where the built module is searched for in the build directory. The issue gives no expected behavior and the reporter is on Windows with Python 3.6, so first check whether the extension compiles and where the .pyd lands. Done would be a reproduction on a current PyTorch with either a fix or a documented cause; the thread has had no answer for about five years.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Hi,Peter
CMD: python3 jit2.py
no result,help, pls ...
Loading extension module lltm_cuda...
Traceback (most recent call last):
File "jit2.py", line 24, in
verbose=True
File "E:\Python36\lib\site-packages\torch\utils\cpp_extension.py", line 645, i
n load
is_python_module)
File "E:\Python36\lib\site-packages\torch\utils\cpp_extension.py", line 825, i
n _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "E:\Python36\lib\site-packages\torch\utils\cpp_extension.py", line 965, i
n _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "E:\Python36\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'lltm_cuda'

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pytorch/extension-cpp

Tất cả issue của pytorch/extension-cpp

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.