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

one-step install script with vanilla pt2.4 by default #850

Closed
wants to merge 3 commits into from

Conversation

zyaoj
Copy link
Contributor

@zyaoj zyaoj commented Nov 6, 2024

What does this PR do? Please describe:
Add an one-step installation script with vanilla PT 2.4.

Fixes #848

Does your PR introduce any breaking changes? If yes, please list them:
List of all backwards-incompatible changes.

Check list:

  • Was the content of this PR discussed and approved via a GitHub issue? (no need for typos or documentation improvements)
  • Did you read the contributor guideline?
  • Did you make sure that your PR does only one thing instead of bundling different changes together?
  • Did you make sure to update the documentation with your changes? (if necessary)
  • Did you write any new necessary tests?
  • Did you verify new and existing tests pass locally with your changes?
  • Did you update the CHANGELOG? (no need for typos, documentation, or minor internal changes)

Example

$ ./tools/install_basic.sh fairseq2_public_install --skip-apex
Creating 'fairseq2_public_install' Conda environment with PyTorch 2.4.0 and CUDA 12.1...
Channels:
 - conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: done

<-- SKIP -->

Done!
To activate the environment, run 'conda activate fairseq2_public_install'.
To deactivate the environment, run 'conda deactivate'.
To delete the environment, run 'rm -rf /private/home/$USER/fairseq2/envs/fairseq2_public_install; rm -rf /private/home/$USER/miniconda3/envs/fairseq2_public_install'.
$ conda run -n fairseq2_public_install --live-stream fairseq2 assets list | grep llama3_1_8b
   - model:llama3_1_8b
   - model:llama3_1_8b_instruct
   - tokenizer:llama3_1_8b
   - tokenizer:llama3_1_8b_instruct
   - model:llama3_1_8b@awscluster
   - model:llama3_1_8b_instruct@faircluster
   - model:llama3_1_8b_instruct@awscluster
   - tokenizer:llama3_1_8b@awscluster
   - tokenizer:llama3_1_8b_instruct@faircluster
   - tokenizer:llama3_1_8b_instruct@awscluster

@zyaoj zyaoj requested a review from cbalioglu as a code owner November 6, 2024 15:55
@zyaoj zyaoj self-assigned this Nov 6, 2024
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 6, 2024
@zyaoj zyaoj requested a review from uralik November 6, 2024 15:56
@zyaoj
Copy link
Contributor Author

zyaoj commented Nov 6, 2024

We will not to one-step installer for public-facing for now.

@zyaoj zyaoj closed this Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add GSM8K recipe examples
2 participants