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

Could someone build a WHL for Windows CUDA 11.8? #80

Open
SoftologyPro opened this issue Apr 21, 2024 · 4 comments
Open

Could someone build a WHL for Windows CUDA 11.8? #80

SoftologyPro opened this issue Apr 21, 2024 · 4 comments

Comments

@SoftologyPro
Copy link

If anyone is able to build under Windows can you please share a WHL?
ie python setup.py sdist bdist_wheel

@SoftologyPro
Copy link
Author

WHL now here.
https://huggingface.co/Nekochu/Models/blob/main/diffvg_whl_torch_118/releases/diffvg-0.0.1-cp310-cp310-win_amd64.whl

But when installed and running the script I get

Traceback (most recent call last):
  File "D:\Tests\Dynamic Typography\dynamicTypography.py", line 1, in <module>
    from painter_dTypo import Painter, PainterOptimizer
  File "D:\Tests\Dynamic Typography\painter_dTypo.py", line 10, in <module>
    import pydiffvg
  File "D:\Tests\Dynamic Typography\venv\lib\site-packages\pydiffvg\__init__.py", line 4, in <module>
    from .render_pytorch import *
  File "D:\Tests\Dynamic Typography\venv\lib\site-packages\pydiffvg\render_pytorch.py", line 18, in <module>
    class RenderFunction(torch.autograd.Function):
  File "D:\Tests\Dynamic Typography\venv\lib\site-packages\pydiffvg\render_pytorch.py", line 27, in RenderFunction
    filter = pydiffvg.PixelFilter(type = diffvg.FilterType.box,

This issue #27 (comment) says to rename the file, but that file/directory does not exist on Windows (or at least not here once I install the WHL).

@kepurG
Copy link

kepurG commented Jul 14, 2024

I spent days and nights to complete the diffvg compilation on Windows. If anyone wants the wheels, you can contact me +V13862010554. Let's create a group to communicate and exchange about the improvements based on the module together.

@SoftologyPro
Copy link
Author

SoftologyPro commented Jul 16, 2024

I spent days and nights to complete the diffvg compilation on Windows. If anyone wants the wheels, you can contact me +V13862010554. Let's create a group to communicate and exchange about the improvements based on the module together.

There is already a whl above for anyone who needs it.
Can you please share your version of it on Hugging Face or any other host so I can try it with my problem script?

@benbaker76
Copy link

You can check out my fork which has instructions on how to create the wheel and install on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants