Open narendrachaudhary51 opened 6 months ago
self.context = mod.init_context(self.get_sycl_queue()) TypeError: an integer is required**
This looks like version mismatch for PyTorch/IPEX. There is scripts/compile-pytorch-ipex.sh
to build/install proper versions. You can also run scripts/test-triton.sh
after building Triton, this script should install dependencies (including PyTorch and IPEX) and run tests to make sure everything works fine.
You also can install pre-built wheels that we build nightly and attach as artifacts to this workflow: https://github.com/intel/intel-xpu-backend-for-triton/actions/workflows/nightly-wheels.yml. For example, the latest run: https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/8824466261.
Hi @ienkovich, I was not able to build compile the pytorch and ipex. It gave me an error during the build.
Thanks, @pbchekin I will try with the wheels.
on Machine 2 - I was able build/install the latest version of pytorch and ipex with scripts/test-triton.sh. I was also able to run the examples and tutorials. The wheels didn't work for me due to GLIBC version mismatch.
I am still facing installation errors on the first machine.
The wheels didn't work for me due to GLIBC version mismatch.
We currently support only Ubuntu 22.04 for the nightly wheels, with other Linux distributions or Ubuntu versions you may have GLIBC version mismatch. What OS did you use?
@narendrachaudhary51, few comments on Machine 1 and 2 configurations:
@vlad-penkin Thanks for your response.
@narendrachaudhary51
In #1110 I am also encountering the same TypeError: an integer is required
, while running ubuntu 22.04 and using glibc-2.35 . I installed latest ipex and corresponding torch release using conda, and the 3.0.0b2 triton released wheel from this repository using pip in the same conda env.
Hi,
I have tried to install intel-xpu-backend-for-triton on several machines. But I am not able to get it installed and get it working. These are the following configurations that I have tried.
I got the following error log when running the scripts/compile-triton.sh file. error.log
Hardware on cluster - [0]: _DeviceProperties(name='Intel(R) Data Center GPU Max 1550', platform_name='Intel(R) Level-Zero', dev_type='gpu, support_fp64=1, total_memory=65536MB, max_compute_units=448, gpu_eu_count=448)
Hardware on cluster - [0]: _DeviceProperties(name='Intel(R) Data Center GPU Max 1100', platform_name='Intel(R) Level-Zero', dev_type='gpu, support_fp64=1, total_memory=49152MB, max_compute_units=448, gpu_eu_count=448) [1]: _DeviceProperties(name='Intel(R) Data Center GPU Max 1100', platform_name='Intel(R) Level-Zero', dev_type='gpu, support_fp64=1, total_memory=49152MB, max_compute_units=448, gpu_eu_count=448)
Please also add instructions to install the repo on clusters that do not have internet connections and/or sudo access.