Skip to content

Inference with the checkpoint #586

Closed

Description

@mathmax12

Though there are some related tickets, it would be great to see the steps to use the raw checkpoints for inference. https://github.com/pytorch/torchtitan/blob/main/docs/checkpoint.md
This helps to verify the training works well.

Activity

  1. added
    enhancement
    on Sep 24, 2024
  2. tianyu-l commented on Oct 18, 2024

    @tianyu-l
    Contributor

    torchtitan is place to do training. For inference maybe you can try torchchat?

  3. jfncs commented on Oct 19, 2024

    @jfncs
    Contributor

    @tianyu-l Some basic generation may help discover/test issues in checkpoint conversion, tokenization, validation before continued pre training etc.. I am working on adapting a minimal version from torchtune to support basic train-time evals during checkpointing

  4. tianyu-l commented on Oct 21, 2024

    @tianyu-l
    Contributor

    @jaysonfrancis Covering the very basic generation/inference sounds good, as long as the code can be kept simple. Please feel free to submit a PR, we can help review.

  5. added a commit that references this issue on Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions