File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,22 @@ log_error() { echo -e "${RED}[ERROR]${NC} $1"; }
1818log_warning () { echo  -e " ${YELLOW} [WARNING]${NC}  $1 " ; }
1919
2020#  Configuration
21- PYTORCH_VERSION=" 2.9.0.dev20250905" 
2221SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) "   &&  pwd) " 
22+ VERSIONS_FILE=" $SCRIPT_DIR /../assets/versions.sh" 
23+ 
24+ if  [ !  -f  " $VERSIONS_FILE "   ];  then 
25+     log_error " Versions file not found: $VERSIONS_FILE " 
26+     exit  1
27+ fi 
28+ 
29+ source  " $VERSIONS_FILE " 
30+ 
31+ #  Validate required variables are set
32+ if  [ -z  " ${PYTORCH_VERSION:- } "   ];  then 
33+     log_error " PYTORCH_VERSION not set in $VERSIONS_FILE " 
34+     exit  1
35+ fi 
36+ 
2337WHEEL_DIR=" $SCRIPT_DIR /../assets/wheels" 
2438RELEASE_TAG=" v0.0.0-93025" 
2539GITHUB_REPO=" meta-pytorch/forge" 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments