mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 11:54:52 +00:00
Update test.
This commit is contained in:
parent
aae9d6faf7
commit
193eae246c
@ -14,7 +14,7 @@ def test_convert_files():
|
|||||||
local_st_files = [
|
local_st_files = [
|
||||||
p.parent / f"{p.stem.lstrip('pytorch_')}.safetensors" for p in local_pt_files
|
p.parent / f"{p.stem.lstrip('pytorch_')}.safetensors" for p in local_pt_files
|
||||||
]
|
]
|
||||||
convert_files(local_pt_files, local_st_files)
|
convert_files(local_pt_files, local_st_files, discard_names=[])
|
||||||
|
|
||||||
found_st_files = weight_files(model_id)
|
found_st_files = weight_files(model_id)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user