Skip to content

AZD Infra with AI Foundry, DeepSeek and AML GPU Compute #12

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

Merged
merged 9 commits into from
Apr 28, 2025
Merged

Conversation

cedricvidal
Copy link
Contributor

@cedricvidal cedricvidal commented Apr 25, 2025

AZD Infra

  • AI Foundry hub project
  • deepseek model end point
  • compute in Azure Foundry Compute
  • This will create a ML workspace
  • Permissions to compute for the user
  • Export env vars for notebooks
  • Notebooks load env vars from azd env
  • A100 GPU compute instead of CPU

Note

Deploying CPU instance for now to speed up iterating on this PR, will replace with GPU instance at the end

Note

The TEACHER_MODEL_ENDPOINT previously ended with /models
I removed the /models suffix from the env var exported by AZD becuse it is not available per se in AZD. It is now added just before using the Azure AI Inference SDK

Test

azd up

Open notebook 1 and run cells until it prints the values of the env vars like so:

Teacher Model Name: DeepSeek-V3
Teacher Model Endpoint: https://southcentralus.api.cognitive.microsoft.com/
Teacher Model API Key loaded: Yes

@cedricvidal cedricvidal changed the title Azd infra AZD Infra with AI Foundry, DeepSeek and AML GPU Compute Apr 25, 2025
@cedricvidal cedricvidal marked this pull request as ready for review April 25, 2025 20:08
@cedricvidal cedricvidal requested review from leestott and kinfey April 25, 2025 20:08
@leestott leestott merged commit ae21cc9 into main Apr 28, 2025
1 check passed
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