Skip to content

Conversation

DavidBaldsiefen
Copy link
Contributor

@DavidBaldsiefen DavidBaldsiefen commented Mar 7, 2022

Closes #6878

To ensure compatibility with existing scripts etc., workspace sizes < 100MB are automatically adjusted to GB

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Improved TensorRT memory workspace configuration for model export in Ultralytics YOLOv5.

📊 Key Changes

  • The default TensorRT workspace size has been changed from 4GB to 4096MB.
  • Added a check that adjusts the workspace size if a very small value (less than 100MB) is detected.

🎯 Purpose & Impact

  • Ensures more flexibility and precision in setting the memory workspace for TensorRT exports.
  • Prevents potential issues with configurations that set the workspace size too low, by automatically adjusting it.
  • The impact on users includes smoother TensorRT integration and potentially better performance during model export.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 7, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions YOLOv5 🚀 and Vision AI ⭐.

@github-actions github-actions bot added the Stale Stale and schedule for closing soon label Apr 7, 2022
@github-actions github-actions bot closed this Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stale Stale and schedule for closing soon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change export.py workspace argument to MB instead of GB

2 participants