The Wayback Machine - https://web.archive.org/web/20210413121325/https://github.com/topics/cuda
Skip to content
#

cuda

Here are 2,770 public repositories matching this topic...

numba
DrTodd13
DrTodd13 commented Apr 7, 2021

In numba/stencils/stencil.py, there are various places (like line 552, "if isinstance(kernel_size[i][0], int):") where we check for "int" in relation to neighborhoods. I ran across a case where I was creating a neighborhood tuple by extracting values from a Numpy array. This causes a problem because those Numpy values will not match in these isinstance int checks. I worked around it by conver

pseudotensor
pseudotensor commented Jan 12, 2021

Problem: the approximate method can still be slow for many trees
catboost version: master
Operating System: ubuntu 18.04
CPU: i9
GPU: RTX2080

Would be good to be able to specify how many trees to use for shapley. The model.predict and prediction_type versions allow this. lgbm/xgb allow this.

BenikaHall
BenikaHall commented Feb 10, 2021

Describe the bug
After applying the unstack function, the variable names change to numeric format.

Steps/Code to reproduce bug

def get_df(length, num_cols, num_months, acc_offset):
    cols = [ 'var_{}'.format(i) for i in range(num_cols)]
    df = cudf.DataFrame({col: cupy.random.rand(length * num_months) for col in cols})
    df['acc_id'] = cupy.repeat(cupy.arange(length), nu
thrust
nv-dlasalle
nv-dlasalle commented Mar 19, 2021

Problem

Cub allows itself to place into a namespace via CUB_NS_PREFIX and CUB_NS_POSTFIX, such that multiple shared libraries can each utilize their own copy of it (and thus different versions can safely coexist). Static variables used for caching could otherwise cause problems (e.g., https://github.com/NVIDIA/cub/blob/main/cub/util_device.cuh#L212).

Thrust however depends on cub and

beckernick
beckernick commented Mar 1, 2021

confusion_matrix should automatically convert dtypes as appropriate in order to avoid failing, like other metric functions.

from sklearn.metrics import confusion_matrix
import numpy as np
import cumly = np.array([0.0, 1.0, 0.0])
y_pred = np.array([0.0, 1.0, 1.0])
print(confusion_matrix(y, y_pred))
cuml.metrics.confusion_matrix(y, y_pred)
[[1 1]
 [0 1]]
----------------
futhark

Improve this page

Add a description, image, and links to the cuda topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the cuda topic, visit your repo's landing page and select "manage topics."

Learn more