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

[REVIEW] Defer loading of custom.js #114

Merged
merged 1 commit into from
Aug 4, 2022

Conversation

galipremsagar
Copy link
Contributor

This PR switches the loading of custom.js to defer because we will need the entire page to be loading until the methods in this script can even execute correctly.

xref: rapidsai/cudf#11465

@ajschmidt8 ajschmidt8 added doc Improvements or additions to documentation non-breaking Introduces a non-breaking change labels Aug 4, 2022
@ajschmidt8
Copy link
Member

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 4a69471 into rapidsai:branch-22.08 Aug 4, 2022
vuule pushed a commit to vuule/kvikio that referenced this pull request Nov 8, 2023
As described in https://github.com/rapidsai/cudf-private/pull/26#issuecomment-1777374538, our proxying of `pd.Timestamp` leads us down an erroneous codepath in CPython eventually terminating in a segfault.

Until this is possibly fixed in CPython, this PR unproxies `Timestamp`, so that `pd.Timestamp` returns a "real" Pandas timestamp object. There's no equivalent "cudf.Timestamp", so we don't particularly lose out on any performance.

One _potential_ concern with this approach is that operations between `pd.Timestamp` and proxy objects can yield "true" Pandas objects instead of proxy objects. I haven't seen that happen for things like `+` and comparisons (`>`), but it's worth keeping in mind that it's a _possibility_.

Authors:
  - Ashwin Srinath (https://github.com/shwina)
  - Matthew Roeschke (https://github.com/mroeschke)

Approvers:
  - Matthew Roeschke (https://github.com/mroeschke)

URL: https://github.com/rapidsai/cudf-private/pull/114
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Improvements or additions to documentation non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants