Closed sukamenev closed 2 months ago
Hello! I'm waiting for code review
I think this is the only fix. Once it is done I can merge it.
Also please run the tests.
Two of of tests don't working with simular errors not related to my fixes.
python tests/test_op.py --device privateuseone:1 python tests/validate_network.py --device privateuseone:1
Mean 1d
Traceback (most recent call last):
File "/home/inetstar/Kamenev/programming/ZenDnn/pytorch_dlprim/tests/test_op.py", line 282, in
My own application training network with my fixes without probles. I'm using PyTorch 1.13.1
python tests/test_op.py --device privateuseone:1
python tests/validate_network.py --device privateuseone:1
Ohh my bad fixed it you can pass --device ocl:1 instead
When tested, my code produces the same errors as yours (see Issues). I think the point is that my version of OpenCL (Rusticl on Linux: radeonsi, fiji, LLVM 17.0.6, DRM 3.54) may have some errors.
Although it passes all yours performance tests without errors.
bash benchark_all.sh
Output:
alexnet 52.907
resnet18 136.820
vgg16 Radeon
densenet161 653.560
inception_v3 260.392
mobilenet_v2 129.067
mobilenet_v3_small 49.416
mobilenet_v3_large 106.047
resnext50_32x4d 417.894
wide_resnet50_2 809.460
mnasnet1_0 114.950
efficientnet_b0 174.637
efficientnet_b4 407.656
regnet_y_400mf 94.731
Please try running my code test on your computer. I think everything will be great.
I merged your changes and fixed the issue in concat + added tests for concat.
Thanks for contribution
Wow amazing. I had no guts to do so much fixes!
I'll go over it ASAP and merge!
Thanks!