Skip to content

Git errors with long file paths on Windows #279

@dian-nikolov-chaos

Description

@dian-nikolov-chaos

Some of the external library paths become too long if uploaded directly into a git repository and another user tries to check them out locally:

error: unable to create file oidn/external/composable_kernel/library/src/tensor_operation_instance/gpu/gemm_multiply_multiply/device_gemm_multiply_multiply_xdl_f8_f8_bf16/device_gemm_multiply_multiply_xdl_f8_f8_bf16_mk_nk_mn_comp_mfma16x16_kpadding_instance_part1.cpp: Filename too long

A workaround for this is enabling long path support like:

git config core.longpaths true
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled = 1

but if this could be improved in OIDN, it would be nice.

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