[feature request] Instruction on how to setup compile-env for Windows

Đang mở
#93 0 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
40/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cmake, cpp, python

Hướng nghiên cứu

The issue asks for documentation on setting up a Windows build environment for the C++ extension in this repo, with setuptools or CMake as acceptable options. Start with the PyTorch C++ extension tutorial linked in the issue, then find where the repo's own build is configured and what it assumes about the platform. Done means a Windows setup guide that a reader can follow to build and import the extension, verified on a real Windows machine. Ask in the thread which build tool the maintainers prefer before writing it.

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

Mô tả

Hi

I have been working with extensions successfully on Linux (shipping as whl)
An end-user has asked me to provide a windows version of an extension, and I have to admit that it was not as simple as the documentation suggested here.

Can you please provide a minimal explanation or example on how to setup the compile env for this repo?
I don't mind if it is based on setuptools or cmake, as long as it does not include a non-free tool like VS-pro here


Here are some general frame of work that will help:

  • OS: >=Win10
  • PyTorch version: >=1.6.0
  • How you installed PyTorch (conda, pip, source): both conda and pip
  • Python version: >=1.8
  • CUDA version: >=10.2
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.