Skip to content

created a pip package#37

Open
kamalojasv181 wants to merge 1 commit intoNolanoOrg:masterfrom
kamalojasv181:master
Open

created a pip package#37
kamalojasv181 wants to merge 1 commit intoNolanoOrg:masterfrom
kamalojasv181:master

Conversation

@kamalojasv181
Copy link
Copy Markdown
Contributor

No description provided.

@tejasvaidhyadev
Copy link
Copy Markdown
Member

tejasvaidhyadev commented Apr 2, 2023

It seems I am still facing an issue with the execution of a subprocess in Python.
Using pip install cformers

  File "<stdin>", line 1, in <module>
  File "/Users/tejasvaidhya/miniconda3/lib/python3.9/site-packages/cformers/interface.py", line 218, in generate
    process = Popen(command, stdout=PIPE, stderr=PIPE)
  File "/Users/tejasvaidhya/miniconda3/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/Users/tejasvaidhya/miniconda3/lib/python3.9/subprocess.py", line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/Users/tejasvaidhya/miniconda3/lib/python3.9/site-packages/cformers/cpp/main'
>>> x = ai.generate("<|prompter|>What's the Earth total population<|endoftext|><|assistant|>", num_tokens_to_generate=100)z

Also getting similar error on windows

@mallorbc
Copy link
Copy Markdown
Contributor

mallorbc commented Apr 4, 2023

I was just about to create an issue to potentially help with this. Glad to see work on this is ongoing.

I will try this PR soon.

@tejasvaidhyadev whatever issue you are facing is dealing with the binary file that is used for running gmml models

@kamalojasv181
Copy link
Copy Markdown
Contributor Author

Hey @tejasvaidhyadev I cannot replicate this. I have tried to load models on my own machine (Ubuntu 20.04) and google colab and I am successfully able to load models. I do not have access to a windows machine. Perhaps could you state the exact command that you used to run the models? Thanks

@kamalojasv181
Copy link
Copy Markdown
Contributor Author

@tejasvaidhyadev I understand the issue. The Linux binary does not work in windows. Can you make and send the binary over to me? Thanks

@tejasvaidhyadev
Copy link
Copy Markdown
Member

sure, I will send binary for you. Give me sometime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants