To create a public link, setshare=Trueinlaunch(). /home/ubuntu/anaconda3/envs/flash/lib/python3.11/site-packages/gradio/analytics.py:106: UserWarning: IMPORTANT: You are using gradio version 4.42.0, however version 5.0.1 is available, please upgrade. warnings.warn( Reproduction llamafactory-cl...
例如我要解压到lf文件夹下,要先提前创建好。 tar -xzvf llamafactory.tar.gz -C lf 1. 然后再把这个lf文件夹放到minicnda/envs/路径下就好了 conda info -e 1. 然后就是正常使用了 conda activate lf 1.
1,查看真实路径 conda activate env 1. 输出: $ which python /home/metax/miniconda3/envs/cnn/bin/python 1. 2. 2,编辑 torchrun $ vim ~/.local/bin/torchrun #!/home/metax/miniconda3/envs/cnn/bin/python 这里修改为上述路径 # -*- coding: utf-8 -*- import re import sys from torch.di...