Title: cuda out of memory error for large lookup tables · Issue #10 · geometryprocessing/scanner · GitHub
Open Graph Title: cuda out of memory error for large lookup tables · Issue #10 · geometryprocessing/scanner
X Title: cuda out of memory error for large lookup tables · Issue #10 · geometryprocessing/scanner
Description: The codebase currently handles use_gpu = True by sending the whole lookup table (LUT) to the GPU when first loaded. This will not work for large LUTs. Additionally, operations like LUT = lut[mask] need memory allocation as it generates a...
Open Graph Description: The codebase currently handles use_gpu = True by sending the whole lookup table (LUT) to the GPU when first loaded. This will not work for large LUTs. Additionally, operations like LUT = lut[mask] ...
X Description: The codebase currently handles use_gpu = True by sending the whole lookup table (LUT) to the GPU when first loaded. This will not work for large LUTs. Additionally, operations like LUT = lut[mask] ...
Opengraph URL: https://github.com/geometryprocessing/scanner/issues/10
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"cuda out of memory error for large lookup tables","articleBody":"The codebase currently handles use_gpu = True by sending the whole lookup table (LUT) to the GPU when first loaded. This will not work for large LUTs.\n\nAdditionally, operations like `LUT = lut[mask]` need memory allocation as it generates a copy instead of a view.\n\nPossible options:\n- substitute masking for slicing or other ways to create view of array\n- keep everything in CPU until blockLookUp is called -- the function would then need a _use_gpu_ boolean argument\n- dask for distributed arrays?","author":{"url":"https://github.com/giancarlo-pereira","@type":"Person","name":"giancarlo-pereira"},"datePublished":"2025-09-21T19:31:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/10/scanner/issues/10"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:646de118-b609-ab49-006b-10d0c04e78b8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B236:E97D6:7A39DB:A9FD84:698F3995 |
| html-safe-nonce | f505df2bf94a27f4afda3a6186a7476a5efe64de3234e7444839e71ab77cc884 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjM2OkU5N0Q2OjdBMzlEQjpBOUZEODQ6Njk4RjM5OTUiLCJ2aXNpdG9yX2lkIjoiNTU1MDk2MzAwNTI1NTAwNjYxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2ea070b6e44f5de2751236b4d743fa7a67769da922c83c9ebffa4a63ab1a2bb7 |
| hovercard-subject-tag | issue:3438539384 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/geometryprocessing/scanner/10/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ae42df1bfade32608c60c711dc1cbabdd5b4a6bca9e918a8697ac755cad8258b/geometryprocessing/scanner/issues/10 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ae42df1bfade32608c60c711dc1cbabdd5b4a6bca9e918a8697ac755cad8258b/geometryprocessing/scanner/issues/10 |
| og:image:alt | The codebase currently handles use_gpu = True by sending the whole lookup table (LUT) to the GPU when first loaded. This will not work for large LUTs. Additionally, operations like LUT = lut[mask] ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | giancarlo-pereira |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6102991c714c1a6a27d05fb4f96ea6ca87a6750b4f093b95cc57ed1b84b145a1 |
| turbo-cache-control | no-preview |
| go-import | github.com/geometryprocessing/scanner git https://github.com/geometryprocessing/scanner.git |
| octolytics-dimension-user_id | 17053663 |
| octolytics-dimension-user_login | geometryprocessing |
| octolytics-dimension-repository_id | 894711063 |
| octolytics-dimension-repository_nwo | geometryprocessing/scanner |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 894711063 |
| octolytics-dimension-repository_network_root_nwo | geometryprocessing/scanner |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d6ba6f2bfbf6399a7c07495a912727369e95bfe8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width