grin-miner icon indicating copy to clipboard operation
grin-miner copied to clipboard

Unable to use 1080ti as device=1

Open bladedoyle opened this issue 6 years ago • 1 comments

My attempts to run the C31 plugin on device=1 fails because grin-miner attempts to run the plugin on device 0 even when I specify "device = 1" in the grin-miner.toml.

example:

From nvidia-smi:
0  GeForce RTX 2070
1  GeForce GTX 1080ti
[[mining.miner_plugin_config]]
plugin_name = "cuckatoo_mean_cuda_gtx_31"
[mining.miner_plugin_config.parameters]
device = 1
expand = 2
cpuload = 1
Feb 04 11:24:15.018 ERRO Plugin cuckatoo_mean_cuda_gtx_31 has errored, device: GeForce RTX 2070. Reason: Device 1 GPUassert: out of memory /home/bdoyle/dev/grin-miner/cuckoo-miner/src/cuckoo_sys/plugins/cuckoo/src/cuckatoo/mean.cu 429

So, the grin-miner is somehow using device 0 as if its device 1.

bladedoyle avatar Feb 04 '19 19:02 bladedoyle

I'm unsure if this is this still the case. Will have to investigate.

quentinlesceller avatar Mar 09 '20 11:03 quentinlesceller