liger-kernel-nightly 0.5.0.dev20241210031928__py3-none-any.whl → 0.5.0.dev20241210032000__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.
@@ -1,5 +1,6 @@
1
1
  import platform
2
2
  import sys
3
+ from importlib.metadata import version
3
4
 
4
5
 
5
6
  def print_env_report():
@@ -17,6 +18,11 @@ def print_env_report():
17
18
  print(f"Operating System: {platform.platform()}")
18
19
  print(f"Python version: {sys.version.split()[0]}")
19
20
 
21
+ try:
22
+ print(f"Liger Kernel version: {version('liger-kernel')}")
23
+ except ImportError:
24
+ print("Liger Kernel: Not installed")
25
+
20
26
  try:
21
27
  import torch
22
28
 
@@ -25,9 +31,17 @@ def print_env_report():
25
31
  torch.version.cuda if torch.cuda.is_available() else "Not available"
26
32
  )
27
33
  print(f"CUDA version: {cuda_version}")
34
+ hip_version = (
35
+ torch.version.hip
36
+ if torch.cuda.is_available() and torch.version.hip
37
+ else "Not available"
38
+ )
39
+ print(f"HIP(ROCm) version: {hip_version}")
40
+
28
41
  except ImportError:
29
42
  print("PyTorch: Not installed")
30
43
  print("CUDA version: Unable to query")
44
+ print("HIP(ROCm) version: Unable to query")
31
45
 
32
46
  try:
33
47
  import triton
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: liger_kernel_nightly
3
- Version: 0.5.0.dev20241210031928
3
+ Version: 0.5.0.dev20241210032000
4
4
  Summary: Efficient Triton kernels for LLM Training
5
5
  License: BSD 2-CLAUSE LICENSE
6
6
  Copyright 2024 LinkedIn Corporation
@@ -1,5 +1,5 @@
1
1
  liger_kernel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- liger_kernel/env_report.py,sha256=1ETxx6HW4bKMK5aa5xaFzEmx0Ibc_kNryL_gXBVyyrI,1374
2
+ liger_kernel/env_report.py,sha256=FViyPju795lB6z4k2TZldvBSmQdcS0A2hcnDxepJrDo,1822
3
3
  liger_kernel/utils.py,sha256=HJa-xVKOohDn6pLVIx-Fv0V9h0QAL3qZGQNRICI-OpI,249
4
4
  liger_kernel/chunked_loss/__init__.py,sha256=R2wCcz4Y0kTAve926DH3k182XKezpXeACMHj05g9Mm8,346
5
5
  liger_kernel/chunked_loss/cpo_loss.py,sha256=Qu1Ul2A12sp6CqIT-atPbHWFb_LLtINEA9mOpIRx_0g,3097
@@ -56,9 +56,9 @@ liger_kernel/transformers/model/qwen2.py,sha256=EyhSSzQOskGjSnCsKMZpd1s5IAIlHd5P
56
56
  liger_kernel/transformers/model/qwen2_vl.py,sha256=bIQe2bWiY--G84FhCD29Gdi64_qHP6vbcGsK6vKysQE,8547
57
57
  liger_kernel/triton/__init__.py,sha256=yfRe0zMb47QnqjecZWG7LnanfCTzeku7SgWRAwNVmzU,101
58
58
  liger_kernel/triton/monkey_patch.py,sha256=5BcGKTtdqeYchypBIBopGIWPx1-cFALz7sOKoEsqXJ0,1584
59
- liger_kernel_nightly-0.5.0.dev20241210031928.dist-info/LICENSE,sha256=OhzLDHJ0to4a8sodVLELZiCFylZ1NAAYLs-HrjPy0ag,1312
60
- liger_kernel_nightly-0.5.0.dev20241210031928.dist-info/METADATA,sha256=kB0s4foA73Qf_ANb6_3zz-6T0PFWYof2KMcPVxhwI2Q,20701
61
- liger_kernel_nightly-0.5.0.dev20241210031928.dist-info/NOTICE,sha256=njwnoPZLh9AN8SJQzxvCGLHi-8X__AvWRze6joNXIY8,2066
62
- liger_kernel_nightly-0.5.0.dev20241210031928.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
63
- liger_kernel_nightly-0.5.0.dev20241210031928.dist-info/top_level.txt,sha256=2eghu4hA3LnkM7ElW92tQ8zegWKgSbeo-k-aGe1YnvY,13
64
- liger_kernel_nightly-0.5.0.dev20241210031928.dist-info/RECORD,,
59
+ liger_kernel_nightly-0.5.0.dev20241210032000.dist-info/LICENSE,sha256=OhzLDHJ0to4a8sodVLELZiCFylZ1NAAYLs-HrjPy0ag,1312
60
+ liger_kernel_nightly-0.5.0.dev20241210032000.dist-info/METADATA,sha256=RCvHZdeiLuOL5xiZ2osfdgERxbAvIS9caSPfXq_NAAo,20701
61
+ liger_kernel_nightly-0.5.0.dev20241210032000.dist-info/NOTICE,sha256=njwnoPZLh9AN8SJQzxvCGLHi-8X__AvWRze6joNXIY8,2066
62
+ liger_kernel_nightly-0.5.0.dev20241210032000.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
63
+ liger_kernel_nightly-0.5.0.dev20241210032000.dist-info/top_level.txt,sha256=2eghu4hA3LnkM7ElW92tQ8zegWKgSbeo-k-aGe1YnvY,13
64
+ liger_kernel_nightly-0.5.0.dev20241210032000.dist-info/RECORD,,