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

Aperta
#93 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
40/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cmake, cpp, python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
Python
Stelle
1.2k
Fork
250
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pytorch/extension-cpp

Tutte le issue di pytorch/extension-cpp

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.