import React from 'react' import { openExternalUrl } from '@janhq/core' import { ModalClose, ModalFooter, ModalContent, Modal, ModalTitle, ModalHeader, Button, } from '@janhq/uikit' import { useAtom } from 'jotai' import { isShowNotificationAtom, useSettings } from '@/hooks/useSettings' const GPUDriverPrompt: React.FC = () => { const [showNotification, setShowNotification] = useAtom( isShowNotificationAtom ) const { saveSettings } = useSettings() const onDoNotShowAgainChange = (e: React.ChangeEvent) => { const isChecked = !e.target.checked saveSettings({ notify: isChecked }) } const openChanged = () => { setShowNotification(false) } return (
Missing Nvidia Driver and Cuda Toolkit

It seems like you are missing Nvidia Driver or Cuda Toolkit or both. Please follow the instructions on the{' '} openExternalUrl('https://developer.nvidia.com/cuda-toolkit') } > NVidia Cuda Toolkit Installation Page {' '} and the{' '} openExternalUrl('https://www.nvidia.com/Download/index.aspx') } > Nvidia Driver Installation Page .

Don't show again
) } export default GPUDriverPrompt