Skip to content

failing engine building of llama-2 on V100 DGX #436

@abhinav-vimal13

Description

@abhinav-vimal13

build command:
python build.py --model_dir ./hf-llama-2-7b/ \ --dtype float16 \ --remove_input_padding
--use_gpt_attention_plugin float16
--use_gemm_plugin float16
--output_dir ./hf-llama-2-7b/trt_engines/fp16/1-gpu/

during building, I am getting Device memory is insufficient to use tactic issue and process getting killed automatically, can you please tell me about this.

[11/16/2023-04:25:27] [TRT] [W] Tactic Device request: 66048MB Available: 32510MB. Device memory is insufficient to use tactic.
[11/16/2023-04:25:27] [TRT] [W] UNSUPPORTED_STATESkipping tactic 0 due to insufficient memory on requested size of 66048 detected for tactic 0x0000000000000018.
[11/16/2023-04:25:27] [TRT] [W] Tactic Device request: 66048MB Available: 32510MB. Device memory is insufficient to use tactic.
[11/16/2023-04:25:28] [TRT] [W] UNSUPPORTED_STATESkipping tactic 1 due to insufficient memory on requested size of 66048 detected for tactic 0x0000000000000019.
[11/16/2023-04:25:28] [TRT] [W] Tactic Device request: 66048MB Available: 32510MB. Device memory is insufficient to use tactic.
[11/16/2023-04:25:28] [TRT] [W] UNSUPPORTED_STATESkipping tactic 2 due to insufficient memory on requested size of 66048 detected for tactic 0x000000000000001a.
[11/16/2023-04:25:28] [TRT] [W] Tactic Device request: 66048MB Available: 32510MB. Device memory is insufficient to use tactic.
[11/16/2023-04:25:28] [TRT] [W] UNSUPPORTED_STATESkipping tactic 3 due to insufficient memory on requested size of 66048 detected for ta

Metadata

Metadata

Assignees

Labels

triagedIssue has been triaged by maintainers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions