meta-llama / llama-models

Utilities intended for use with Llama models.
Other
4.88k stars 838 forks source link

Add a symlink for llama_models #201

Closed ashwinb closed 3 weeks ago

ashwinb commented 3 weeks ago

A much more lightweight attempt to make sure the llama-models package is "correct" -- i.e., it has an expected llama_models sub-directory. There are a few downstream workflows where the repository is merely checked out (without a corresponding pip install -e) and it is expected that from llama_models.<foo> works by just setting a PYTHONPATH.

Test Plan Produced a package with python -m build and then installed it in a fresh conda environment.

Checked that $CONDA_PREFIX/lib/.../site-packages/llama_models contained expected package structure namely:

datatypes.py  __init__.py  llama3/  llama3_1/  llama3_2/  prompt_format.py  __pycache__/  schema_utils.py  scripts/  sku_list.py
github-actions[bot] commented 3 weeks ago
30 passed