Skip to content

Commit 0b6add8

Browse files
jerryzh168facebook-github-bot
authored andcommitted
Add GPTQ quantization to executorch (not tested) (#2274)
Summary: Pull Request resolved: #2274 will test in OSS and fix issues in a separate PR bypass-github-export-checks bypass-github-pytorch-ci-checks bypass-github-executorch-ci-checks Reviewed By: digantdesai Differential Revision: D54569842 fbshipit-source-id: 7c3e60833d8e144cb5842842b4f640138dfa9382
1 parent daaecb1 commit 0b6add8

File tree

5 files changed

+887
-30
lines changed

5 files changed

+887
-30
lines changed

backends/vulkan/serialization/vulkan_graph_serialize.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from dataclasses import dataclass
1313
from typing import ClassVar, List
1414

15-
# pyre-ignore[21]: Could not find module `executorch.exir._serialize._bindings`.
1615
import pkg_resources
1716
import torch
1817

@@ -35,7 +34,6 @@ def convert_to_flatbuffer(vk_graph: VkGraph) -> bytes:
3534
json_path = os.path.join(d, "schema.json")
3635
with open(json_path, "wb") as json_file:
3736
json_file.write(vk_graph_json.encode("ascii"))
38-
# pyre-ignore
3937
_flatc_compile(d, schema_path, json_path)
4038
output_path = os.path.join(d, "schema.bin")
4139
with open(output_path, "rb") as output_file:

0 commit comments

Comments
 (0)