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
Create a Dockerfile called testsegfault.Dockerfile, containing
FROM komputebuilderpython
RUN git clone https://github.com/EthicalML/vulkan-kompute.git /builder/vulkan-kompute --recursive
WORKDIR /builder/vulkan-kompute
RUN python3 -m pip install numpy
RUN python3 setup.py install
RUN python3 -c "import kp"
docker build -f testsegfault.Dockerfile .
Notes
Using Method 2, it doesn't segfault if you replace FROM python:3.9.5-buster to FROM python:3.8.10-buster.
Version
Status
python:3.9.5-buster
Segfault
python:3.8.10-buster
Fine
python:3.7.10-buster
FIne
I couldn't reproduce the issue on Windows.
System Info
macOS
OS: macOS Big Sur 11.2.3
Architecture: arm64
CMake version: 3.19.6
Python version: 3.9
Ubuntu
OS: Ubuntu 20.04
Architecture: x86_64
CMake version: 3.20.1
Python version: 3.9
The text was updated successfully, but these errors were encountered:
Issue description
After installing
kp
,import kp
throws an error.Code example
Reproduce wth Docker
Method 1:
cd vulkan-kompute/docker-builders
docker build -t komputebuilder -f KomputeBuilder.Dockerfile .
testsegfault.Dockerfile
, containingdocker build -f testsegfault.Dockerfile .
Method 2:
cd vulkan-kompute/docker-builders
KomputeBuilderPython.Dockerfile
containingdocker build -t komputebuilderpython -f KomputeBuilderPython.Dockerfile .
testsegfault.Dockerfile
, containingdocker build -f testsegfault.Dockerfile .
Notes
Using Method 2, it doesn't segfault if you replace
FROM python:3.9.5-buster
toFROM python:3.8.10-buster
.I couldn't reproduce the issue on Windows.
System Info
macOS
Ubuntu
The text was updated successfully, but these errors were encountered: