You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:Your_Python_site-packages/jaxlib # Some functions defined in xla_extension.so are needed by libitex_xla_extension.so
40
40
41
-
$ export ONEDNN_VERBOSE=1 # Optional variable setting. Enable onednn verbose to check if it runs on GPU.
side = jax.random.uniform(key, (1,1,1,1), jnp.float32)
54
+
out = jax.lax.conv_with_general_padding(lhs, rhs, (1,1), ((0,0),(0,0)), (1,1), (1,1))
55
+
out = jax.nn.relu(out)
56
+
out = jnp.multiply(out, side)
57
+
return out
58
+
59
+
print(lax_conv())
52
60
```
53
61
***Reference result:**
54
62
```
55
-
onednn_verbose,info,oneDNN v3.1.0 (commit xxxx)
56
-
onednn_verbose,info,cpu,runtime:DPC++,nthr:1
57
-
onednn_verbose,info,cpu,isa:Intel 64
58
-
onednn_verbose,info,gpu,runtime:DPC++
59
-
onednn_verbose,info,cpu,engine,0,backend:OpenCL,name:Intel(R) Xeon(R) Gold 6346 CPU @ 3.10GHz,driver_version:2022.15.12,binary_kernels:disabled
60
-
onednn_verbose,info,gpu,engine,0,backend:Level Zero,name:Intel(R) Data Center GPU Flex Series 170 [0x56c0],driver_version:1.3.25018,binary_kernels:enabled
61
-
onednn_verbose,info,gpu,engine,1,backend:Level Zero,name:Intel(R) Data Center GPU Flex Series 170 [0x56c0],driver_version:1.3.25018,binary_kernels:enabled
62
-
onednn_verbose,info,experimental features are enabled
63
-
onednn_verbose,info,use batch_normalization stats one pass is enabled
64
-
onednn_verbose,info,experimental functionality for sparse domain is enabled
I itex/core/devices/gpu/itex_gpu_runtime.cc:129] Selected platform: Intel(R) Level-Zero
64
+
I itex/core/compiler/xla/service/service.cc:176] XLA service 0x56060b5ae740 initialized for platform sycl (this does not guarantee that XLA will be used). Devices:
65
+
I itex/core/compiler/xla/service/service.cc:184] StreamExecutor device (0): <undefined>, <undefined>
66
+
I itex/core/compiler/xla/service/service.cc:184] StreamExecutor device (1): <undefined>, <undefined>
0 commit comments