Skip to content

which version of transformers do you use ? #3

@WangTuoxytt

Description

@WangTuoxytt

I'm running the script/bench_throughput.sh in the e2e branch, while the error occured:

'''
Traceback (most recent call last):
File "BitDecoding/evaluation/bench_throughput.py", line 7, in
from llama import LlamaForCausalLM
File "BitDecoding/evaluation/llama.py", line 43, in
from transformers.utils import (
ImportError: cannot import name 'LossKwargs' from 'transformers.utils' (/usr/local/lib/python3.10/dist-packages/transformers/utils/init.py)
'''

so, which version of transformers do you use ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions