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

Error while downloading notebooks using (certain?) models #549

Closed
sam-pf opened this issue Feb 20, 2024 · 4 comments
Closed

Error while downloading notebooks using (certain?) models #549

sam-pf opened this issue Feb 20, 2024 · 4 comments

Comments

@sam-pf
Copy link

sam-pf commented Feb 20, 2024

For notebooks that use (any?) models, kaggle cli is seen to fail as the first two commands below show. In contrast the third command (which is for a notebook that does not use any model) succeeds.

# error
$ kaggle k pull ashishkumarak/mixtral-moe-8x7b-instruct-inference-t4-2-gpu 
500 - Internal Server Error - Model URL /models/mistral-ai/mixtral/frameworks/PyTorch/variations/8x7b-instruct-v0.1-hf/versions/1 does not match regex

# error
$ kaggle k pull minhsienweng/create-ai-generated-essays-mistral-7b-gpu
500 - Internal Server Error - Model URL /models/mistral-ai/mistral/frameworks/PyTorch/variations/7b-instruct-v0.1-hf/versions/1 does not match regex

# success
$ kaggle k pull qamarmath/ensemble-model-prediction-with-comprehensive-explo 
Source code downloaded to /home/ubuntu/ensemble-model-prediction-with-comprehensive-explo.ipynb

version: kaggle 1.6.6 (according to pip)

@sam-pf sam-pf changed the title Strange error while downloading notebooks using certain models Error while downloading notebooks using (certain?) models Feb 20, 2024
@stevemessick
Copy link
Contributor

Thanks for the report. I've filed a bug in our internal tracking system: http://b/341800606

@stevemessick
Copy link
Contributor

This issue has been resolved.

@sam-pf
Copy link
Author

sam-pf commented Jun 28, 2024

Yeah, it seems to work now. Haven't used this for quite a while.

For the kaggle cli package that I keep updated through pip, now I get the following updated results.

$ kaggle --version
Kaggle API 1.6.14

# kernel that uses a model; used to fail; now succeeds
$ kaggle k pull ashishkumarak/mixtral-moe-8x7b-instruct-inference-t4-2-gpu
Source code downloaded to /home/ubuntu/mixtral-moe-8x7b-instruct-inference-t4-2-gpu.ipynb

# kernel that used to fail; does not exist any more..., oh well
$ kaggle k pull minhsienweng/create-ai-generated-essays-mistral-7b-gpu
404 - Not Found - Not found

# kernel that does not use a model; used to succeed; still succeeds
$ kaggle k pull qamarmath/ensemble-model-prediction-with-comprehensive-explo  
Source code downloaded to /home/ubuntu/ensemble-model-prediction-with-comprehensive-explo.ipynb

Thanks!

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

3 participants