dont add args when in jupyter context
@@ -1365,6 +1365,7 @@ class Settings:
if os.path.exists("/usr/local/cuda/version.txt"):
with open("/usr/local/cuda/version.txt") as f:
settings["_cuda"] = f.read().split(" ")[-1].strip()
+ if not self._jupyter:
settings["_args"] = sys.argv[1:]
settings["_os"] = platform.platform(aliased=True)
settings["_python"] = platform.python_version()
