Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

#651 Mini change in DeciClient use of SG version

Merged
Ghost merged 1 commits into Deci-AI:master from deci-ai:hotfix/SG-000-fix_sg_version
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      src/super_gradients/common/plugins/deci_client.py
@@ -50,13 +50,11 @@ class DeciClient:
         self.lab_client.login(token=env_variables.DECI_PLATFORM_TOKEN)
         self.lab_client.login(token=env_variables.DECI_PLATFORM_TOKEN)
 
 
         GlobalHydra.instance().clear()
         GlobalHydra.instance().clear()
-        self.super_gradients_version = None
-        self.super_gradients_version = super_gradients.__version__
 
 
     def _get_file(self, model_name: str, file_name: str) -> str:
     def _get_file(self, model_name: str, file_name: str) -> str:
         try:
         try:
             response = self.lab_client.get_autonac_model_file_link(
             response = self.lab_client.get_autonac_model_file_link(
-                model_name=model_name, file_name=file_name, super_gradients_version=self.super_gradients_version
+                model_name=model_name, file_name=file_name, super_gradients_version=super_gradients.__version__
             )
             )
             download_link = response.data
             download_link = response.data
         except ApiException as e:
         except ApiException as e:
Discard