Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT-LLM
/ to_json_file
Function
to_json_file
tensorrt_llm/_utils.py:663–665 ·
view source on GitHub ↗
(obj, json_file_path)
Source
from the content-addressed store, hash-verified
661
662
663
def
to_json_file(obj, json_file_path):
664
with
open(json_file_path,
"w"
, encoding=
"utf-8"
)
as
writer:
665
writer.write(to_json_string(obj))
666
667
668
def
numpy_fp32_to_bf16(src):
Callers
4
lora_convert
Function · 0.90
build_phi_engine
Function · 0.90
build_phi4mm_engine
Function · 0.90
save_config
Method · 0.85
Calls
1
to_json_string
Function · 0.85
Tested by
no test coverage detected