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

GPU package size limit #34

Closed
kyamagu opened this issue Jan 29, 2021 · 3 comments · Fixed by #35
Closed

GPU package size limit #34

kyamagu opened this issue Jan 29, 2021 · 3 comments · Fixed by #35

Comments

@kyamagu
Copy link
Owner

kyamagu commented Jan 29, 2021

#33 seems to bring significant file size increase, causing pypi upload failure.
Needs to inspect the cause and find a workaround; perhaps by dropping some CUDA_ARCHITECTURE.

@kyamagu
Copy link
Owner Author

kyamagu commented Jan 29, 2021

The following reduces the package size to 85M (<100M), but still exceeds 60M default.

  • CMAKE_CUDA_ARCHITECTURES="35-real;50-real;60-real;70-real;75"
  • CUDAFLAGS=--compiler-options=-fvisibility=hidden,-fdata-sections,-ffunction-sections

@rom1504
Copy link

rom1504 commented Jan 29, 2021

you could consider asking for a size limit increase https://www.dampfkraft.com/code/distributing-large-files-with-pypi.html#get-a-size-limit-increase
https://github.com/pypa/pypi-support#guidelines-for-upload-limit-requests

project contains large compiled binaries to maintain platform/architecture/GPU support

@kyamagu
Copy link
Owner Author

kyamagu commented Jan 29, 2021

@rom1504 Thanks, will make a request once the current optimized binary really exceeds the limit

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

Successfully merging a pull request may close this issue.

2 participants