Skip to content

Commit

Permalink
disable models
Browse files Browse the repository at this point in the history
  • Loading branch information
CuriousPanCake committed Nov 14, 2024
1 parent 89ad50f commit c3ca9e4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/core/src/pass/sdpa_to_paged_attention.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static std::shared_ptr<v0::Parameter> setName(std::shared_ptr<v0::Parameter> nod
// Set name for both node and output tensor (should be only one tensor, and any other names will be overriden by a
// given single name)
node->set_friendly_name(name);
OPENVINO_ASSERT(node->get_output_size() == 1); // Should I use assert here?
OPENVINO_ASSERT(node->get_output_size() == 1);
node->get_output_tensor(0).set_names({name});
return node;
}
Expand All @@ -55,10 +55,10 @@ bool ov::pass::SDPAToPagedAttention::run_on_model(const std::shared_ptr<ov::Mode

auto has_parameter = [=](const std::shared_ptr<ov::Model>& model,
const std::string& name) -> std::shared_ptr<v0::Parameter> {
for (auto& param : model->inputs()) {
for (const auto& param : model->inputs()) {
const auto& names = param.get_names();
if (names.find(name) != names.end()) {
if (auto casted_param = std::dynamic_pointer_cast<v0::Parameter>(param.get_node_shared_ptr())) {
if (names.count(name)) {
if (auto casted_param = ov::as_type_ptr<v0::Parameter>(param.get_node_shared_ptr())) {
return casted_param;
} else {
OPENVINO_THROW("The model is in the inconsistent state. Found input '",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
hf-internal-testing/tiny-random-LlamaForCausalLM,https://huggingface.co/trl-internal-testing/tiny-random-LlamaForCausalLM
hf-internal-testing/tiny-random-CohereForCausalLM,https://huggingface.co/hf-internal-testing/tiny-random-CohereForCausalLM
hf-internal-testing/tiny-random-GPTJForCausalLM,https://huggingface.co/trl-internal-testing/tiny-random-GPTJForCausalLM
hf-internal-testing/tiny-random-GPTNeoForCausalLM,https://huggingface.co/hf-internal-testing/tiny-random-GPTNeoForCausalLM
hf-internal-testing/tiny-random-GPTNeoXForCausalLM,https://huggingface.co/hf-internal-testing/tiny-random-GPTNeoXForCausalLM
hf-internal-testing/tiny-random-GPTNeoForCausalLM,https://huggingface.co/hf-internal-testing/tiny-random-GPTNeoForCausalLM,xfail,CVS-157416
hf-internal-testing/tiny-random-GPTNeoXForCausalLM,https://huggingface.co/hf-internal-testing/tiny-random-GPTNeoXForCausalLMk
hf-internal-testing/tiny-random-MistralForCausalLM,https://huggingface.co/hf-internal-testing/tiny-random-MistralForCausalLM
hf-internal-testing/tiny-random-CodeGenForCausalLM,https://huggingface.co/hf-internal-testing/tiny-random-CodeGenForCausalLM
hf-internal-testing/Mixtral-tiny,https://huggingface.co/hf-internal-testing/Mixtral-tiny
Expand All @@ -17,7 +17,7 @@ hf-internal-testing/tiny-random-MptForCausalLM,https://huggingface.co/hf-interna
hf-internal-testing/tiny-random-StableLmForCausalLM,https://huggingface.co/hf-internal-testing/tiny-random-StableLmForCausalLM
hf-internal-testing/tiny-random-PersimmonForCausalLM,https://huggingface.co/hf-internal-testing/tiny-random-PersimmonForCausalLM
hf-internal-testing/tiny-random-FalconForCausalLM,https://huggingface.co/hf-internal-testing/tiny-random-FalconForCausalLM
hf-tiny-model-private/tiny-random-OPTForCausalLM,https://huggingface.co/hf-tiny-model-private/tiny-random-OPTForCausalLM
hf-tiny-model-private/tiny-random-OPTForCausalLM,https://huggingface.co/hf-tiny-model-private/tiny-random-OPTForCausalLM,xfail,CVS-157416
katuni4ka/tiny-random-xverse,https://huggingface.co/katuni4ka/tiny-random-xverse
katuni4ka/tiny-random-baichuan2-13b,https://huggingface.co/katuni4ka/tiny-random-baichuan2-13b
katuni4ka/tiny-random-qwen,https://huggingface.co/katuni4ka/tiny-random-qwen
Expand All @@ -37,7 +37,7 @@ fxmarty/tiny-random-GemmaForCausalLM,https://huggingface.co/fxmarty/tiny-random-
fxmarty/tiny-dummy-qwen2,https://huggingface.co/fxmarty/tiny-dummy-qwen2
fxmarty/really-tiny-falcon-testing,https://huggingface.co/fxmarty/really-tiny-falcon-testing
Xenova/tiny-random-Phi3ForCausalLM,https://huggingface.co/Xenova/tiny-random-Phi3ForCausalLM
facebook/opt-125m,https://huggingface.co/facebook/opt-125m
facebook/opt-350m,https://huggingface.co/facebook/opt-350m
facebook/opt-125m,https://huggingface.co/facebook/opt-125m,xfail,CVS-157416
facebook/opt-350m,https://huggingface.co/facebook/opt-350m,xfail,CVS-157416
katuni4ka/tiny-random-chatglm2,https://huggingface.co/katuni4ka/tiny-random-chatglm2
katuni4ka/tiny-random-glm4,https://huggingface.co/katuni4ka/tiny-random-glm4

0 comments on commit c3ca9e4

Please sign in to comment.