-
Notifications
You must be signed in to change notification settings - Fork 835
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
Show downloaded models, improve error handling #456
Open
cadenmackenzie
wants to merge
36
commits into
exo-explore:main
Choose a base branch
from
cadenmackenzie:downloadedModelsV2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+273
−101
Open
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
c7dd312
adding logic to check which models are downloaded
cadenmackenzie de09e2a
reusing helper function to get cached directory
cadenmackenzie 7d7bdd8
removing uneccesary console logs and fixing order of variables in ind…
cadenmackenzie fb32a85
removing error separtation so I can put in different PR
cadenmackenzie 59f5b6d
adding back in set error message
cadenmackenzie 25d67f5
cleaning up logging in index.js
cadenmackenzie 95ce665
removing unneccesary css
cadenmackenzie 3eb726c
removing sorting of models by name
cadenmackenzie cbeb1b3
fix safari issue
dtnewman 372d873
Merge pull request #1 from dtnewman/dn/downloadModelsV2
cadenmackenzie d9aabd7
working versions
cadenmackenzie dfcf513
removing is_model_downloaded method and changing how downloaded varia…
cadenmackenzie 972074e
reducing redundent checks
cadenmackenzie dd38924
removing checking of percentage for models that are not found locally
cadenmackenzie bd2985a
Merge pull request #2 from cadenmackenzie/downloadedModelsV2Revisions
cadenmackenzie 649157d
creating HFShardDownloader with quick_check true so it doesnt start d…
cadenmackenzie c923ef6
modifying how its being displayed becuase now calculating overall per…
cadenmackenzie c61f40c
adding helper funciton to check file download. also modifying downloa…
cadenmackenzie dec79ac
modify get_shard_download_status to use helper function
cadenmackenzie 4c6fda7
modifying helper fucntion checking size to follow redirect for .safet…
cadenmackenzie 3ac8687
adding redirect for all requests
cadenmackenzie 3256051
comment
cadenmackenzie db610f5
removing traceback
cadenmackenzie 6a7de04
removing path update
cadenmackenzie fad0591
Merge pull request #4 from cadenmackenzie/hf_helperRefactor
cadenmackenzie b77362b
moving os import
cadenmackenzie 695ab34
removing import get_hf_home
cadenmackenzie 8135437
fixing formatting
cadenmackenzie 91276cc
fixing formatting
cadenmackenzie 8ee6cc3
yapf formatting
cadenmackenzie 0d50167
yapf in download_file
cadenmackenzie 2cdd55d
Merge branch 'main' into downloadedModelsV2
cadenmackenzie 1ca11ea
defining optional
cadenmackenzie 7a8c722
Merge pull request #5 from cadenmackenzie/main
cadenmackenzie 7e6c69f
remvoing console log
cadenmackenzie 39139c1
fixiing required engines definition
cadenmackenzie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally there seems to be a lot of duplication between this and other functions. I think a refactor should be done here.