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

PSO+interface refactoring. #39

Merged
merged 27 commits into from
Feb 14, 2024
Merged

PSO+interface refactoring. #39

merged 27 commits into from
Feb 14, 2024

Conversation

aminevdam
Copy link
Contributor

Interface refactoring + PSO optimization.

@aminevdam aminevdam requested a review from SuperSashka January 22, 2024 21:30
Union[None, dict, torch.Tensor]: best model with optimizator state.
"""

files = glob.glob(CacheUtils().cache_dir + '\*.tar')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Здесь пусть берётся из CacheUtils().cache_dir, но в классе Cache при инициализации есть параметр cache_dir. Сейчас нельзя прокинуть кастомный путь сюда. Хочу в этом же PR реализовать, чтобы кэш записывался в %TMPDIR%\tedeous_cache .

Подумайте, плез, как это исправить.

@SuperSashka SuperSashka mentioned this pull request Feb 14, 2024
@SuperSashka SuperSashka self-requested a review February 14, 2024 13:14
Copy link
Member

@SuperSashka SuperSashka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that we have done a good work with more to be done in future. As for now, we are good to go to main.

Main features:

-callbacks archtecture revamp - many user interface and backend changes for better understanding of the process
-yet more better than ever cache
-more optimizers

@aminevdam aminevdam merged commit 428d32b into ITMO-NSS-team:main Feb 14, 2024
1 check failed
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

Successfully merging this pull request may close these issues.

3 participants