PKU-Alignment / omnisafe

JMLR: OmniSafe is an infrastructural framework for accelerating SafeRL research.
https://www.omnisafe.ai
Apache License 2.0
939 stars 132 forks source link

fix: fix cuda initialization error in experiment grid #315

Closed Gaiejj closed 7 months ago

Gaiejj commented 7 months ago

Description

Modify the multi-process context to default fork to spawn.

Motivation and Context

close #314

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

Checklist

Go over all the following points, and put an x in all the boxes that apply. If you are unsure about any of these, don't hesitate to ask. We are here to help!

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.57%. Comparing base (efe7d9c) to head (a88325e).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #315 +/- ## ========================================== + Coverage 96.56% 96.57% +0.01% ========================================== Files 139 139 Lines 7089 7090 +1 ========================================== + Hits 6845 6847 +2 + Misses 244 243 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.