Skip to content

feat(recipies): add deepseek v3.1 recipe - #57

Open
aghilann wants to merge 4 commits into
mainfrom
dsv3
Open

feat(recipies): add deepseek v3.1 recipe#57
aghilann wants to merge 4 commits into
mainfrom
dsv3

Conversation

@aghilann

@aghilann aghilann commented Jan 14, 2026

Copy link
Copy Markdown
Contributor

When you attempt to load the model in from HF, it triggers a brief GPU memory spike which will OOM on a 4 Node Setup. This is the problematic line. I did not have time to run a profiler on this but I would try to debug this locally by loading in a debug HF model of DSV3 with 2 layers and run the profiler on it.

It will work on a 8 Node Setup but I then noticed I need to bump the expert parallelism to 64, once I did that in begin to train but at every epoch it was producing NaN for loss.


curl -LsSf https://astral.sh/uv/install.sh | sh

mkdir aghilan-workspace

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps user-workspace?

mkdir aghilan-workspace

cd aghilan-workspace
echo "Cloning torchtitan"

@rcano-baseten rcano-baseten Jan 15, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps "Cloning kingong (torchtitan fork)" or something

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fyi this pr isn't ready for review, I meant to make it draft

Comment on lines +11 to +17
# Configure git credentials if GITHUB_TOKEN is available
if [ -n "${GITHUB_TOKEN:-}" ]; then
echo "Configuring git credentials..."
git config --global credential.helper store
echo "https://aghilann:${GITHUB_TOKEN}@github.com" > ~/.git-credentials
chmod 600 ~/.git-credentials
git config --global url."https://aghilann:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this work for any user?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it does, actually realized you don't actually need this

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