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

Request for CPU-Only Wheels for Non-GPU Dependent Modules #782

Open
prokolyvakis opened this issue Feb 12, 2024 · 3 comments
Open

Request for CPU-Only Wheels for Non-GPU Dependent Modules #782

prokolyvakis opened this issue Feb 12, 2024 · 3 comments

Comments

@prokolyvakis
Copy link

prokolyvakis commented Feb 12, 2024

Summary:

I would like to bring attention to the need for CPU-only wheel distributions for parts of Kaolin that do not inherently require GPU support. While understanding that the core functionalities of Kaolin leverage GPU acceleration for efficiency, there are components, particularly related to I/O operations (e.g., USD file handling), that are not GPU-bound and could benefit from being executable on CPU-only environments.

Issue:

The current version available on PyPI (0.1) appears to be a placeholder and does not offer practical usability. This limitation poses a challenge in scenarios where only CPU-based execution is feasible or desired, such as running unit tests in CI/CD pipelines (e.g., GitHub Actions) where GPU resources may not be available or required. This functionality is really important for repos building upon kaolin that want to differentiate the code unittesting between CPU and GPU only.

Use Case:

An immediate application of CPU-only modules is in the context of continuous integration testing. Being able to test parts of the codebase that interact with file systems, perform data preprocessing, or any other non-GPU intensive task, without the necessity for GPU resources, would greatly enhance the development workflow. This is particularly relevant for validating changes that affect the aforementioned aspects of the library, ensuring robustness and functionality without the overhead of GPU dependencies in testing environments.

Suggestion:

It would be highly beneficial for the development and user community if CPU-only wheels could be made available for those segments of Kaolin that do not necessitate GPU computation apart from the already existing CUDA using wheels. This would not only facilitate broader testing strategies but also enable use cases where GPU resources are either unavailable or unnecessary.

Thank you for your great work! :)

@shash29-dev
Copy link

+1

@Caenorst
Copy link
Collaborator

Caenorst commented Mar 7, 2024

Hi @prokolyvakis ! Thank you for raising this issue. I will create wheels for CPU, but It may take a little bit of time to set that up since I may need to create new CI scripts.

@prokolyvakis
Copy link
Author

Thank you very much @Caenorst ! I am looking forward to it !

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