Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abort (core dumped) on Triton tutorial with nightly wheels #1113

Open
pbchekin opened this issue Nov 21, 2024 · 3 comments
Open

Abort (core dumped) on Triton tutorial with nightly wheels #1113

pbchekin opened this issue Nov 21, 2024 · 3 comments
Assignees
Milestone

Comments

@pbchekin
Copy link

🐛 Describe the bug

Execute Triton XPU tutorial:

https://raw.githubusercontent.com/intel/intel-xpu-backend-for-triton/refs/heads/main/python/tutorials/01-vector-add.py
python 01-vector-add.py

Result:

terminate called after throwing an instance of 'sycl::_V1::exception'
  what():  Native API failed. Native API returns: 37 (UR_RESULT_ERROR_UNINITIALIZED)
Aborted (core dumped)

Versions

Collecting environment information...
PyTorch version: 2.6.0.dev20241118+xpu
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.5 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: version 3.22.1
Libc version: glibc-2.35

Python version: 3.9.20 | packaged by conda-forge | (main, Sep 30 2024, 17:49:10) [GCC 13.3.0] (64-bit runtime)
Python platform: Linux-5.15.0-124-generic-x86_64-with-glibc2.35
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 52 bits physical, 57 bits virtual
Byte Order: Little Endian
CPU(s): 128
On-line CPU(s) list: 0-127
Vendor ID: GenuineIntel
Model name: Intel(R) Xeon(R) Gold 6438Y+
CPU family: 6
Model: 143
Thread(s) per core: 2
Core(s) per socket: 32
Socket(s): 2
Stepping: 8
CPU max MHz: 4000.0000
CPU min MHz: 800.0000
BogoMIPS: 4000.00
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cat_l2 cdp_l3 invpcid_single cdp_l2 ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect avx_vnni avx512_bf16 wbnoinvd dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b enqcmd fsrm md_clear serialize tsxldtrk pconfig arch_lbr amx_bf16 avx512_fp16 amx_tile amx_int8 flush_l1d arch_capabilities
Virtualization: VT-x
L1d cache: 3 MiB (64 instances)
L1i cache: 2 MiB (64 instances)
L2 cache: 128 MiB (64 instances)
L3 cache: 120 MiB (2 instances)
NUMA node(s): 2
NUMA node0 CPU(s): 0-31,64-95
NUMA node1 CPU(s): 32-63,96-127
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected

Versions of relevant libraries:
[pip3] numpy==2.0.2
[pip3] pytorch-triton-xpu==3.1.0+91b14bf559
[pip3] torch==2.6.0.dev20241118+xpu
[conda] numpy 2.0.2 pypi_0 pypi
[conda] pytorch-triton-xpu 3.1.0+91b14bf559 pypi_0 pypi
[conda] torch 2.6.0.dev20241118+xpu pypi_0 pypi

@riverliuintel riverliuintel added this to the PT2.6 milestone Nov 22, 2024
@riverliuintel
Copy link
Contributor

riverliuintel commented Nov 22, 2024

@ratnampa prioritize this bug fix

@riverliuintel riverliuintel assigned ratnampa and unassigned xytintel Nov 22, 2024
@ratnampa
Copy link
Contributor

@pbchekin can you please share the output of env vars.

@pbchekin
Copy link
Author

pbchekin commented Nov 22, 2024

@pbchekin can you please share the output of env vars.

SHELL=/bin/bash
TBBROOT=/opt/intel/oneapi/tbb/2022.0/env/..
ONEAPI_ROOT=/opt/intel/oneapi
CONDA_EXE=/home/jovyan/.conda/bin/conda
_CE_M=
PKG_CONFIG_PATH=/opt/intel/oneapi/tbb/2022.0/env/../lib/pkgconfig:/opt/intel/oneapi/mpi/2021.14/lib/pkgconfig:/opt/intel/oneapi/mkl/2025.0/lib/pkgconfig:/opt/intel/oneapi/dpl/2022.7/lib/pkgconfig:/opt/intel/oneapi/dnnl/2025.0/lib/pkgconfig:/opt/intel/oneapi/compiler/2025.0/lib/pkgconfig:/opt/intel/oneapi/ccl/2021.14/lib/pkgconfig/
HOSTNAME=jupyter-pchekin
CCL_ROOT=/opt/intel/oneapi/ccl/2021.14
I_MPI_ROOT=/opt/intel/oneapi/mpi/2021.14
FI_PROVIDER_PATH=/opt/intel/oneapi/mpi/2021.14/opt/mpi/libfabric/lib/prov:/usr/lib/x86_64-linux-gnu/libfabric
DNNLROOT=/opt/intel/oneapi/dnnl/2025.0
DIAGUTIL_PATH=/opt/intel/oneapi/compiler/2025.0/etc/compiler/sys_check/sys_check.sh
PWD=/home/jovyan/intel-xpu-backend-for-triton/python/tutorials
CCL_CONFIGURATION=cpu_gpu_dpcpp
DPL_ROOT=/opt/intel/oneapi/dpl/2022.7
CONDA_PREFIX=/home/jovyan/.conda/envs/t310
MANPATH=/opt/intel/oneapi/mpi/2021.14/share/man:/opt/intel/oneapi/debugger/2025.0/share/man:/opt/intel/oneapi/compiler/2025.0/share/man:
MEM_GUARANTEE=1073741824
TCM_ROOT=/opt/intel/oneapi/tcm/1.2
LINES=72
HOME=/home/jovyan
GDB_INFO=/opt/intel/oneapi/debugger/2025.0/share/info/
CCL_CONFIGURATION_PATH=
COLUMNS=287
SETVARS_COMPLETED=1
CONDA_PROMPT_MODIFIER=(t310) 
CMAKE_PREFIX_PATH=/opt/intel/oneapi/tbb/2022.0/env/..:/opt/intel/oneapi/pti/0.10/lib/cmake/pti:/opt/intel/oneapi/mkl/2025.0/lib/cmake:/opt/intel/oneapi/dpl/2022.7/lib/cmake/oneDPL:/opt/intel/oneapi/dnnl/2025.0/lib/cmake:/opt/intel/oneapi/compiler/2025.0
CMPLR_ROOT=/opt/intel/oneapi/compiler/2025.0
Pti_DIR=/opt/intel/oneapi/pti/0.10/lib/cmake/pti
INFOPATH=/opt/intel/oneapi/debugger/2025.0/share/info
TERM=xterm-256color
_CE_CONDA=
USER=jovyan
UMF_ROOT=/opt/intel/oneapi/umf/0.9
LIBRARY_PATH=/opt/intel/oneapi/tcm/1.2/lib:/opt/intel/oneapi/umf/0.9/lib:/opt/intel/oneapi/tbb/2022.0/env/../lib/intel64/gcc4.8:/opt/intel/oneapi/pti/0.10/lib:/opt/intel/oneapi/mpi/2021.14/lib:/opt/intel/oneapi/mkl/2025.0/lib:/opt/intel/oneapi/dnnl/2025.0/lib:/opt/intel/oneapi/compiler/2025.0/lib:/opt/intel/oneapi/ccl/2021.14/lib/
CONDA_SHLVL=3
SHLVL=0
PYXTERM_DIMENSIONS=80x25
OCL_ICD_FILENAMES=/opt/intel/oneapi/compiler/2025.0/lib/libintelocl.so
CLASSPATH=/opt/intel/oneapi/mpi/2021.14/share/java/mpi.jar
CONDA_PYTHON_EXE=/home/jovyan/.conda/bin/python
LD_LIBRARY_PATH=/opt/intel/oneapi/tcm/1.2/lib:/opt/intel/oneapi/umf/0.9/lib:/opt/intel/oneapi/tbb/2022.0/env/../lib/intel64/gcc4.8:/opt/intel/oneapi/pti/0.10/lib:/opt/intel/oneapi/mpi/2021.14/opt/mpi/libfabric/lib:/opt/intel/oneapi/mpi/2021.14/lib:/opt/intel/oneapi/mkl/2025.0/lib:/opt/intel/oneapi/dnnl/2025.0/lib:/opt/intel/oneapi/debugger/2025.0/opt/debugger/lib:/opt/intel/oneapi/compiler/2025.0/opt/compiler/lib:/opt/intel/oneapi/compiler/2025.0/lib:/opt/intel/oneapi/ccl/2021.14/lib/:/home/jovyan/.conda/envs/t310/lib
LC_CTYPE=C.UTF-8
CONDA_DEFAULT_ENV=t310
MKLROOT=/opt/intel/oneapi/mkl/2025.0
NLSPATH=/opt/intel/oneapi/compiler/2025.0/lib/compiler/locale/%l_%t/%N
PATH=/opt/intel/oneapi/mpi/2021.14/bin:/opt/intel/oneapi/mkl/2025.0/bin:/opt/intel/oneapi/dev-utilities/2025.0/bin:/opt/intel/oneapi/debugger/2025.0/opt/debugger/bin:/opt/intel/oneapi/compiler/2025.0/bin:/home/jovyan/.conda/envs/t310/bin:/home/jovyan/.conda/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
INTEL_PYTHONHOME=/opt/intel/oneapi/debugger/2025.0/opt/debugger
CONDA_PREFIX_1=/home/jovyan/.conda
CONDA_PREFIX_2=/home/jovyan/.conda/envs/python-3.9
CPATH=/opt/intel/oneapi/umf/0.9/include:/opt/intel/oneapi/tbb/2022.0/env/../include:/opt/intel/oneapi/pti/0.10/include:/opt/intel/oneapi/mpi/2021.14/include:/opt/intel/oneapi/mkl/2025.0/include:/opt/intel/oneapi/dpl/2022.7/include:/opt/intel/oneapi/dnnl/2025.0/include:/opt/intel/oneapi/dev-utilities/2025.0/include:/opt/intel/oneapi/ccl/2021.14/include

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants