Skip to content

GPT-J(CUDA with Docker)failing with "Failed building wheel for pycuda" #571

@barsha-barua-sndk

Description

@barsha-barua-sndk

Command run
mlcr run-mlperf,inference,_find-performance,_full,_r5.0-dev
--model=gptj-99
--implementation=nvidia
--framework=tensorrt
--category=edge
--scenario=Offline
--execution_mode=test
--device=cuda
--docker --quiet
--test_query_count=50 --rerun

Please find the terminal log:

GPTJ-99_pycudafail.txt

Highlighting the main failure:
L/usr/lib/stubs -L/usr/lib64/stubs -L/usr/lib/x86_64-linux-gnu -lcuda -lcurand -o build/lib.linux-x86_64-cpython-310/pycuda/_driver.cpython-310-x86_64-linux-gnu.so
/usr/bin/ld: cannot find /root/MLC/repos/local/cache/install-cuda-prebuilt_b949f23d/install/lib64: file format not recognized
collect2: error: ld returned 1 exit status
error: command '/usr/bin/x86_64-linux-gnu-g++' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pycuda
Failed to build pycuda
ERROR: Could not build wheels for pycuda, which is required to install pyproject.toml-based projects

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions