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

[Examples] PyTorch (train and inference), TGI and TEI (inference) #40

Closed
13 of 14 tasks
alvarobartt opened this issue Jun 10, 2024 · 1 comment
Closed
13 of 14 tasks
Assignees
Labels

Comments

@alvarobartt
Copy link
Member

alvarobartt commented Jun 10, 2024

As part of our collaboration with Google Cloud and following up #2 to create the Deep Learning Containers (DLCs) for both Google Kubernetes Engine (GKE) and Vertex AI, we want to create dedicated examples per each alternative offered.

The examples to be created and included within this repository are listed below and divided in two categories:

Edit: updated as of Philipp's comment below!

Note

This issue assumes that the DLCs are already created and can be used as containers for the examples described above.

@alvarobartt alvarobartt self-assigned this Jun 10, 2024
@philschmid
Copy link
Member

philschmid commented Jun 10, 2024

Additionally, we should create examples for

  • Training (GKE)
    • fine-tune (SFT) an LLM via TRL's CLI using QLoRA on a single GPU
    • fine-tune (SFT) an LLM via TRL's CLI using QLoRA on N GPUs (N > 1) via accelerate
  • Inference
    • Vertex AI
      • TGI via a pre-built DLC (on GPU) loading fine-tuned model from GCS
    • GKE
      • TGI via a pre-built DLC (on GPU) loading fine-tuned model from GCS

Note

We already have a few examples covering some of those topics. Lets try to reuse most of them and rather update them then creating new versions.

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

No branches or pull requests

2 participants