René's URL Explorer Experiment


Title: python3 convert-hf-to-ggml.py bigcode/starcoderplus is failing with error: RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory · Issue #29 · bigcode-project/starcoder.cpp · GitHub

Open Graph Title: python3 convert-hf-to-ggml.py bigcode/starcoderplus is failing with error: RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory · Issue #29 · bigcode-project/starcoder.cpp

X Title: python3 convert-hf-to-ggml.py bigcode/starcoderplus is failing with error: RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory · Issue #29 · bigcode-project/starcoder.cpp

Description: python3 convert-hf-to-ggml.py bigcode/starcoderplus is failing with error: RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory % python3 convert-hf-to-ggml.py models/starcoderplus Loading model:...

Open Graph Description: python3 convert-hf-to-ggml.py bigcode/starcoderplus is failing with error: RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory % python3 convert-hf-to-ggm...

X Description: python3 convert-hf-to-ggml.py bigcode/starcoderplus is failing with error: RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory % python3 convert-hf-to-ggm...

Opengraph URL: https://github.com/bigcode-project/starcoder.cpp/issues/29

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"python3 convert-hf-to-ggml.py bigcode/starcoderplus is failing with error: RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory","articleBody":"python3 convert-hf-to-ggml.py bigcode/starcoderplus \r\n\r\nis failing with error: RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory\r\n\r\n```\r\n% python3 convert-hf-to-ggml.py models/starcoderplus\r\nLoading model:  models/starcoderplus\r\nLoading checkpoint shards:  29%|█████████████████████████████████████▍                                                                                             | 2/7 [00:45\u003c01:54, 22.80s/it]\r\nTraceback (most recent call last):\r\n  File \"/starcoder.cpp/venv/lib/python3.11/site-packages/transformers/modeling_utils.py\", line 460, in load_state_dict\r\n    return torch.load(checkpoint_file, map_location=\"cpu\")\r\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/starcoder.cpp/venv/lib/python3.11/site-packages/torch/serialization.py\", line 797, in load\r\n    with _open_zipfile_reader(opened_file) as opened_zipfile:\r\n         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/starcoder.cpp/venv/lib/python3.11/site-packages/torch/serialization.py\", line 283, in __init__\r\n    super().__init__(torch._C.PyTorchFileReader(name_or_buffer))\r\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nRuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/starcoder.cpp/venv/lib/python3.11/site-packages/transformers/modeling_utils.py\", line 464, in load_state_dict\r\n    if f.read(7) == \"version\":\r\n       ^^^^^^^^^\r\n  File \"\u003cfrozen codecs\u003e\", line 322, in decode\r\nUnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 128: invalid start byte\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/starcoder.cpp/convert-hf-to-ggml.py\", line 58, in \u003cmodule\u003e\r\n    model = AutoModelForCausalLM.from_pretrained(model_name, config=config, torch_dtype=torch.float16 if use_f16 else torch.float32, low_cpu_mem_usage=True, trust_remote_code=True, offload_state_dict=True)\r\n            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/starcoder.cpp/venv/lib/python3.11/site-packages/transformers/models/auto/auto_factory.py\", line 493, in from_pretrained\r\n    return model_class.from_pretrained(\r\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/starcoder.cpp/venv/lib/python3.11/site-packages/transformers/modeling_utils.py\", line 2903, in from_pretrained\r\n    ) = cls._load_pretrained_model(\r\n        ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/starcoder.cpp/venv/lib/python3.11/site-packages/transformers/modeling_utils.py\", line 3246, in _load_pretrained_model\r\n    state_dict = load_state_dict(shard_file)\r\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/starcoder.cpp/venv/lib/python3.11/site-packages/transformers/modeling_utils.py\", line 476, in load_state_dict\r\n    raise OSError(\r\nOSError: Unable to load weights from pytorch checkpoint file for 'models/starcoderplus/pytorch_model-00003-of-00007.bin' at 'models/starcoderplus/pytorch_model-00003-of-00007.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.\r\n```\r\n\r\nInstalled python packages:\r\n\r\n```\r\n% pip3 list                                         \r\nPackage            Version\r\n------------------ ---------\r\naccelerate         0.21.0\r\ncertifi            2023.7.22\r\ncharset-normalizer 3.2.0\r\nfilelock           3.12.2\r\nfsspec             2023.6.0\r\nhuggingface        0.0.1\r\nhuggingface-hub    0.16.4\r\nidna               3.4\r\nJinja2             3.1.2\r\nMarkupSafe         2.1.3\r\nmpmath             1.3.0\r\nnetworkx           3.1\r\nnumpy              1.25.1\r\npackaging          23.1\r\npip                23.0.1\r\npsutil             5.9.5\r\nPyYAML             6.0.1\r\nregex              2023.6.3\r\nrequests           2.31.0\r\nsafetensors        0.3.1\r\nsetuptools         67.6.1\r\nstarcoder          0.0.2\r\nsympy              1.12\r\ntokenizers         0.13.3\r\ntorch              2.0.1\r\ntqdm               4.65.0\r\ntransformers       4.31.0\r\ntyping_extensions  4.7.1\r\nurllib3            2.0.4\r\n```\r\n\r\n","author":{"url":"https://github.com/antonakv","@type":"Person","name":"antonakv"},"datePublished":"2023-07-24T10:05:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/29/starcoder.cpp/issues/29"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1b6c1059-fddc-f1bb-0d84-3a599f47f628
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBD82:36D01B:3913FA:500660:6970A6E4
html-safe-nonce56a64a4e2497975e059d6b0821b9d7899f9018137b65e52a0b4cddf477242b60
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDgyOjM2RDAxQjozOTEzRkE6NTAwNjYwOjY5NzBBNkU0IiwidmlzaXRvcl9pZCI6IjM0MjEzNzU5OTYzNDkxNjMyMzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacea2a413cfafebd7ec850b6109769b98d7fbe909657c223eac659775db18cdfec
hovercard-subject-tagissue:1818083997
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/bigcode-project/starcoder.cpp/29/issue_layout
twitter:imagehttps://opengraph.githubassets.com/26981189f6f94730448e5327be025b74b48ac5ef8f8b4a2e1c2eb24a87bcebed/bigcode-project/starcoder.cpp/issues/29
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/26981189f6f94730448e5327be025b74b48ac5ef8f8b4a2e1c2eb24a87bcebed/bigcode-project/starcoder.cpp/issues/29
og:image:altpython3 convert-hf-to-ggml.py bigcode/starcoderplus is failing with error: RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory % python3 convert-hf-to-ggm...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameantonakv
hostnamegithub.com
expected-hostnamegithub.com
Noneb06a4c45c45fd0bb038b3759265ea6e38211f45d18130bc65261990be6b5972a
turbo-cache-controlno-preview
go-importgithub.com/bigcode-project/starcoder.cpp git https://github.com/bigcode-project/starcoder.cpp.git
octolytics-dimension-user_id110470554
octolytics-dimension-user_loginbigcode-project
octolytics-dimension-repository_id640843237
octolytics-dimension-repository_nwobigcode-project/starcoder.cpp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id640843237
octolytics-dimension-repository_network_root_nwobigcode-project/starcoder.cpp
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0e1c4964831785bd64cb22d82e7cf2391ae01f45
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp/issues/29#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbigcode-project%2Fstarcoder.cpp%2Fissues%2F29
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbigcode-project%2Fstarcoder.cpp%2Fissues%2F29
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=bigcode-project%2Fstarcoder.cpp
Reloadhttps://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp/issues/29
Reloadhttps://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp/issues/29
Reloadhttps://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp/issues/29
bigcode-project https://patch-diff.githubusercontent.com/bigcode-project
starcoder.cpphttps://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fbigcode-project%2Fstarcoder.cpp
Fork 37 https://patch-diff.githubusercontent.com/login?return_to=%2Fbigcode-project%2Fstarcoder.cpp
Star 459 https://patch-diff.githubusercontent.com/login?return_to=%2Fbigcode-project%2Fstarcoder.cpp
Code https://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp
Issues 16 https://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp/issues
Pull requests 1 https://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp/pulls
Actions https://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp/actions
Projects 0 https://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp/security
Please reload this pagehttps://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp/issues/29
Insights https://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp/pulse
Code https://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp
Issues https://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp/issues
Pull requests https://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp/pulls
Actions https://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp/actions
Projects https://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp/projects
Security https://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp/security
Insights https://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/bigcode-project/starcoder.cpp/issues/29
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/bigcode-project/starcoder.cpp/issues/29
python3 convert-hf-to-ggml.py bigcode/starcoderplus is failing with error: RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directoryhttps://patch-diff.githubusercontent.com/bigcode-project/starcoder.cpp/issues/29#top
https://github.com/antonakv
https://github.com/antonakv
antonakvhttps://github.com/antonakv
on Jul 24, 2023https://github.com/bigcode-project/starcoder.cpp/issues/29#issue-1818083997
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.