update scripts, preload tensordict's native extension to prevent Windows access violation during RSL-RL imports.
This commit is contained in:
@@ -14,6 +14,10 @@ import argparse
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
# Preload tensordict's native extension before isaacsim/Kit modules are imported
|
||||||
|
# to avoid a Windows access violation when RSL-RL imports it later.
|
||||||
|
import tensordict # noqa: F401
|
||||||
|
|
||||||
from isaaclab.app import AppLauncher
|
from isaaclab.app import AppLauncher
|
||||||
|
|
||||||
# local imports
|
# local imports
|
||||||
|
|||||||
@@ -14,6 +14,10 @@ import argparse
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
# Preload tensordict's native extension before isaacsim/Kit modules are imported
|
||||||
|
# to avoid a Windows access violation when RSL-RL imports it later.
|
||||||
|
import tensordict # noqa: F401
|
||||||
|
|
||||||
from isaaclab.app import AppLauncher
|
from isaaclab.app import AppLauncher
|
||||||
|
|
||||||
# local imports
|
# local imports
|
||||||
|
|||||||
Reference in New Issue
Block a user