Skip to content

Installing Torch in google colab after upgrading cmake, previously worked fine but give me "Error: Build error: Failed building" #1227

Open
@emnabou

Description

@emnabou

-- Found CUDA with FP16 support, compiling with torch.CudaHalfTensor
-- CUDA_NVCC_FLAGS: -D__CUDA_NO_HALF_OPERATORS__;-gencode;arch=compute_37,code=sm_37;-DCUDA_HAS_FP16=1
-- THC_SO_VERSION: 0
-- Performing Test HAS_LUAL_SETFUNCS
-- Performing Test HAS_LUAL_SETFUNCS - Failed
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_LIBRARY (ADVANCED)
linked by target "THC" in directory /content/Mydrive/torch/extra/cutorch/lib/THC

-- Configuring incomplete, errors occurred!
See also "/content/Mydrive/torch/extra/cutorch/build/CMakeFiles/CMakeOutput.log".
See also "/content/Mydrive/torch/extra/cutorch/build/CMakeFiles/CMakeError.log".

Error: Build error: Failed building.

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