Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT-LLM
/ from_json_file
Method
from_json_file
tensorrt_llm/builder.py:608–611 ·
view source on GitHub ↗
(cls, config_file)
Source
from the content-addressed store, hash-verified
606
607
@classmethod
608
def
from_json_file(cls, config_file):
609
with
open(config_file)
as
f:
610
config = json.load(f)
611
return
BuildConfig(**config)
612
613
614
class
EngineConfig:
Callers
5
_from_fp8_quantized_engine
Method · 0.45
test_save_load_config
Method · 0.45
eval_trt_llm
Function · 0.45
create_and_save_config
Function · 0.45
from_dir
Method · 0.45
Calls
2
BuildConfig
Class · 0.70
load
Method · 0.45
Tested by
2
_from_fp8_quantized_engine
Method · 0.36
test_save_load_config
Method · 0.36