Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to open serialized model file: models/dali/1/model.dali #144

Open
wurthel opened this issue Jul 14, 2022 · 2 comments
Open

Failed to open serialized model file: models/dali/1/model.dali #144

wurthel opened this issue Jul 14, 2022 · 2 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@wurthel
Copy link

wurthel commented Jul 14, 2022

Hello!

I'm trying to use autoserialization feature: taking the pipeline definition and config from this example, but it doesn't work. Triton tries to load the model, but then fails:

I0714 12:40:59.798507 1 dali_model.h:92] Loading DALI pipeline from file models/dali/1/model.dali
E0714 12:40:59.798660 1 dali_model.cc:32] Failed to open serialized model file: models/dali/1/model.dali
I0714 12:40:59.798695 1 dali_backend.cc:169] TRITONBACKEND_ModelFinalize: delete model state
E0714 12:40:59.798719 1 model_repository_manager.cc:1348] failed to load 'dali' version 1: Unknown: DALI Backend error: Failed to open serialized model file: models/dali/1/model.dali

Triton image I use: nvcr.io/nvidia/tritonserver:22.06-py3

@wurthel
Copy link
Author

wurthel commented Jul 15, 2022

Also tested it using the latest version of dali_backend (built from docker build section). Same behaviour.

UPD
Model loading works correctly if I do serialization manually and then put the model.dali file into the model repo.

@szalpal
Copy link
Member

szalpal commented Jul 25, 2022

Hi @wurthel !

Apologies for the late response.

Could you give any more details about your use case? It's hard to figure out the reason without them. Maybe you could paste more logs from the server? --log-verbose=1 option would come in handy here.

@szalpal szalpal added the help wanted Extra attention is needed label Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Development

No branches or pull requests

2 participants