Traceback (most recent call last):
File "to_hf_weights.py", line 498, in <module>
save_config_to_hf_format(params, torch_dtype, output_path)
File "to_hf_weights.py", line 457, in save_config_to_hf_format
with open(output_path / "config.json", "w") as `file:`
FileNotFoundError: [Errno 2] No such file or directory: 'gs://mybucket/hf_slim/config.json'
The pytorch_model.bin file in the same folder has been written correctly, so the path is correct.
I'm trying to convert my slim weights to the hf pytorch weights with a gs bucket as output_path and it crashes when writing the json config:
The pytorch_model.bin file in the same folder has been written correctly, so the path is correct.
Any ideas?