Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug can't download model #14

Closed
buithehien1991 opened this issue Dec 27, 2024 · 4 comments
Closed

Bug can't download model #14

buithehien1991 opened this issue Dec 27, 2024 · 4 comments

Comments

@buithehien1991
Copy link

Dear @ankane

When I try run first command, error happen:

image

When I debug, width = 0.

My env is Mac OS Sonoma. Ruby 3.3. Rails 7.2

@buithehien1991
Copy link
Author

When I replace by Transformer.rb. New error happen

NameError: undefined local variable or method `e' for module Transformers::HfHub
from /Users/hienbt/.rvm/gems/ruby-3.3.0/gems/transformers-rb-0.1.5/lib/transformers/hf_hub/utils/_errors.rb:89:in `rescue in hf_raise_for_status'
Caused by Net::HTTPClientException: 416 "Range Not Satisfiable"
from /Users/hienbt/.rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/net/http/response.rb:277:in `error!'

@ankane ankane closed this as completed in 8863891 Dec 27, 2024
@ankane
Copy link
Owner

ankane commented Dec 27, 2024

Hi @buithehien1991, thanks for reporting! Pushed a fix for Informers in the commit above.

@ankane
Copy link
Owner

ankane commented Dec 27, 2024

Fixed the Transformers error in ankane/transformers-ruby@333bd87.

@buithehien1991
Copy link
Author

@ankane I tested and it worked perfectly. Please create new tag version. Thank you so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants