This repository was archived by the owner on Sep 10, 2025. It is now read-only.
  
  
  - 
                Notifications
    
You must be signed in to change notification settings  - Fork 248
 
Wording sentencepiece.cpp #1435
          
     Closed
      
      
    
  
     Closed
                    Changes from 4 commits
      Commits
    
    
            Show all changes
          
          
            11 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      6cac9ea
              
                Wording sentencepiece.cpp
              
              
                mikekgfb ad5ba1e
              
                Merge branch 'pytorch:main' into patch-32
              
              
                mikekgfb 8195034
              
                List tokenizer file in sentencepiece.cpp
              
              
                mikekgfb f7b3df6
              
                Update sentencepiece.cpp
              
              
                mikekgfb e5635fd
              
                Update sentencepiece.cpp
              
              
                mikekgfb fb24e0b
              
                Merge branch 'pytorch:main' into patch-32
              
              
                mikekgfb 871a874
              
                Update sentencepiece.cpp
              
              
                mikekgfb 9f6b198
              
                Update sentencepiece.cpp
              
              
                mikekgfb ece7b45
              
                Update sentencepiece.cpp
              
              
                mikekgfb 55c48b5
              
                Merge branch 'pytorch:main' into patch-32
              
              
                mikekgfb 8455d58
              
                Update build_native.sh
              
              
                mikekgfb File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding the print, great for debugging
Looks like the
lsis spitting out the root torchchat directory instead of tokenize path which is curiousThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would explain why the tokenizer can't be loaded, and the AOTI tests keep failing. #1429
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added set -x to the command to echo the ls to make absolutely sure the path is not getting corrupted somehow (not sure how it would, but belts and suspenders)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neutral signal- looks like the arg is not being picked up by ls (which would explain why it just shows PWD)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is sooooo weird! Want to add a print of command and rerun? Maybe there’s some magic character that causes indigestion for the shell running La; and the tokenizer model load?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added print of command before execution
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Split C style strong conversion and c++ const as convert followed by append