Chia-Network / bladebit

A high-performance k32-only, Chia (XCH) plotter supporting in-RAM and disk-based plotting
Apache License 2.0
339 stars 109 forks source link

CUDA error: 700 (0x2bc) cudaErrorIllegalAddress : an illegal memory access was encountered #377

Open lidexin88 opened 10 months ago

lidexin88 commented 10 months ago

issue: Plot temporary file: /sdf/plot-k32-c07-2023-08-28-05-54-12afcabb53d466e1f4d80a47402cb1d479082cdec392ab0045a5d14a4e40d3c2.plot.tmp

Generating F1 Finished F1 in 21.25 seconds. CUDA error: 700 (0x2bc) cudaErrorIllegalAddress : an illegal memory access was encountered

Panic!!! Fatal Error:
CUDA error cudaErrorIllegalAddress : an illegal memory access was encountered. /chia/bladebit/build-release/bladebit_cuda(+0xef9ed)[0x55a735cef9ed] /chia/bladebit/build-release/bladebit_cuda(+0xef159)[0x55a735cef159] /chia/bladebit/build-release/bladebit_cuda(+0x53c07)[0x55a735c53c07] /chia/bladebit/build-release/bladebit_cuda(+0x18852)[0x55a735c18852] /chia/bladebit/build-release/bladebit_cuda(+0x1b34f)[0x55a735c1b34f] /chia/bladebit/build-release/bladebit_cuda(+0x16bfc)[0x55a735c16bfc] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f37c802dc87] /chia/bladebit/build-release/bladebit_cuda(+0x180ca)[0x55a735c180ca]

system:Ubuntu18.04, soft:3.0.0-alpha3-dev --------------------------------------------------------------------------------------+ | NVIDIA-SMI 535.98 Driver Version: 535.98 CUDA Version: 12.2 | |-----------------------------------------+----------------------+----------------------+ | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================+======================+======================| | 0 NVIDIA GeForce RTX 3070 On | 00000000:04:00.0 Off | N/A | | 0% 37C P8 14W / 100W | 2MiB / 8192MiB | 0% Default | | | | N/A |

lidexin88 commented 10 months ago

Bladebit Chia Plotter Version : 3.0.0-alpha3-dev Git Commit : xxxxxxxxxxxxxxxxx Compiled With: gcc 7.5.0

[Global Plotting Config] Will create 1 plots. Thread count : 40 Warm start enabled : false NUMA disabled : false CPU affinity disabled : false Farmer public key : xxxxxxxxxxxxxxxxxxxxxxxx Pool contract address : xxxxxxxxxxxxxxxxxxxx Compression Level : 7 Benchmark mode : disabled

[Bladebit CUDA Plotter] Selected cuda device 0 : NVIDIA GeForce RTX 3070 CUDA Compute Capability : 8.6 SM count : 46 Max blocks per SM : 16 Max threads per SM : 1536 Async Engine Count : 2 L2 cache size : 4.00 MB L2 persist cache max size : 3.00 MB Stack Size : 1.00 KB Memory: Total : 7.79 GB Free : 7.63 GB

Allocating buffers (this may take a few seconds)... Kernel RAM required : 90240524288 bytes ( 86060.07 MiB or 84.04 GiB ) Intermediate RAM required : 2999001088 bytes ( 2860.07 MiB or 2.79 GiB ) Host RAM required : 141733920768 bytes ( 135168.00 MiB or 132.00 GiB ) Total Host RAM required : 231974445056 bytes ( 221228.07 MiB or 216.04 GiB ) GPU RAM required : 6140243968 bytes ( 5855.79 MiB or 5.72 GiB ) Allocating buffers