Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Support #54

Open
sekkit opened this issue May 12, 2023 · 10 comments
Open

Windows Support #54

sekkit opened this issue May 12, 2023 · 10 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@sekkit
Copy link

sekkit commented May 12, 2023

Since im using UE5 in Windows, it's cool if threestudio could run under Windows.

@mischaschaub
Copy link

YES YES YES, this would be awfully great!

@thuliu-yt16
Copy link
Collaborator

Maybe you could first try WSL. The objective of threestudio now is to integrate most methods, so supporting new platform is of low priority.

@mischaschaub
Copy link

Exactly, this would be so helpful. There is a whole group of VoC users and many of their best people tried ot compile the WSL, but no chance. It would be ever so helpful if you could create such a file.

@claforte claforte added enhancement New feature or request help wanted Extra attention is needed labels Jun 3, 2023
@claforte
Copy link
Collaborator

claforte commented Jun 3, 2023

I think all core researchers are using Linux. If you want Windows support, I recommend you try to do it yourselves.

@shinya7y
Copy link
Contributor

shinya7y commented Jun 5, 2023

I have installed threestudio with WSL2.
I hope you find the following article helpful. Translation in Chrome generally works.
https://zenn.dev/shinya7y/articles/threestudio-prolificdreamer

@shengyu-meng
Copy link

I have installed threestudio with WSL2. I hope you find the following article helpful. Translation in Chrome generally works. https://zenn.dev/shinya7y/articles/threestudio-prolificdreamer

I followed your guide and succeed! But sadly WSL2 only support OpenGL early than 4.1, so some main features, such as Fantasia3D / mesh exporter don't work😥.

@thuliu-yt16
Copy link
Collaborator

Hi @shengyu-meng, it is very nice!

I guess for the mesh exporter, you can use the cuda context_type if opengl is uncompatible.

@shengyu-meng
Copy link

Hi @shengyu-meng, it is very nice!

I guess for the mesh exporter, you can use the cuda context_type if opengl is uncompatible.

Thanks for your suggestion! So is it any chance to run Fantasia3D without openGL? 🥰

@IhnoL
Copy link

IhnoL commented Nov 7, 2023

I used the docker method inside of WSL2 which seems to work. The exported meshes looked not so great, maybe due to the cuda exporter instead of opengl. I did not test Fantasia3D.

Docker and Nvidia Container Toolkit need to be installed: https://docs.nvidia.com/cuda/wsl-user-guide/index.html

@OmidGhotbi
Copy link

OmidGhotbi commented Feb 28, 2024

It is working with no issue on Windows, I managed to install it directly in Windows as well as using WSL you can use this tutorial for WSL installation https://www.youtube.com/watch?v=jaRr5W80N8E
the process is almost the same for Windows directly. i used cmd python 3.10 Pytorch 2.2.0 cuda 12.1
Visual Studio 2019 or 2022 build tools, vc++ runtime should be installed, now you need to install cuda toolkit from the Nvidia website and use the same version of cuda 12.1
now you need to set venv like this "python -m venv .venv" then inside venv go to "cd /d C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build" and run "vcvars64.bat" then get back to threestudio folder and "set DISTUTILS_USE_SDK=1", install Pytorch 2.2.0 for cuda 121"pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121" now install requirements pip install -r requirements.txt and that's all.
Good luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

8 participants