Skip to content

Conversation

yzygitzh
Copy link
Member

@yzygitzh yzygitzh commented Sep 8, 2025

Adds MIT license header for Microsoft created files in examples.

@Copilot Copilot AI review requested due to automatic review settings September 8, 2025 09:32
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds MIT license headers to Microsoft-created example files across the repository. The purpose is to properly attribute copyright and licensing for example code files that were originally created by Microsoft.

  • Adds standardized MIT license headers to 13 example files
  • Ensures consistent copyright attribution format across all files
  • Maintains existing code functionality while adding proper licensing

Reviewed Changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
examples/pytorch_cifar10/src/init.sh Added MIT license header to shell script
examples/pytorch_cifar10/src/horovod_cifar.py Added MIT license header to Python file
examples/pytorch_cifar10/src/cifar.py Added MIT license header to Python file
examples/mnist_500_tasks/src/mnist_lr_500.py Added MIT license header to Python file
examples/mnist_500_tasks/src/get_results.py Added MIT license header to Python file
examples/MXNet_cifar10/src/train_cifar10.py Added MIT license header to Python file
examples/Dockerfiles/autobuild_docker/paitest.py Added MIT license header to Python file
examples/Distributed-example/cifar10-single-node-gpus-cpu-DP.py Added MIT license header to Python file
examples/Distributed-example/cifar10-single-mul-DDP-nccl-gloo.py Added MIT license header to Python file
examples/Distributed-example/cifar10-single-mul-DDP-nccl-gloo-Apex-mixed.py Added MIT license header to Python file
examples/Distributed-example/PytorchExample-imagenet-single-mul-DDP-nccl-gloo.py Added MIT license header to Python file
examples/Distributed-example/LiteApex-imagenet-single-mul-DDP-nccl-gloo.py Added MIT license header to Python file
examples/Distributed-example/Lite-imagenet-single-mul-DDP-nccl-gloo.py Added MIT license header to Python file

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@yzygitzh yzygitzh merged commit e08773d into dev Sep 11, 2025
1 check passed
@yzygitzh yzygitzh deleted the ziyue/add-license-examples branch September 11, 2025 06:48
@yukirora yukirora mentioned this pull request Sep 15, 2025
28 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants