Skip to content

Commit

Permalink
commit to moving the file to models entirely now that everyone elses
Browse files Browse the repository at this point in the history
changes are in
  • Loading branch information
dan-garvey committed Nov 13, 2023
1 parent 856c559 commit 0a475d5
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 393 deletions.
10 changes: 1 addition & 9 deletions examples/llama2_inference/llama2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,11 @@
"metadata": {},
"outputs": [],
"source": [
"import os\n",
"import numpy as np\n",
"from shark_turbine.dynamo.passes import turbine_cpu_pass_pipeline\n",
"from torch._export import dynamic_dim\n",
"from torch._export.constraints import constrain_as_size, constrain_as_value\n",
"from transformers import AutoTokenizer, AutoModelForCausalLM\n",
"import torch\n",
"from torch.utils import _pytree as pytree\n",
"from torch.fx import GraphModule\n",
"from torch._export.constraints import constrain_as_size, constrain_as_value\n",
"from shark_turbine.aot import *\n",
"from iree.compiler.ir import Context\n",
"from iree import runtime as ireert\n"
"from iree.compiler.ir import Context\n"
]
},
{
Expand Down
176 changes: 0 additions & 176 deletions python/turbine_models/custom_models/llama2.py

This file was deleted.

File renamed without changes.
Loading

0 comments on commit 0a475d5

Please sign in to comment.