Skip to content

Add kernel-level AI features (Tier 1 implementations)

5dc1038
Select commit
Loading
Failed to load commit list.
Merged

Add Kernel-Level AI Features (Tier 1) #224

Add kernel-level AI features (Tier 1 implementations)
5dc1038
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Dec 2, 2025 in 24s

Annotations

Check warning on line 45 in cortex/kernel_features/llm_device.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "max_tokens".

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZretQMui-4iu7DOY4jg&open=AZretQMui-4iu7DOY4jg&pullRequest=224

Check warning on line 45 in cortex/kernel_features/llm_device.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "temp".

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZretQMui-4iu7DOY4ji&open=AZretQMui-4iu7DOY4ji&pullRequest=224

Check failure on line 93 in cortex/kernel_features/kv_cache_manager.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Specify an exception class to catch or reraise the exception

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZretQP9i-4iu7DOY4jn&open=AZretQP9i-4iu7DOY4jn&pullRequest=224

Check warning on line 67 in cortex/kernel_features/llm_device.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "m" with "_".

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZretQMui-4iu7DOY4jj&open=AZretQMui-4iu7DOY4jj&pullRequest=224

Check failure on line 80 in cortex/kernel_features/kv_cache_manager.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Specify an exception class to catch or reraise the exception

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZretQP9i-4iu7DOY4jm&open=AZretQP9i-4iu7DOY4jm&pullRequest=224

Check warning on line 45 in cortex/kernel_features/llm_device.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "system".

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZretQMui-4iu7DOY4jf&open=AZretQMui-4iu7DOY4jf&pullRequest=224

Check failure on line 62 in cortex/kernel_features/model_lifecycle.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't use `datetime.datetime.utcnow` to create this datetime object.

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZretQQLi-4iu7DOY4jo&open=AZretQQLi-4iu7DOY4jo&pullRequest=224

Check warning on line 85 in cortex/kernel_features/llm_device.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "m" with "_".

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZretQMui-4iu7DOY4jl&open=AZretQMui-4iu7DOY4jl&pullRequest=224

Check warning on line 45 in cortex/kernel_features/llm_device.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "model".

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZretQMui-4iu7DOY4jh&open=AZretQMui-4iu7DOY4jh&pullRequest=224

Check warning on line 76 in cortex/kernel_features/llm_device.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "f" with "_".

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZretQMui-4iu7DOY4jk&open=AZretQMui-4iu7DOY4jk&pullRequest=224

Check warning on line 39 in cortex/kernel_features/accelerator_limits.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the type hint "list[int]" with "Optional[list[int]]" or don't assign "None" to "gpu_ids"

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZretQQai-4iu7DOY4jp&open=AZretQQai-4iu7DOY4jp&pullRequest=224