feat(pre-commit): trim unnecessary notebook metadata from git history (#2127)
This commit is contained in:
@@ -37,14 +37,7 @@
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2024-11-07T18:43:47.311708Z",
|
||||
"iopub.status.busy": "2024-11-07T18:43:47.311517Z",
|
||||
"iopub.status.idle": "2024-11-07T18:44:18.512576Z",
|
||||
"shell.execute_reply": "2024-11-07T18:44:18.511909Z"
|
||||
}
|
||||
},
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from sglang.utils import (\n",
|
||||
@@ -76,14 +69,7 @@
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2024-11-07T18:44:18.515678Z",
|
||||
"iopub.status.busy": "2024-11-07T18:44:18.515314Z",
|
||||
"iopub.status.idle": "2024-11-07T18:44:22.880793Z",
|
||||
"shell.execute_reply": "2024-11-07T18:44:22.880303Z"
|
||||
}
|
||||
},
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import subprocess\n",
|
||||
@@ -127,14 +113,7 @@
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2024-11-07T18:44:22.883309Z",
|
||||
"iopub.status.busy": "2024-11-07T18:44:22.883160Z",
|
||||
"iopub.status.idle": "2024-11-07T18:44:27.048810Z",
|
||||
"shell.execute_reply": "2024-11-07T18:44:27.048074Z"
|
||||
}
|
||||
},
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import requests\n",
|
||||
@@ -174,14 +153,7 @@
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2024-11-07T18:44:27.051312Z",
|
||||
"iopub.status.busy": "2024-11-07T18:44:27.051190Z",
|
||||
"iopub.status.idle": "2024-11-07T18:44:32.358097Z",
|
||||
"shell.execute_reply": "2024-11-07T18:44:32.357628Z"
|
||||
}
|
||||
},
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from openai import OpenAI\n",
|
||||
@@ -225,14 +197,7 @@
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2024-11-07T18:44:32.359532Z",
|
||||
"iopub.status.busy": "2024-11-07T18:44:32.359413Z",
|
||||
"iopub.status.idle": "2024-11-07T18:44:36.164664Z",
|
||||
"shell.execute_reply": "2024-11-07T18:44:36.164005Z"
|
||||
}
|
||||
},
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from openai import OpenAI\n",
|
||||
@@ -273,15 +238,8 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 6,
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2024-11-07T18:44:36.167123Z",
|
||||
"iopub.status.busy": "2024-11-07T18:44:36.166535Z",
|
||||
"iopub.status.idle": "2024-11-07T18:44:37.743761Z",
|
||||
"shell.execute_reply": "2024-11-07T18:44:37.742510Z"
|
||||
}
|
||||
},
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"terminate_process(embedding_process)"
|
||||
@@ -307,11 +265,6 @@
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3 (ipykernel)",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
"name": "ipython",
|
||||
@@ -321,8 +274,7 @@
|
||||
"mimetype": "text/x-python",
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.11.7"
|
||||
"pygments_lexer": "ipython3"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
Reference in New Issue
Block a user