Skip to content

Conversation

@jimburtoft
Copy link
Contributor

Description of changes:
This is to synchronize with changes to the Neuron Workshop to adjust how it is deployed. Previously in the workshop environment, we did a "git clone" but then moved the labs directory into ~/environment. This causes problems in the Chess workshop when we wanted to make changes and have people "git pull" updates after deployment. It has also been a perpetual problem for testing and for using the git repo outside of the workshop environment because of the path differences.

So we will change the workshop to just clone the repo, and then all these paths should work.

I also added the first steps for notebook testing, as well as a few minor changes (outputting the training path in a print statement where it was missing, and including a list of working libraries from the 2.25 training environment in case we need to troubleshoot library shifts again).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Ubuntu and others added 22 commits December 10, 2025 18:24
- Add nbval-based testing for all notebooks in labs/
- Include timeout configurations per notebook category
- Add test runner script with HTML reporting
- Add GitHub Actions workflow for CI/CD
- Remove parallel execution to avoid Neuron device conflicts
- Assume Neuron SDK environment is always available

Testing categories:
- NxD: 30min timeout for model compilation
- FineTuning: 60min timeout for training
- vLLM: 30min timeout for server setup
- NKI: 15min timeout for kernel development
- Update run_tests.sh to handle directory navigation automatically
- Remove parallel execution completely to avoid Neuron device conflicts
- Simplify test discovery to work with nbval directly
- Verified framework works: discovered 145 test items, executed for 31 minutes
- Found 1 real failure in FT-Qwen3-1.7B-chess.ipynb Cell 4 (as expected)

The testing framework is now fully functional and ready for use.
- Fixed Cell 4: ~/environment/ml/qwen-chess -> ~/ml/qwen-chess
- Fixed Cell 6: /home/ubuntu/neuron-workshops/labs/ml -> ~/ml
- Fixed Cell 8: /home/ubuntu/neuron-workshops/labs/ml -> ~/ml

These were the remaining hardcoded paths causing the test failure.
All paths now consistently use ~/ml/ for model storage.
Added a note about the testing status and order.
@jimburtoft
Copy link
Contributor Author

In most cases, the changes are from ~/environment to ~/build-on-trainium-workshop/labs
In some cases (like some hugging face library calls) we need the full /home/ubuntu/build-on-trainium-workshop/labs
I also moved the models from ~/environment/ml/qwen to just ~/ml/qwen

@jimburtoft jimburtoft marked this pull request as ready for review January 15, 2026 21:56
@EmilyWebber EmilyWebber requested a review from pinak-p January 16, 2026 15:44
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.

1 participant