commit - release 1
This commit is contained in:
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"ms-python.python",
|
||||
"ms-python.vscode-pylance",
|
||||
"charliermarsh.ruff",
|
||||
"ms-python.debugpy",
|
||||
"eamodio.gitlens",
|
||||
"usernamehw.errorlens",
|
||||
"wayou.vscode-todo-highlight",
|
||||
"christian-kohler.path-intellisense",
|
||||
"editorconfig.editorconfig",
|
||||
"ms-azuretools.vscode-docker",
|
||||
"humao.rest-client",
|
||||
"shd101wyy.markdown-preview-enhanced"
|
||||
]
|
||||
}
|
||||
Vendored
+55
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Python: Current File",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"program": "${file}",
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": true
|
||||
},
|
||||
{
|
||||
"name": "Run kernbench CLI",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "kernbench.cli.main",
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": true,
|
||||
"args": [
|
||||
"run",
|
||||
"--topology", "topology.yaml",
|
||||
"--bench", "qkv_gemm"
|
||||
],
|
||||
"env": {
|
||||
"PYTHONPATH": "${workspaceFolder}/src"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Run KernBench Probe",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "kernbench.cli.main",
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": true,
|
||||
"args": [
|
||||
"probe",
|
||||
"--topology", "topology.yaml",
|
||||
],
|
||||
"env": {
|
||||
"PYTHONPATH": "${workspaceFolder}/src"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Pytest: Run All (terminal)",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "pytest",
|
||||
"args": [
|
||||
"-q"
|
||||
],
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Vendored
+39
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"editor.formatOnSave": true,
|
||||
"editor.formatOnSaveMode": "file",
|
||||
"editor.tabSize": 4,
|
||||
"editor.insertSpaces": true,
|
||||
"editor.rulers": [
|
||||
100
|
||||
],
|
||||
"editor.minimap.enabled": false,
|
||||
"files.eol": "\n",
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"files.insertFinalNewline": true,
|
||||
"search.useIgnoreFiles": true,
|
||||
"git.autofetch": true,
|
||||
"python.venvFolders": [".venv"],
|
||||
"python.testing.pytestEnabled": true,
|
||||
"python.testing.unittestEnabled": false,
|
||||
"python.testing.autoTestDiscoverOnSaveEnabled": true,
|
||||
"python.testing.pytestArgs": [
|
||||
"tests", "-q", "-vv", "-s", "--tb=short", "--no-header",
|
||||
],
|
||||
"python.analysis.typeCheckingMode": "basic",
|
||||
"python.analysis.autoImportCompletions": true,
|
||||
"python.terminal.activateEnvironment": true,
|
||||
"ruff.lint.enable": true,
|
||||
"ruff.format.enable": true,
|
||||
"editor.defaultFormatter": "charliermarsh.ruff",
|
||||
"[python]": {
|
||||
"editor.defaultFormatter": "charliermarsh.ruff"
|
||||
},
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll": "explicit",
|
||||
"source.organizeImports": "explicit"
|
||||
},
|
||||
"python.analysis.extraPaths": [
|
||||
"${workspaceFolder}/src"
|
||||
]
|
||||
|
||||
}
|
||||
Vendored
+127
@@ -0,0 +1,127 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
|
||||
{
|
||||
"label": "venv: create",
|
||||
"type": "shell",
|
||||
"command": "python -m venv .venv",
|
||||
"problemMatcher": []
|
||||
},
|
||||
|
||||
{
|
||||
"label": "deps: install",
|
||||
"type": "shell",
|
||||
"command": "${command:python.interpreterPath}",
|
||||
"args": [
|
||||
"-m",
|
||||
"pip",
|
||||
"install",
|
||||
"-U",
|
||||
"pip",
|
||||
"&&",
|
||||
"${command:python.interpreterPath}",
|
||||
"-m",
|
||||
"pip",
|
||||
"install",
|
||||
"-e",
|
||||
".[dev]"
|
||||
],
|
||||
"problemMatcher": [],
|
||||
"dependsOn": "venv: create"
|
||||
},
|
||||
|
||||
{
|
||||
"label": "Run KernBench CLI",
|
||||
"type": "shell",
|
||||
"command": "${command:python.interpreterPath}",
|
||||
"args": [
|
||||
"-m",
|
||||
"kernbench.cli.main",
|
||||
"run",
|
||||
"--topology",
|
||||
"topology.yaml",
|
||||
"--bench",
|
||||
"qkv_gemm"
|
||||
],
|
||||
"options": { "cwd": "${workspaceFolder}" },
|
||||
"problemMatcher": [],
|
||||
"presentation": {
|
||||
"reveal": "silent",
|
||||
"panel": "shared",
|
||||
"clear": true
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"label": "Run KernBench Probe",
|
||||
"type": "shell",
|
||||
"command": "${command:python.interpreterPath}",
|
||||
"args": [
|
||||
"-m",
|
||||
"kernbench.cli.main",
|
||||
"probe",
|
||||
"--topology",
|
||||
"topology.yaml"
|
||||
],
|
||||
"options": { "cwd": "${workspaceFolder}" },
|
||||
"problemMatcher": [],
|
||||
"presentation": {
|
||||
"reveal": "silent",
|
||||
"panel": "shared",
|
||||
"clear": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Pytest: Run All (terminal)",
|
||||
"type": "shell",
|
||||
"command": "${command:python.interpreterPath}",
|
||||
"args": [
|
||||
"-m",
|
||||
"pytest",
|
||||
"-q",
|
||||
"-s"
|
||||
],
|
||||
"problemMatcher": [],
|
||||
"group": "test"
|
||||
},
|
||||
|
||||
{
|
||||
"label": "lint",
|
||||
"type": "shell",
|
||||
"command": "${command:python.interpreterPath}",
|
||||
"args": [
|
||||
"-m",
|
||||
"ruff",
|
||||
"check",
|
||||
"."
|
||||
],
|
||||
"problemMatcher": []
|
||||
},
|
||||
|
||||
{
|
||||
"label": "format",
|
||||
"type": "shell",
|
||||
"command": "${command:python.interpreterPath}",
|
||||
"args": [
|
||||
"-m",
|
||||
"ruff",
|
||||
"format",
|
||||
"."
|
||||
],
|
||||
"problemMatcher": []
|
||||
},
|
||||
|
||||
{
|
||||
"label": "which python",
|
||||
"type": "shell",
|
||||
"command": "${command:python.interpreterPath}",
|
||||
"args": [
|
||||
"-c",
|
||||
"import sys;print(sys.executable)"
|
||||
],
|
||||
"problemMatcher": []
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user