Problem Note 69549: Training a SAS U-Net model with one or more GPUs might result in an error
When you train a SAS U-Net model with one ore more graphics processing units (GPUs) and the image height is not equal to the width, the following error message might occur:
ERROR: CUDA: an illegal memory access was encountered
ERROR: The action stopped due to errors.
Here is an example that shows the DLPy fit function where the width and height are different and gpu= is specified:
model = UNet(s,
n_classes=4,
n_channels=3,
width=512, height=256,
bn_after_convolutions=True,
output_image_type='BASE64') # 'BASE64', 'PNG', 'WIDE' (default)
model.fit(data='data_train',
valid_table='data_valid',
optimizer=optimizer,
data_specs=dataspecs,
n_threads=4,
force_equal_padding=False,
gpu=Gpu(devices=[0, 1]))
Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update. The hot fix is for Linux x64 only.
Operating System and Release Information
SAS System | SAS Visual Data Mining and Machine Learning | Linux for x64 | 8.5 | | Viya | |
Microsoft® Windows® for x64 | 8.5 | | Viya | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
In this scenario, the following error message might occur:
"ERROR: CUDA: an illegal memory access was encountered
ERROR: The action stopped due to errors."
Type: | Problem Note |
Priority: | high |
Date Modified: | 2022-09-29 10:18:42 |
Date Created: | 2022-09-14 10:39:24 |