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

Bunch of changes: GPTneoX for more methods, added Wandb, reorganized, compute optimized modify llama #10

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from

Conversation

prajwal1210
Copy link
Contributor

No description provided.

@prajwal1210 prajwal1210 requested a review from siddharth9820 May 6, 2024 22:08
@siddharth9820
Copy link
Contributor

pushed a basic outline for the inference benchmark.

To run - torchrun --nproc_per_node 4 infer.py --model-id ..

@siddharth9820
Copy link
Contributor

@prajwal1210 commands to run the text generation benchmark -

HF Baseline
torchrun --nproc_per_node 1 infer.py --prompt-length 128 --gen-length 16 --batch-size 1 --seed 42

PCA TOPK (unoptimized)
torchrun --nproc_per_node 1 infer.py --prompt-length 128 --gen-length 16 --batch-size 1 --seed 42 --method pca-topk

PCA TOPK (optimized)
torchrun --nproc_per_node 1 infer.py --prompt-length 128 --gen-length 16 --batch-size 1 --seed 42 --method pca-topk --use-optimized-code

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

Successfully merging this pull request may close these issues.

2 participants