Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HuggingFace arg so that arch is automatic #1

Open
Quentin-Anthony opened this issue Dec 20, 2023 · 3 comments
Open

Add HuggingFace arg so that arch is automatic #1

Quentin-Anthony opened this issue Dec 20, 2023 · 3 comments

Comments

@Quentin-Anthony
Copy link
Member

Stas Bekman had the idea of supporting a HuggingFace model as input so that all model architecture settings don't need manually dug up. We'd like something like:

python transformer_mem.py --hf_model_name_or_path meta-llama/Llama-2-7b-hf --num-gpus 8 --zero-stage 3 --batch-size-per-gpu 2 --sequence-length 4096
@bhavnicksm
Copy link
Contributor

Hey @Quentin-Anthony,
is someone working on this? If not, I can try to make a PR for this.

@Quentin-Anthony
Copy link
Member Author

Nobody is. I'd love a PR!

@bhavnicksm
Copy link
Contributor

bhavnicksm commented May 8, 2024

@Quentin-Anthony, created a draft PR, we can continue the conversation there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants