Jared Van Bortel

Results 95 issues of Jared Van Bortel

### Steps to Reproduce 1. Download [pfnet/plamo-13b-instruct](https://huggingface.co/pfnet/plamo-13b-instruct) 2. Convert with convert-hf-to-gguf.py 3. Attempt to run inference with `main` Fails with: ``` GGML_ASSERT: /home/jared/src/forks/llama.cpp-2/llama.cpp:3395: vocab.id_to_token.size() == vocab.token_to_id.size() ```

bug-unconfirmed

When I converted `dl/Open-Orca_Mistral-7b-OpenOrca`, convert.py would set general.name to `dl`. Now it sets it to `Open-Orca_Mistral-7b-OpenOrca` like convert-hf-to-gguf.py would. Am I missing something? I don't understand if the previous behavior...

refactoring
review complexity : low
merging soon

At one point I was struggling to understand what the Metal kernel was doing with GPT-NeoX RoPE, and I think I got it wrong. I got halfway there - the...

#### Software versions Python 3.11.3 pytype 2023.12.08 #### Testcase ```python from dataclasses import dataclass class VocabLoader: def __init__(self): find_vocab_file_path() @dataclass class ModelPlus: vocab: VocabLoader def find_vocab_file_path(): pass ``` #### Description...

bug
cat: control flow

### Description Since commit 025eec194dffbbaca43d1b9327d8fc4bfbd059b3 ("Use SupportsIndex in some builtins."), `pytype --strict-import` fails on list literals. This is only visible if you manually inspect the .pyi stubs or run pytype-single...

bug
cat: stubs and 3p

### Description This simple example fails, even though it passes with `mypy --strict`. I am using pytype 2023.08.22. ### Example Code ```python from enum import IntEnum, auto class Foo(IntEnum): FOO:...

bug
cat: core

### Description When merging annotations for a tuple unpacked into class vars, merge-pyi incorrectly puts the annotations at global scope instead of class scope. ### Example Code **repr.py** ```python class...

bug
cat: tools

### Description merge-pyi adds duplicate annotations when a variable is assigned to more than once, which pytype can handle but mypy can't. ### Example Code **repr.py** ```python x = 1...

bug
cat: tools

### Description Importing certain stdlib modules, such as 'abc' or '_weakref', causes pytype to fail with an exception when using --protocols. It's only visible if you run pytype-single directly or...

bug
cat: stubs and 3p

### Description Calling len on a simple class causes pytype to fail with an exception when using --protocols. It's only visible if you run pytype-single directly or peek in the...

bug
cat: protocols