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

Offen
#93 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
40/100
Issue-Typ
Dokumentation
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
cmake, cpp, python

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
Python
Sterne
1.2k
Forks
250
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus pytorch/extension-cpp

Alle Issues in pytorch/extension-cpp

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.