Skip to content

fix: use specific exceptions instead of bare except#188

Open
haosenwang1018 wants to merge 1 commit intoOpenBMB:mainfrom
haosenwang1018:fix/bare-excepts
Open

fix: use specific exceptions instead of bare except#188
haosenwang1018 wants to merge 1 commit intoOpenBMB:mainfrom
haosenwang1018:fix/bare-excepts

Conversation

@haosenwang1018
Copy link

  • lora_ft_webui.py: except (json.JSONDecodeError, OSError): for LoRA config file parsing
  • voxcpm.py: except ImportError: for triton availability check

- lora_ft_webui.py: except (JSONDecodeError, OSError) for config file
- voxcpm.py: except ImportError for triton availability check
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.

1 participant