Hi All, I am a student and just started learning f...
# flyte-support
f
Hi All, I am a student and just started learning flyte and union platform. I am facing the below issue while running ' !union run --remote --project flytesnacks --domain development bert-fine-tune.py bert_ft --repo_name mrafiuw/llm-repo' FlyteEntityNotExistException: USEREntityNotExist error=None, cause=<_InactiveRpcError of RPC that terminated with: status = StatusCode.NOT_FOUND details = "resource [project: 'default', domain: 'development', org: 'mahammadrafi06'] wasn't found, please ensure your project is already registered" debug_error_string = "UNKNOWN:Error received from peer ipv413.58.199.160443 {grpc_message:"resource *[project: \'default\', domain: \'development\', org: \'mahammadrafi06\']* wasn\'t found, please ensure your project is already registered", grpc_status:*5*, created_time:"2024-10-02T001632.060807977+00:00"*}*". Need your help to resolve it @powerful-horse-58724
f
@fast-daybreak-75015 can you use —project flytesnacks?
Cc @high-park-82026 is default not available
f
I can see only two projects on my Dashboard 1. flytensacks 2.system and the 'default' project is missing, I think that's the reason for this error. I tried to set env var with below lines...still facing the same issue. import os os.environ['FLYTE_DEFAULT_PROJECT']='flytesnacks' os.environ['FLYTE_DEFAULT_DOMAIN']='development' # os.environ['UNION_PROJECT'] = 'flytesnacks' # os.environ['UNION_DOMAIN'] = 'development'
f
Hi, you meant you used
--project flytesnacks
but got this error
resource [project: 'default', domain: 'development', org: 'mahammadrafi06'
?
f
yes, I had to add --project as default is not available under my projects on my dashboard
c
There was change to deprecate the default project and going forward all users donot get the default project. If i am not mistaken if you are using this repo https://github.com/unionai-oss/fine-tune-bert-sentiment-classifier?tab=readme-ov-file it points to static unionai version https://github.com/unionai-oss/fine-tune-bert-sentiment-classifier/blob/main/bert-fine-tune.ipynb Can you use the latest in that command v0.1.82 cc : @User
f
I am unable to access the URL, 404.
c
Which instructions are you following to run that example, Could you provide a link to that
p
@acceptable-policeman-57188 I updated the repo to handle the latest version of Union. @fast-daybreak-75015 You can try running this, and I think it should run in your Flytesnacks project folder. But please let us know if you were using a different tutorial or if you run into another issue! https://github.com/unionai-oss/fine-tune-bert-sentiment-classifier/blob/main/bert-fine-tune.ipynb