File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed 
py/torch_tensorrt/dynamo/conversion/impl Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def compile_model(
3434        enabled_precisions  =  {torch .float4_e2m1fn_x2 }
3535        ptq_config  =  mtq .NVFP4_DEFAULT_CFG 
3636        if  args .fp4_mha :
37-             from  modelopt .core . torch .quantization .config  import  NVFP4_FP8_MHA_CONFIG 
37+             from  modelopt .torch .quantization .config  import  NVFP4_FP8_MHA_CONFIG 
3838
3939            ptq_config  =  NVFP4_FP8_MHA_CONFIG 
4040
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ def _static_double_quantize(
209209            quantized data tensor in fp4 
210210        """ 
211211
212-         import  modelopt .core . torch .quantization .qtensor .nvfp4_tensor  as  nvfp4_tensor 
212+         import  modelopt .torch .quantization .qtensor .nvfp4_tensor  as  nvfp4_tensor 
213213
214214        if  weights_tensor .dtype  ==  torch .float16 :
215215            original_dtype  =  trt .DataType .HALF 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments