Skip to content

Segmentation fault(core dumped) when using lightGBM model with num_iterations=1600 #77

Description

@dragonbra

I tried to compile my model with lleaves

llvm_model = lleves.Model(model_file='model_at_iteration_1600.txt')
llvm.compile(cache='./lleaves_1600.o')

it tooks 13 min to compile, and when I use it to predict Xmat with shape(3831, 1111), it failed

preds = llvm_model.predict(Xmat)

Segmentation_fault (core dumped)

Is it because the lgbm_model is too large?
I have already kept only 1600 trees of 25000 in the model. For each tree, I set max_depth = 7 and num_leaves = 64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions