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

solve the RuntimeError: Tensors must be CUDA and dense #33

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Sep 25, 2023

  1. Update parallel_state.py

    Add world_size in the initialize_model_parallel function, to judge gloo or nccl
    13416157913 authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    30906f9 View commit details
    Browse the repository at this point in the history
  2. Update overlapped_dist_optimizer.py

    Add world size  in save_parameter_state function to judge cpu or cuda.
    13416157913 authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    95b5744 View commit details
    Browse the repository at this point in the history
  3. Update distrib_optimizer.py

    Add world size in the save_parameter_state function, to judge cpu or cuda.
    13416157913 authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    b93da19 View commit details
    Browse the repository at this point in the history