litert-torch-nightly 0.9.0.dev20260128__py3-none-any.whl → 0.9.0.dev20260130__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
litert_torch/cli.py CHANGED
@@ -23,7 +23,7 @@ from litert_torch.generative.export_hf import export as hf_export_lib
23
23
  class CLI:
24
24
 
25
25
  def __init__(self):
26
- self.hf_export = hf_export_lib.export
26
+ self.export_hf = hf_export_lib.export
27
27
 
28
28
 
29
29
  def main():
@@ -48,12 +48,6 @@ def verify_model_compatibility(model, model_config, text_model_config):
48
48
  print(utils.ERROR_MESSAGE)
49
49
  print('Dynamic and longrope are not supported yet.')
50
50
  raise NotImplementedError('Dynamic and longrope are not supported yet.')
51
- if getattr(text_model_config, 'rope_scaling', None) is not None:
52
- print(utils.ERROR_MESSAGE)
53
- print(
54
- 'rope_scaling is not supported yet, the model exported will have wrong'
55
- ' results and is for BENCHMARKING ONLY.'
56
- )
57
51
  can_compile_fullgraph = getattr(model, '_can_compile_fullgraph', None)
58
52
  if can_compile_fullgraph is None:
59
53
  print(utils.WARNING_MESSAGE)
@@ -34,4 +34,4 @@ def main(_):
34
34
 
35
35
 
36
36
  if __name__ == '__main__':
37
- fire.run()
37
+ main()
litert_torch/version.py CHANGED
@@ -15,4 +15,4 @@
15
15
 
16
16
  # The next version of litert-torch.
17
17
  # The minor version code should be bumped after every release.
18
- __version__ = "0.9.0.dev20260128"
18
+ __version__ = "0.9.0.dev20260130"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: litert-torch-nightly
3
- Version: 0.9.0.dev20260128
3
+ Version: 0.9.0.dev20260130
4
4
  Summary: Support PyTorch model conversion with LiteRT.
5
5
  Home-page: https://github.com/google-ai-edge/litert-torch
6
6
  Keywords: On-Device ML,AI,Google,TFLite,LiteRT,PyTorch,LLMs,GenAI
@@ -1,9 +1,9 @@
1
1
  litert_torch/__init__.py,sha256=jgEpTtwnhxMhPGPTRvHJR7pzx6WU_mLbA-G1LjO7fnE,1279
2
2
  litert_torch/_config.py,sha256=zDnki83sBsQzDAea6bvzwccylWHnPUzbEyGGRh6B14w,2526
3
- litert_torch/cli.py,sha256=TiguLo2O3_wY8cCnKnbXtUvGH4lzyjeSgsOnHsKd9Gg,984
3
+ litert_torch/cli.py,sha256=TiAUbgbWm3ecTUJtJ1_hjKJuC1LrG-Qwnm8_zws-sVY,984
4
4
  litert_torch/conftest.py,sha256=gYmFrsR4c_fjIidbyrDnek26yS0crDP6-UoyMvy-WFg,757
5
5
  litert_torch/model.py,sha256=KXFTyyfPM6AnP0JoSwsTqQR3lUQbMkTGSr3dUsfQ5Jk,5635
6
- litert_torch/version.py,sha256=mHpimDjWXUBj0_q1ks2U5uwQ-hARKooCxFvQ3Hp4RPU,804
6
+ litert_torch/version.py,sha256=6AkZDFuaj34uiTiNVFv7ms5Cr4xOn8DAWvzn3tWt5J4,804
7
7
  litert_torch/_convert/__init__.py,sha256=qdLdbj5NjhNG-QgY5O_8TzOr2XaDoWvmdY9JNPStQmw,670
8
8
  litert_torch/_convert/conversion.py,sha256=NuQEphyYp3W19IKvyTWo9pe7zt1-XmWM4zU9PDkUm54,6108
9
9
  litert_torch/_convert/conversion_utils.py,sha256=MWpB-3eN-rvQzTtXsPL30cDIK431SQuwvw3ia2K2ONM,2158
@@ -180,14 +180,14 @@ litert_torch/generative/examples/tiny_llama/verify_util.py,sha256=FKMC6Olex6bJbB
180
180
  litert_torch/generative/export_hf/__init__.py,sha256=5xWIp2ziIwapcZcjSKfeaFgBnIooa8ckhTQ7mazZC3c,670
181
181
  litert_torch/generative/export_hf/__main__.py,sha256=8VuBDkZ2sL-q2XdQ45qwzeHQk39-MM_6TdkxOU_23xE,782
182
182
  litert_torch/generative/export_hf/export.py,sha256=FGjfwyWBNzGaBxTZHq-w0qq1W9BG0SuM1OV67G8nmfI,2686
183
- litert_torch/generative/export_hf/export_main.py,sha256=1dmw-V0UM2yt9XnIbpw87-YuTlr-qYjethMuyW9-yFA,1187
183
+ litert_torch/generative/export_hf/export_main.py,sha256=bQidNXz0MEP_gil86LSfnpCW0pUiqZq2-F9ZOrSb3Yk,1183
184
184
  litert_torch/generative/export_hf/core/__init__.py,sha256=5xWIp2ziIwapcZcjSKfeaFgBnIooa8ckhTQ7mazZC3c,670
185
185
  litert_torch/generative/export_hf/core/attention.py,sha256=FFqq5TZ-V4Bdn2jb06_VWjAzVj1dlDuV1Llkftf_J54,2454
186
186
  litert_torch/generative/export_hf/core/attention_test.py,sha256=RevOczfPncmbIBths1bjYIWFbCHAZ3JK367NPt56dDs,4923
187
187
  litert_torch/generative/export_hf/core/cache.py,sha256=pfWh2SACdhNY2of2Z8KJC0wrSQ2jrkXgPHWe7PSEiuU,10263
188
188
  litert_torch/generative/export_hf/core/cache_base.py,sha256=FXMm9B8nDwC8uTyLmuBnYKLTnNtoeGN8gUnWwDCcH08,1714
189
189
  litert_torch/generative/export_hf/core/cache_test.py,sha256=y-v-oOGtRNPGWRfIfW3FcpDxvJbzrBU6Pb2o66FkUzU,6203
190
- litert_torch/generative/export_hf/core/export_lib.py,sha256=Nvg3QiYRZcMiQd7du7w5vohazjLlZJW6YFk_WAbIpAs,12249
190
+ litert_torch/generative/export_hf/core/export_lib.py,sha256=4Nr_kaUgtukCMbcYv5MnJmdlrUCau1FeyVR7o-8Y3SU,12005
191
191
  litert_torch/generative/export_hf/core/exportable_module.py,sha256=XEqsV9M34OP-_vsxH7bnmxSCD6erAPl0a9I9JQM7v6k,8305
192
192
  litert_torch/generative/export_hf/core/litert_lm_builder.py,sha256=f8Q2ifVyt65V-kRL0X9FRpQNKIer0R_Yx2lECZTMGPU,7965
193
193
  litert_torch/generative/export_hf/core/patches.py,sha256=i1fzs0anIFbBH-Q_PwCtp9VKXy64olJKwnGpnJUjkEo,1815
@@ -318,9 +318,9 @@ litert_torch/testing/__init__.py,sha256=AfYP1HwTYSQmupveonEHCDV5dEyshzUgbwUrCUhb
318
318
  litert_torch/testing/export.py,sha256=3dR6oxnrdtX0MfqAfMv233cf3sHA4e0F2TBQotoo8xc,3292
319
319
  litert_torch/testing/model_coverage/__init__.py,sha256=uPXeAhWiD1O0aMDLCX7FTOSNQiea8yOtoIYPCuHEAG4,763
320
320
  litert_torch/testing/model_coverage/model_coverage.py,sha256=EPCI7PbNPb7GV28lo3qQvFdzJwJ_ZDrbCGdpeiBZhVo,4715
321
- litert_torch_nightly-0.9.0.dev20260128.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
322
- litert_torch_nightly-0.9.0.dev20260128.dist-info/METADATA,sha256=F-LavniKQ7N46UMAKuq-94y75WvGAlcbfwEcjrKVUTQ,2463
323
- litert_torch_nightly-0.9.0.dev20260128.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
324
- litert_torch_nightly-0.9.0.dev20260128.dist-info/entry_points.txt,sha256=roYAi9hp0uYrMudMR59hGNF2pz0TSAtqNl4vQLJzxnE,55
325
- litert_torch_nightly-0.9.0.dev20260128.dist-info/top_level.txt,sha256=mGrsl2SYcjQSLBJX4ZXrHnFqHZe6QLRR7uk0tLfzwfM,13
326
- litert_torch_nightly-0.9.0.dev20260128.dist-info/RECORD,,
321
+ litert_torch_nightly-0.9.0.dev20260130.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
322
+ litert_torch_nightly-0.9.0.dev20260130.dist-info/METADATA,sha256=nZMdMxwYskn3oPgsfW4biIGlwWhj87dtnuUXw3ewkVo,2463
323
+ litert_torch_nightly-0.9.0.dev20260130.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
324
+ litert_torch_nightly-0.9.0.dev20260130.dist-info/entry_points.txt,sha256=roYAi9hp0uYrMudMR59hGNF2pz0TSAtqNl4vQLJzxnE,55
325
+ litert_torch_nightly-0.9.0.dev20260130.dist-info/top_level.txt,sha256=mGrsl2SYcjQSLBJX4ZXrHnFqHZe6QLRR7uk0tLfzwfM,13
326
+ litert_torch_nightly-0.9.0.dev20260130.dist-info/RECORD,,