You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
conda create -c conda-forge python=3.10 -n fedml
conda activate fedml
pip install fedml
fedml model create -n hf_model -m hf:EleutherAI/pythia-70m
fails with the following error:
Traceback (most recent call last):
File "/Users/artur/miniforge3/envs/fedml/bin/fedml", line 8, in <module>
sys.exit(cli())
File "/Users/artur/miniforge3/envs/fedml/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/Users/artur/miniforge3/envs/fedml/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/Users/artur/miniforge3/envs/fedml/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/artur/miniforge3/envs/fedml/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/artur/miniforge3/envs/fedml/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/artur/miniforge3/envs/fedml/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/Users/artur/miniforge3/envs/fedml/lib/python3.10/site-packages/fedml/cli/modules/model.py", line 42, in fedml_model_create
fedml.api.model_create(name, model, model_config)
File "/Users/artur/miniforge3/envs/fedml/lib/python3.10/site-packages/fedml/api/__init__.py", line 244, in model_create
model_module.create(name, model, model_config)
File "/Users/artur/miniforge3/envs/fedml/lib/python3.10/site-packages/fedml/api/modules/model.py", line 17, in create
if create_from_hf(name, model[3:]):
File "/Users/artur/miniforge3/envs/fedml/lib/python3.10/site-packages/fedml/api/modules/model.py", line 55, in create_from_hf
shutil.copytree(hf_templ_fd_src, dst_fd)
File "/Users/artur/miniforge3/envs/fedml/lib/python3.10/shutil.py", line 557, in copytree
with os.scandir(src) as itr:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/artur/miniforge3/envs/fedml/lib/python3.10/site-packages/fedml/api/modules/../../serving/templates/hf_template'
Tried to follow the steps provided in https://doc.fedml.ai/deploy/quickstart.
Steps to reproduce:
pip freeze:
The text was updated successfully, but these errors were encountered: