Skip to content

Instantly share code, notes, and snippets.

@nbren12
Last active July 22, 2023 01:52
Show Gist options
  • Save nbren12/de5a5390439fa4fe7d8eb627509a70ad to your computer and use it in GitHub Desktop.
Save nbren12/de5a5390439fa4fe7d8eb627509a70ad to your computer and use it in GitHub Desktop.
use cupy with proper-scoring
import properscoring
properscoring._crps.np = cupy
properscoring._crps._crps_ensemble_core = properscoring._crps._crps_ensemble_vectorized
import cupy as np
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment