cortex-llm 1.0.0__tar.gz → 1.0.2__tar.gz

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.
Files changed (57) hide show
  1. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/PKG-INFO +1 -1
  2. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/__init__.py +2 -2
  3. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/__main__.py +7 -1
  4. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/ui/cli.py +2 -2
  5. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex_llm.egg-info/PKG-INFO +1 -1
  6. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/pyproject.toml +1 -1
  7. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/LICENSE +0 -0
  8. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/README.md +0 -0
  9. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/config.py +0 -0
  10. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/conversation_manager.py +0 -0
  11. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/fine_tuning/__init__.py +0 -0
  12. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/fine_tuning/dataset.py +0 -0
  13. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/fine_tuning/mlx_lora_trainer.py +0 -0
  14. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/fine_tuning/trainer.py +0 -0
  15. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/fine_tuning/wizard.py +0 -0
  16. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/gpu_validator.py +0 -0
  17. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/inference_engine.py +0 -0
  18. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/metal/__init__.py +0 -0
  19. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/metal/gpu_validator.py +0 -0
  20. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/metal/memory_pool.py +0 -0
  21. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/metal/mlx_accelerator.py +0 -0
  22. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/metal/mlx_converter.py +0 -0
  23. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/metal/mps_optimizer.py +0 -0
  24. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/metal/optimizer.py +0 -0
  25. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/metal/performance_profiler.py +0 -0
  26. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/model_downloader.py +0 -0
  27. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/model_manager.py +0 -0
  28. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/quantization/__init__.py +0 -0
  29. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/quantization/dynamic_quantizer.py +0 -0
  30. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/template_registry/__init__.py +0 -0
  31. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/template_registry/auto_detector.py +0 -0
  32. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/template_registry/config_manager.py +0 -0
  33. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/template_registry/interactive.py +0 -0
  34. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/template_registry/registry.py +0 -0
  35. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/template_registry/template_profiles/__init__.py +0 -0
  36. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/template_registry/template_profiles/base.py +0 -0
  37. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/template_registry/template_profiles/complex/__init__.py +0 -0
  38. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/template_registry/template_profiles/complex/reasoning.py +0 -0
  39. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/template_registry/template_profiles/standard/__init__.py +0 -0
  40. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/template_registry/template_profiles/standard/alpaca.py +0 -0
  41. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/template_registry/template_profiles/standard/chatml.py +0 -0
  42. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/template_registry/template_profiles/standard/gemma.py +0 -0
  43. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/template_registry/template_profiles/standard/llama.py +0 -0
  44. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/template_registry/template_profiles/standard/simple.py +0 -0
  45. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/ui/__init__.py +0 -0
  46. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/ui/markdown_render.py +0 -0
  47. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex/ui/terminal_app.py +0 -0
  48. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex_llm.egg-info/SOURCES.txt +0 -0
  49. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex_llm.egg-info/dependency_links.txt +0 -0
  50. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex_llm.egg-info/entry_points.txt +0 -0
  51. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex_llm.egg-info/not-zip-safe +0 -0
  52. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex_llm.egg-info/requires.txt +0 -0
  53. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/cortex_llm.egg-info/top_level.txt +0 -0
  54. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/setup.cfg +0 -0
  55. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/setup.py +0 -0
  56. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/tests/test_apple_silicon.py +0 -0
  57. {cortex_llm-1.0.0 → cortex_llm-1.0.2}/tests/test_metal_optimization.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cortex-llm
3
- Version: 1.0.0
3
+ Version: 1.0.2
4
4
  Summary: GPU-Accelerated LLM Terminal for Apple Silicon
5
5
  Home-page: https://github.com/faisalmumtaz/Cortex
6
6
  Author: Cortex Development Team
@@ -5,7 +5,7 @@ A high-performance terminal interface for running Hugging Face LLMs locally
5
5
  with exclusive GPU acceleration via Metal Performance Shaders (MPS) and MLX.
6
6
  """
7
7
 
8
- __version__ = "1.0.0"
8
+ __version__ = "1.0.2"
9
9
  __author__ = "Cortex Development Team"
10
10
  __license__ = "MIT"
11
11
 
@@ -70,4 +70,4 @@ __all__ = [
70
70
  "ConversationManager",
71
71
  "initialize_cortex",
72
72
  "verify_system_requirements"
73
- ]
73
+ ]
@@ -9,6 +9,12 @@ import warnings
9
9
  # This prevents the semaphore leak warning from transformers library
10
10
  os.environ['PYTHONWARNINGS'] = 'ignore::UserWarning:multiprocessing.resource_tracker'
11
11
 
12
+ # Silence known MLX deprecation warning surfaced during generation.
13
+ warnings.filterwarnings(
14
+ "ignore",
15
+ message=r"mx\.metal\.device_info is deprecated.*",
16
+ )
17
+
12
18
  # Alternative: Monkey-patch the resource tracker before it's used
13
19
  try:
14
20
  from multiprocessing import resource_tracker
@@ -80,4 +86,4 @@ def main():
80
86
 
81
87
 
82
88
  if __name__ == "__main__":
83
- main()
89
+ main()
@@ -1405,8 +1405,8 @@ class CortexCLI:
1405
1405
  else:
1406
1406
  print() # Empty line if no model loaded
1407
1407
 
1408
- # Move cursor to input position inside the box
1409
- sys.stdout.write("\033[3A") # Move up 3 lines to the input line
1408
+ # Move cursor to input position inside the box (center of 3 interior lines)
1409
+ sys.stdout.write("\033[4A") # Move up 4 lines to the input line
1410
1410
  sys.stdout.write(f"\r{DIM}│{RESET} > ") # Position at prompt
1411
1411
  sys.stdout.flush()
1412
1412
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cortex-llm
3
- Version: 1.0.0
3
+ Version: 1.0.2
4
4
  Summary: GPU-Accelerated LLM Terminal for Apple Silicon
5
5
  Home-page: https://github.com/faisalmumtaz/Cortex
6
6
  Author: Cortex Development Team
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "cortex-llm"
7
- version = "1.0.0"
7
+ version = "1.0.2"
8
8
  description = "GPU-Accelerated LLM Terminal for Apple Silicon"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
File without changes
File without changes
File without changes
File without changes
File without changes